Home
last modified time | relevance | path

Searched refs:absProgress (Results 1 – 1 of 1) sorted by relevance

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/
H A DNotificationMainView.java242 float absProgress = Math.abs(progress); in onPrimaryDrag() local
248 if (absProgress < min) { in onPrimaryDrag()
252 } else if (absProgress < max) { in onPrimaryDrag()
272 final float absProgress = Math.abs(progress); in onSecondaryDrag() local
278 if (absProgress < min) { in onSecondaryDrag()
282 } else if (absProgress < max) { in onSecondaryDrag()
283 setAlpha(mapToRange(absProgress, min, max, 0, 1f, LINEAR)); in onSecondaryDrag()
288 setContentAlpha(absProgress > contentMax in onSecondaryDrag()
295 int crop = (int) (width * absProgress); in onSecondaryDrag()
296 int space = (int) (absProgress > PRIMARY_GONE_PROGRESS in onSecondaryDrag()
[all …]