/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationMainView.java | 19 import static com.android.launcher3.Utilities.mapToRange; 255 setContentAlpha(mapToRange(absProgress, min, max, 1f, 0f, LINEAR)); in onPrimaryDrag() 256 setElevation(Utilities.mapToRange(absProgress, min, max, mMaxElevation, 0, LINEAR)); in onPrimaryDrag() 258 setAlpha(mapToRange(absProgress, max, PRIMARY_GONE_PROGRESS, 1f, 0f, LINEAR)); in onPrimaryDrag() 284 setAlpha(mapToRange(absProgress, min, max, 0, 1f, LINEAR)); in onSecondaryDrag() 291 : mapToRange(absProgress, max, contentMax, 0, 1f, LINEAR)); in onSecondaryDrag() 292 setElevation(Utilities.mapToRange(absProgress, max, 1, 0, mMaxElevation, LINEAR)); in onSecondaryDrag() 298 ? mapToRange(absProgress, PRIMARY_GONE_PROGRESS, 1f, mNotificationSpace, 0, LINEAR) in onSecondaryDrag()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarBackgroundRenderer.kt | 27 import com.android.launcher3.Utilities.mapToRange 155 mapToRange(paint.alpha.toFloat(), 0f, 255f, 0f, shadowAlpha, Interpolators.LINEAR) in draw()
|
D | TaskbarStashViaTouchController.kt | 86 Utilities.mapToRange( in createSwipeListener()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 19 import static com.android.launcher3.Utilities.mapToRange; 135 float shapeRevealProgress = boundToRange(mapToRange(max(shapeProgressStart, progress), in update()
|
D | FloatingIconView.java | 22 import static com.android.launcher3.Utilities.mapToRange; 166 mFadeOutView.setAlpha(1 - Math.min(1f, mapToRange(progress, 0, 0.33f, 0, 1, LINEAR))); in update()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorPlaybackController.java | 179 return Utilities.mapToRange( in startWithVelocity()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | AllAppsEduView.java | 209 float stateProgress = Utilities.mapToRange(mDeltaY.value, 0, transY, 0, in playAnimation()
|
D | RecentsView.java | 32 import static com.android.launcher3.Utilities.mapToRange; 1858 mapToRange(fullscreenProgress, 0, 0.1f, 1f, 0f, LINEAR)); in setFullscreenProgress()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Utilities.java | 382 public static float mapToRange(float t, float fromMin, float fromMax, float toMin, float toMax, in mapToRange() method in Utilities 395 return mapToRange(boundToRange(t, lowerBound, upperBound), lowerBound, upperBound, in mapBoundToRange()
|
D | DeviceProfile.java | 380 bottomSheetDepth = Utilities.mapToRange(maxWallpaperScale * workspaceContentScale, in DeviceProfile()
|
D | Launcher.java | 3307 float scale = Utilities.mapToRange(progress, 0f, 1f, 1f,
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SwipeUpAnimationLogic.java | 220 return Utilities.mapToRange(progress, start, end, 1, 0, ACCEL_1_5); in getWindowAlpha()
|
D | AbsSwipeUpHandler.java | 2283 scaleProgress = Utilities.mapToRange(scrollOffset, 0, mQuickSwitchScaleScrollThreshold, 2286 scaleProgress = Utilities.mapToRange(scrollOffset, 2316 return Utilities.mapToRange(displacement, mTaskbarAppWindowThreshold,
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 739 getDepthController().widgetDepth.setValue(Utilities.mapToRange( in onWidgetsTransition()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
D | QuickstepTransitionManager.java | 2023 return Utilities.mapToRange(progress, start, end, 1, 0, ACCEL_1_5); in getWindowAlpha()
|