Searched refs:mapRange (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackLayoutAlgorithm.java | 510 mInitialScrollP = Utilities.mapRange(lastScrollPPercent, mMinScrollP, mMaxScrollP); in update() 935 (int) Utilities.mapRange(focusState, unfocusedY, focusedY); in getStackTransform() 936 z = Utilities.mapRange(Utilities.clamp01(boundedScrollUnfocusedNonOverrideRangeX), in getStackTransform() 938 dimAlpha = Utilities.mapRange(focusState, unfocusedDim, focusedDim); in getStackTransform() 939 viewOutlineAlpha = Utilities.mapRange(Utilities.clamp01(boundedScrollUnfocusedRangeX), in getStackTransform() 1220 float min = Utilities.mapRange(mFocusState, mUnfocusedRange.relativeMin, in updateFrontBackTransforms() 1222 float max = Utilities.mapRange(mFocusState, mUnfocusedRange.relativeMax, in updateFrontBackTransforms()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/view/ |
D | AnimateableViewBounds.java | 57 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); in getOutline()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 146 public static float mapRange(@FloatRange(from=0.0,to=1.0) float value, float min, float max) { in mapRange() method in Utilities
|