Home
last modified time | relevance | path

Searched refs:getInterpolation (Results 1 – 25 of 97) sorted by relevance

1234

/aosp14/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/util/
H A DTruncatedInterpolatorTest.kt36 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent))
37 .isEqualTo(originalInterpolator.getInterpolation(animationPercent))
40 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent))
41 .isEqualTo(originalInterpolator.getInterpolation(animationPercent * DURATION_RATIO))
44 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent))
45 .isEqualTo(originalInterpolator.getInterpolation(animationPercent * DURATION_RATIO))
/aosp14/frameworks/base/graphics/java/android/graphics/animation/
H A DFallbackLUTInterpolator.java58 values[i] = interpolator.getInterpolation(inValue); in createLUT()
77 public float getInterpolation(float input) { in getInterpolation() method in FallbackLUTInterpolator
78 return mSourceInterpolator.getInterpolation(input); in getInterpolation()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
H A DBackAnimationSpec.kt63 val ratioTranslateX = translateXEasing.getInterpolation(progressX)
64 val ratioTranslateY = translateYEasing.getInterpolation(progressY)
65 val ratioScale = scaleEasing.getInterpolation(progressX)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/
H A DKeyguardTransitionAnimationFlowTest.kt127 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0f))
129 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.5f))
131 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.6f))
133 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.8f))
135 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(1f))
/aosp14/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/util/
H A DTruncatedInterpolator.kt51 override fun getInterpolation(input: Float): Float {
52 return baseInterpolator.getInterpolation(input * scaleFactor)
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DFlingAnimationUtils.java370 public float getInterpolation(float input) { in getInterpolation() method in FlingAnimationUtils.InterpolatorInterpolator
371 float t = mCrossfader.getInterpolation(input); in getInterpolation()
372 return (1 - t) * mInterpolator1.getInterpolation(input) in getInterpolation()
373 + t * mInterpolator2.getInterpolation(input); in getInterpolation()
393 public float getInterpolation(float input) { in getInterpolation() method in FlingAnimationUtils.VelocityInterpolator
405 return mInterpolator::getInterpolation; in getInterpolator()
/aosp14/frameworks/base/core/java/android/animation/
H A DFloatKeyframeSet.java66 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
82 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
101 intervalFraction = interpolator.getInterpolation(intervalFraction); in getFloatValue()
H A DIntKeyframeSet.java66 fraction = interpolator.getInterpolation(fraction); in getIntValue()
82 fraction = interpolator.getInterpolation(fraction); in getIntValue()
100 intervalFraction = interpolator.getInterpolation(intervalFraction); in getIntValue()
H A DKeyframeSet.java200 fraction = mInterpolator.getInterpolation(fraction); in getValue()
209 fraction = interpolator.getInterpolation(fraction); in getValue()
220 fraction = interpolator.getInterpolation(fraction); in getValue()
238 intervalFraction = interpolator.getInterpolation(intervalFraction); in getValue()
H A DTimeInterpolator.java37 float getInterpolation(float input); in getInterpolation() method
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DSystemUIInterpolators.java45 public float getInterpolation(float t) { in getInterpolation() method in SystemUIInterpolators.LogDecelerateInterpolator
70 public float getInterpolation(float t) { in getInterpolation() method in SystemUIInterpolators.LogAccelerateInterpolator
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
H A DBackPanelController.kt558 params.verticalTranslationInterpolator.getInterpolation(yProgress) *
588 params.horizontalTranslationInterpolator.getInterpolation(progress),
589 arrowStretchAmount = params.arrowAngleInterpolator.getInterpolation(progress),
591 params.activeWidthInterpolator.getInterpolation(progress),
604 arrowStretchAmount = params.arrowAngleInterpolator.getInterpolation(progress),
610 edgeCornerStretchAmount = params.edgeCornerInterpolator.getInterpolation(progress),
611 farCornerStretchAmount = params.farCornerInterpolator.getInterpolation(progress),
631 return interpolator.getInterpolation(progress).coerceAtLeast(0f)
637 arrowStretchAmount = params.arrowAngleInterpolator.getInterpolation(progress),
644 edgeCornerStretchAmount = params.edgeCornerInterpolator.getInterpolation(progress),
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewTransition.kt124 (positionInterpolator.getInterpolation(animation.animatedFraction) *
144 opacity = fadeOutInterpolator.getInterpolation(fadeOutFraction)
175 opacity = fadeInInterpolator.getInterpolation(fadeInFraction)
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DLaunchAnimator.kt324 val progress = interpolators.positionInterpolator.getInterpolation(linearProgress)
325 val xProgress = interpolators.positionXInterpolator.getInterpolation(linearProgress)
437 interpolators.contentBeforeFadeOutInterpolator.getInterpolation(fadeInProgress)
448 1 - interpolators.contentAfterFadeInInterpolator.getInterpolation(fadeOutProgress)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java271 float shadeExpansion = Interpolators.FAST_OUT_LINEAR_IN.getInterpolation(panelExpansion); in getClockY()
317 float shadeExpansion = Interpolators.FAST_OUT_LINEAR_IN.getInterpolation(panelExpansion); in getUserSwitcherY()
339 alphaKeyguard = Interpolators.ACCELERATE.getInterpolation(alphaKeyguard); in getClockAlpha()
H A DBounceInterpolator.java29 public float getInterpolation(float t) { in getInterpolation() method in BounceInterpolator
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DImageTransformState.java73 transformationAmount = Interpolators.LINEAR_OUT_SLOW_IN.getInterpolation( in appear()
92 transformationAmount = Interpolators.LINEAR_OUT_SLOW_IN.getInterpolation( in disappear()
H A DTransformState.java209 float interpolatedValue = mDefaultInterpolator.getInterpolation( in transformViewFrom()
217 interpolation = customInterpolator.getInterpolation(transformationAmount); in transformViewFrom()
230 interpolation = customInterpolator.getInterpolation(transformationAmount); in transformViewFrom()
363 float interpolatedValue = mDefaultInterpolator.getInterpolation( in transformViewTo()
381 interpolation = customInterpolator.getInterpolation(transformationAmount); in transformViewTo()
398 interpolation = customInterpolator.getInterpolation(transformationAmount); in transformViewTo()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashScreenExitAnimationUtils.java171 ICON_INTERPOLATOR.getInterpolation(getProgress( in createAnimator()
242 final float radiusProgress = MASK_RADIUS_INTERPOLATOR.getInterpolation(linearProgress); in onAnimationProgress()
243 final float alphaProgress = Interpolators.ALPHA_OUT.getInterpolation(linearProgress); in onAnimationProgress()
327 final float progress = SHIFT_UP_INTERPOLATOR.getInterpolation(linearProgress); in onAnimationProgress()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCrossFadeHelper.java88 float alpha = Interpolators.ALPHA_OUT.getInterpolation(1.0f - fadeOutAmount); in fadeOut()
156 float alpha = Interpolators.ALPHA_IN.getInterpolation(fadeInAmount); in fadeIn()
/aosp14/frameworks/base/core/java/android/view/animation/
H A DLinearInterpolator.java37 public float getInterpolation(float input) { in getInterpolation() method in LinearInterpolator
H A DAccelerateDecelerateInterpolator.java39 public float getInterpolation(float input) { in getInterpolation() method in AccelerateDecelerateInterpolator
H A DBounceInterpolator.java41 public float getInterpolation(float t) { in getInterpolation() method in BounceInterpolator
/aosp14/frameworks/base/core/java/com/android/internal/policy/
H A DLogDecelerateInterpolator.java40 public float getInterpolation(float t) { in getInterpolation() method in LogDecelerateInterpolator
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
H A DEasings.kt77 private fun fromInterpolator(source: Interpolator) = Easing { x -> source.getInterpolation(x) }

1234