Home
last modified time | relevance | path

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

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossTaskBackAnimation.java136 private static float mapRange(float value, float min, float max) { in mapRange() method in CrossTaskBackAnimation
178 float scale = mapRange(progress, 1, MIN_WINDOW_SCALE); in updateGestureBackProgress()
222 float left = mapRange(progress, mClosingStartRect.left, targetLeft);
223 float top = mapRange(progress, mClosingStartRect.top, targetTop);
224 float width = mapRange(progress, mClosingStartRect.width(), targetWidth);
225 float height = mapRange(progress, mClosingStartRect.height(), targetHeight);
235 float left = mapRange(progress, mEnteringStartRect.left, mStartTaskRect.left);
236 float top = mapRange(progress, mEnteringStartRect.top, mStartTaskRect.top);
237 float width = mapRange(progress, mEnteringStartRect.width(), mStartTaskRect.width());
238 float height = mapRange(progress, mEnteringStartRect.height(), mStartTaskRect.height());
/frameworks/libs/systemui/animationlib/src/com/android/app/animation/
DInterpolators.java391 private static float mapRange(float value, float min, float max) { in mapRange() method in Interpolators
402 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress()
DInterpolatorsAndroidX.java397 private static float mapRange(float value, float min, float max) { in mapRange() method in InterpolatorsAndroidX
408 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress()