/aosp12/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
H A D | NotificationMainView.java | 19 import static com.android.launcher3.Utilities.mapToRange; 254 setContentAlpha(mapToRange(absProgress, min, max, 1f, 0f, LINEAR)); in onPrimaryDrag() 255 setElevation(Utilities.mapToRange(absProgress, min, max, mMaxElevation, 0, LINEAR)); in onPrimaryDrag() 257 setAlpha(mapToRange(absProgress, max, PRIMARY_GONE_PROGRESS, 1f, 0f, LINEAR)); in onPrimaryDrag() 283 setAlpha(mapToRange(absProgress, min, max, 0, 1f, LINEAR)); in onSecondaryDrag() 290 : mapToRange(absProgress, max, contentMax, 0, 1f, LINEAR)); in onSecondaryDrag() 291 setElevation(Utilities.mapToRange(absProgress, max, 1, 0, mMaxElevation, LINEAR)); in onSecondaryDrag() 297 ? mapToRange(absProgress, PRIMARY_GONE_PROGRESS, 1f, mNotificationSpace, 0, LINEAR) in onSecondaryDrag()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/views/ |
H A D | ClipIconView.java | 19 import static com.android.launcher3.Utilities.mapToRange; 193 float shapeRevealProgress = boundToRange(mapToRange(max(shapeProgressStart, progress), in update()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
H A D | AnimatorPlaybackController.java | 179 return Utilities.mapToRange( in startWithVelocity()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
H A D | AllAppsEduView.java | 214 float stateProgress = Utilities.mapToRange(mDeltaY.value, 0, transY, 0, in playAnimation()
|
H A D | RecentsView.java | 31 import static com.android.launcher3.Utilities.mapToRange; 1577 mapToRange(fullscreenProgress, 0, 0.1f, 1f, 0f, LINEAR)); in setFullscreenProgress()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | SwipeUpAnimationLogic.java | 213 return Utilities.mapToRange(progress, start, end, 1, 0, ACCEL_1_5); in getWindowAlpha()
|
H A D | AbsSwipeUpHandler.java | 2018 scaleProgress = Utilities.mapToRange(scrollOffset, 0, mQuickSwitchScaleScrollThreshold, 2021 scaleProgress = Utilities.mapToRange(scrollOffset,
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Utilities.java | 410 public static float mapToRange(float t, float fromMin, float fromMax, float toMin, float toMax, in mapToRange() method in Utilities 423 return mapToRange(boundToRange(t, lowerBound, upperBound), lowerBound, upperBound, in mapBoundToRange()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
H A D | SwipePipToHomeAnimator.java | 164 : Utilities.mapToRange(Math.min(progress, 1f), 0.5f, 1f, in SwipePipToHomeAnimator()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
H A D | QuickstepTransitionManager.java | 1867 return Utilities.mapToRange(progress, start, end, 1, 0, ACCEL_1_5); in getWindowAlpha()
|