Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DAnimateableViewBounds.java56 outline.setAlpha(Utilities.mapRange(mAlpha, MIN_ALPHA, MAX_ALPHA)); in getOutline()
DTaskStackLayoutAlgorithm.java510 mInitialScrollP = Utilities.mapRange(lastScrollPPercent, mMinScrollP, mMaxScrollP); in update()
936 .mapRange(focusState, unfocusedY, focusedY); in getStackTransform()
937 z = Utilities.mapRange(Utilities.clamp01(boundedScrollUnfocusedNonOverrideRangeX), in getStackTransform()
940 .mapRange(focusState, unfocusedDim, focusedDim); in getStackTransform()
941 viewOutlineAlpha = Utilities.mapRange(Utilities.clamp01(boundedScrollUnfocusedRangeX), in getStackTransform()
1222 float min = Utilities.mapRange(mFocusState, mUnfocusedRange.relativeMin, in updateFrontBackTransforms()
1224 float max = Utilities.mapRange(mFocusState, mUnfocusedRange.relativeMax, in updateFrontBackTransforms()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/
DUtilities.java140 public static float mapRange(@FloatRange(from=0.0,to=1.0) float value, float min, float max) { in mapRange() method in Utilities