Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarAnimationController.java135 scale = Utilities.mapRange(mTaskbarBackgroundAlpha.value, scale, 1f); in updateScale()
144 translationY = Utilities.mapRange(mTaskbarBackgroundAlpha.value, translationY, 0f); in updateTranslationY()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DRectFSpringAnim.java233 float currentWidth = Utilities.mapRange(mCurrentScaleProgress, mStartRect.width(), in onUpdate()
235 float currentHeight = Utilities.mapRange(mCurrentScaleProgress, mStartRect.height(), in onUpdate()
DRectFSpringAnim2.java316 float currentWidth = Utilities.mapRange(rectProgress, mStartRect.width(), in onUpdate()
318 float currentHeight = Utilities.mapRange(rectProgress, mStartRect.height(), in onUpdate()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java59 Utilities.mapRange(progress, mInitialTranslation, mTerminalTranslation)); in onProgress()
DInterpolators.java179 return t -> Utilities.mapRange(interpolator.getInterpolation(t), lowerBound, upperBound);
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.java989 scale *= Utilities.mapRange(fullScreenProgress, 1f, mFullscreenScale); in applyScale()
1427 return Utilities.mapRange(progress, 0, endTranslation); in getFullscreenTrans()
1436 return Utilities.mapRange(progress, 0, endTranslation); in getGridTrans()
1518 Utilities.mapRange(fullscreenProgress, mCornerRadius, fullscreenCornerRadius) in setProgress()
DOverviewActionsView.java249 return Utilities.mapRange(progress, 0, endTranslation); in getModalTrans()
DRecentsView.java3622 overScrollShift = (int) Utilities.mapRange(mAdjacentPageHorizontalOffset, in getScrollOffset()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java398 return mapRange(interpolator.getInterpolation(progress), toMin, toMax); in mapToRange()
412 public static float mapRange(float value, float min, float max) { in mapRange() method in Utilities
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java294 float cornerRadius = Utilities.mapRange(progress, mStartRadius, mEndRadius); in onUpdate()
DFallbackSwipeHandler.java124 float scale = Utilities.mapRange(verticalShift, 1, mMaxLauncherScale); in setHomeScaleAndAlpha()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java272 yProgress = Utilities.mapRange(yProgress, Y_ANIM_MIN_PROGRESS, 1f); in onDrag()