Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DShadeInterpolation.kt13 val mappedFraction = MathUtils.constrainedMap(0f, 1f, 0f, 0.5f, fraction) regex
14 return interpolateEaseInOut(mappedFraction)
23 val mappedFraction = MathUtils.constrainedMap(0f, 1f, 0.3f, 1f, fraction) regex
24 return interpolateEaseInOut(mappedFraction)
28 val mappedFraction = fraction * 1.2f - 0.2f regex
29 return if (mappedFraction <= 0) {
32 val oneMinusFrac = 1f - mappedFraction