Searched refs:mapBoundToRange (Results 1 – 4 of 4) sorted by relevance
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/ |
H A D | AllSetActivity.java | 18 import static com.android.launcher3.Utilities.mapBoundToRange; 230 float alpha = Utilities.mapBoundToRange(mSwipeProgress.value, 0, HINT_BOTTOM_FACTOR, in onSwipeProgressUpdate() 302 float progress = mapBoundToRange(mProgress, in draw() 317 mColorMatrix.getArray()[19] = mapBoundToRange(mProgress, 0, 1, 0, -255, LINEAR); in draw()
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
H A D | LauncherSwipeHandlerV2.java | 22 import static com.android.launcher3.Utilities.mapBoundToRange; 206 1 - mapBoundToRange(progress, 0.8f, 1, 0, 1, EXAGGERATED_EASE); 208 mapBoundToRange(progress, 0.5f, 1, 0, 1, EXAGGERATED_EASE); 215 return 1 - mapBoundToRange(progress, 0, 0.5f, 0, 1, LINEAR);
|
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/launcher3/ |
H A D | QuickstepTransitionManager.java | 31 import static com.android.launcher3.Utilities.mapBoundToRange; 1372 1 - mapBoundToRange(progress, 0.8f, 1, 0, 1, EXAGGERATED_EASE); in getClosingWindowAnimators() 1374 mapBoundToRange(progress, 0.5f, 1, 0, 1, EXAGGERATED_EASE); in getClosingWindowAnimators()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Utilities.java | 421 public static float mapBoundToRange(float t, float lowerBound, float upperBound, in mapBoundToRange() method in Utilities
|