Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarBackgroundRenderer.kt28 import com.android.launcher3.Utilities.mapRange
188 mapRange( in drawTransientBackground()
195 mapRange(scale, 0f, res.getDimension(R.dimen.transient_taskbar_shadow_blur)) in drawTransientBackground()
197 mapRange(scale, 0f, res.getDimension(R.dimen.transient_taskbar_key_shadow_distance)) in drawTransientBackground()
210 mapRange(progress, backgroundHeightWhileAnimating, maxTransientTaskbarHeight) in drawTransientBackground()
216 val newWidth = mapRange(progress, backgroundWidthWhileAnimating, fullWidth.toFloat()) in drawTransientBackground()
227 -mapRange( in drawTransientBackground()
DTaskbarViewController.java25 import static com.android.launcher3.Utilities.mapRange;
317 finalScale = mapRange(scale, 1f, ((float) mPersistentIconSize / mTransientIconSize)); in updateTaskbarIconsScale()
319 finalScale = mapRange(scale, ((float) mTransientIconSize / mPersistentIconSize), 1f); in updateTaskbarIconsScale()
347 float allAppIconTranslateRange = mapRange(scale, transientTaskbarAllAppsOffset, in updateTaskbarIconTranslationXForPinning()
368 float finalMarginScale = mapRange(scale, 0f, mTransientIconSize - mPersistentIconSize); in updateTaskbarIconTranslationXForPinning()
455 taskbarIconTranslationYForPinningValue = mapRange(scale, 0f, transY); in getTaskbarIconTranslationYForPinningValue()
462 taskbarIconTranslationYForPinningValue = mapRange(scale, transY, 0f); in getTaskbarIconTranslationYForPinningValue()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DAllSetActivity.java24 import static com.android.launcher3.Utilities.mapRange;
428 float radius = size * mapRange(progress, START_SIZE_FACTOR, END_SIZE_FACTOR); in draw()
429 float y = mapRange(progress, height + radius , height / 2); in draw()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DMultiValueUpdateListener.java40 prop.value = Utilities.mapRange(interpolatedPercent, prop.mStart, prop.mEnd); in onAnimationUpdate()
DRectFSpringAnim.java422 float currentWidth = Utilities.mapRange(mCurrentScaleProgress, mStartRect.width(), in onUpdate()
424 float currentHeight = Utilities.mapRange(mCurrentScaleProgress, mStartRect.height(), in onUpdate()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherBackAnimationController.java368 float width = Utilities.mapRange(progress, 1, MIN_WINDOW_SCALE) * screenWidth; in updateBackProgress()
388 float cornerRadius = Utilities.mapRange( in updateBackProgress()
443 float cornerRadius = Utilities.mapRange( in startTransition()
DFallbackSwipeHandler.java136 float scale = Utilities.mapRange(verticalShift, 1, mMaxLauncherScale); in setHomeScaleAndAlpha()
DSwipeUpAnimationLogic.java449 float cornerRadius = Utilities.mapRange(progress, mStartRadius, mEndRadius); in onUpdate()
/packages/apps/Launcher3/src/com/android/launcher3/anim/
DKeyboardInsetAnimationCallback.java99 Utilities.mapRange(progress, mInitialTranslation, mTerminalTranslation)); in onProgress()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java25 import static com.android.launcher3.Utilities.mapRange;
364 TypeEvaluator<Float> evaluator = (f, s, e) -> mapRange(f, s, e) in animateView()
DDragView.java178 setScaleX(Utilities.mapRange(value, initialScale, mEndScale)); in DragView()
179 setScaleY(Utilities.mapRange(value, initialScale, mEndScale)); in DragView()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/task/thumbnail/
DTaskThumbnailView.kt139 Utilities.mapRange( in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskView.kt188 get() = Utilities.mapRange(gridProgress, nonGridScale, 1f) in <lambda>()
1552 Utilities.mapRange(gridProgress, 0f, endTranslation) in <lambda>()
1599 Utilities.mapRange(fullscreenProgress, cornerRadius, windowCornerRadius) / in <lambda>()
DFloatingTaskView.java450 Utilities.mapRange(progress, mCornerRadius, mWindowCornerRadius); in updateParams()
DRecentsView.java5776 ? (int) Utilities.mapRange( in getUnclampedScrollOffset()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java399 return mapRange(interpolator.getInterpolation(progress), toMin, toMax); in mapToRange()
413 public static float mapRange(float value, float min, float max) { in mapRange() method in Utilities
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java298 yProgress = Utilities.mapRange(yProgress, Y_ANIM_MIN_PROGRESS, 1f); in onDrag()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DQuickstepTransitionManager.java2123 return Utilities.mapRange(progress, mStartRadius, mEndRadius); in getCornerRadius()