Home
last modified time | relevance | path

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

12345

/frameworks/libs/systemui/animationlib/tests/src/com/android/app/animation/
DInterpolatorResourcesTest.kt30 InterpolatorsAndroidX.EMPHASIZED.getInterpolation(progress), in testResourceInterpolatorsMatchCodeInterpolators()
31 loadInterpolator(R.interpolator.emphasized_interpolator).getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators()
34 InterpolatorsAndroidX.EMPHASIZED_ACCELERATE.getInterpolation(progress), in testResourceInterpolatorsMatchCodeInterpolators()
36 .getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators()
39 InterpolatorsAndroidX.EMPHASIZED_DECELERATE.getInterpolation(progress), in testResourceInterpolatorsMatchCodeInterpolators()
41 .getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators()
44 InterpolatorsAndroidX.STANDARD.getInterpolation(progress), in testResourceInterpolatorsMatchCodeInterpolators()
45 loadInterpolator(R.interpolator.standard_interpolator).getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators()
48 InterpolatorsAndroidX.STANDARD_ACCELERATE.getInterpolation(progress), in testResourceInterpolatorsMatchCodeInterpolators()
50 .getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators()
[all …]
/frameworks/base/libs/dream/lowlight/tests/src/com/android/dream/lowlight/util/
DTruncatedInterpolatorTest.kt36 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent)) in truncatedInterpolator_matchesRegularInterpolator()
37 .isEqualTo(originalInterpolator.getInterpolation(animationPercent)) in truncatedInterpolator_matchesRegularInterpolator()
40 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent)) in truncatedInterpolator_matchesRegularInterpolator()
41 .isEqualTo(originalInterpolator.getInterpolation(animationPercent * DURATION_RATIO)) in truncatedInterpolator_matchesRegularInterpolator()
44 Truth.assertThat(truncatedInterpolator.getInterpolation(animationPercent)) in truncatedInterpolator_matchesRegularInterpolator()
45 .isEqualTo(originalInterpolator.getInterpolation(animationPercent * DURATION_RATIO)) in truncatedInterpolator_matchesRegularInterpolator()
/frameworks/libs/systemui/animationlib/src/com/android/app/animation/
DInterpolators.java209 v -> ACCELERATE_DECELERATE.getInterpolation(TOUCH_RESPONSE.getInterpolation(v));
217 public float getInterpolation(float v) {
218 return DECELERATE_3.getInterpolation(1 - ZOOM_OUT.getInterpolation(1 - v));
227 public float getInterpolation(float v) {
245 public float getInterpolation(float t) {
253 public float getInterpolation(float t) {
380 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
402 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress()
412 return t -> 1 - interpolator.getInterpolation(1 - t); in reverse()
DInterpolatorsAndroidX.java215 v -> ACCELERATE_DECELERATE.getInterpolation(TOUCH_RESPONSE.getInterpolation(v));
223 public float getInterpolation(float v) {
224 return DECELERATE_3.getInterpolation(1 - ZOOM_OUT.getInterpolation(1 - v));
233 public float getInterpolation(float v) {
251 public float getInterpolation(float t) {
259 public float getInterpolation(float t) {
386 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
408 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress()
418 return t -> 1 - interpolator.getInterpolation(1 - t); in reverse()
/frameworks/base/graphics/java/android/graphics/animation/
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()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DBackAnimationSpec.kt64 val ratioTranslateX = translateXEasing.getInterpolation(progressX) in createFloatingSurfaceAnimationSpec()
65 val ratioTranslateY = translateYEasing.getInterpolation(progressY) in createFloatingSurfaceAnimationSpec()
66 val ratioScale = scaleEasing.getInterpolation(progressX) in createFloatingSurfaceAnimationSpec()
/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/util/
DTruncatedInterpolator.kt51 override fun getInterpolation(input: Float): Float { in getInterpolation() method
52 return baseInterpolator.getInterpolation(input * scaleFactor) in getInterpolation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
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
/frameworks/base/core/java/android/animation/
DIntKeyframeSet.java66 fraction = interpolator.getInterpolation(fraction); in getIntValue()
82 fraction = interpolator.getInterpolation(fraction); in getIntValue()
100 intervalFraction = interpolator.getInterpolation(intervalFraction); in getIntValue()
DFloatKeyframeSet.java66 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
82 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
101 intervalFraction = interpolator.getInterpolation(intervalFraction); in getFloatValue()
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()
DTimeInterpolator.java37 float getInterpolation(float input); in getInterpolation() method
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
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()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DTransitionAnimator.kt378 val progress = interpolators.positionInterpolator.getInterpolation(linearProgress) in <lambda>()
379 val xProgress = interpolators.positionXInterpolator.getInterpolation(linearProgress) in <lambda>()
526 interpolators.contentBeforeFadeOutInterpolator.getInterpolation(fadeInProgress) in <lambda>()
538 interpolators.contentAfterFadeInInterpolator.getInterpolation( in <lambda>()
552 interpolators.contentBeforeFadeOutInterpolator.getInterpolation(fadeInProgress) in <lambda>()
568 interpolators.contentAfterFadeInInterpolator.getInterpolation( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/
DBackPanelController.kt556 params.verticalTranslationInterpolator.getInterpolation(yProgress) * in <lambda>()
586 params.horizontalTranslationInterpolator.getInterpolation(progress), in <lambda>()
587 arrowStretchAmount = params.arrowAngleInterpolator.getInterpolation(progress), in <lambda>()
589 params.activeWidthInterpolator.getInterpolation(progress), in <lambda>()
602 arrowStretchAmount = params.arrowAngleInterpolator.getInterpolation(progress), in <lambda>()
603 backgroundWidthStretchAmount = params.entryWidthInterpolator.getInterpolation(progress), in <lambda>()
604 backgroundHeightStretchAmount = params.heightInterpolator.getInterpolation(progress), in <lambda>()
608 edgeCornerStretchAmount = params.edgeCornerInterpolator.getInterpolation(progress), in <lambda>()
609 farCornerStretchAmount = params.farCornerInterpolator.getInterpolation(progress), in <lambda>()
630 return interpolator.getInterpolation(progress).coerceAtLeast(0f) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/haptics/slider/
DSliderHapticFeedbackProvider.kt85 velocityAccelerateInterpolator.getInterpolation( in scaleOnEdgeCollision()
138 velocityAccelerateInterpolator.getInterpolation( in scaleOnDragTexture()
145 positionAccelerateInterpolator.getInterpolation(normalizedSliderProgress) in scaleOnDragTexture()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewTransition.kt124 (positionInterpolator.getInterpolation(animation.animatedFraction) * in <lambda>()
144 opacity = fadeOutInterpolator.getInterpolation(fadeOutFraction) in <lambda>()
175 opacity = fadeInInterpolator.getInterpolation(fadeInFraction) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/
DKeyguardTransitionAnimationFlowTest.kt155 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0f)) in usesInterpolator()
157 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.5f)) in usesInterpolator()
159 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.6f)) in usesInterpolator()
161 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(0.8f)) in usesInterpolator()
163 assertFloat(animationValues(), EMPHASIZED_ACCELERATE.getInterpolation(1f)) in usesInterpolator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashScreenExitAnimationUtils.java201 ICON_INTERPOLATOR.getInterpolation(getProgress( in createRadialVanishSlideUpAnimator()
260 final float iconFadeProgress = ICON_INTERPOLATOR.getInterpolation(getProgress( in createFadeOutAnimation()
277 final float splashFadeProgress = Interpolators.ALPHA_OUT.getInterpolation( in createFadeOutAnimation()
325 final float radiusProgress = MASK_RADIUS_INTERPOLATOR.getInterpolation(linearProgress); in onAnimationProgress()
326 final float alphaProgress = Interpolators.ALPHA_OUT.getInterpolation(linearProgress); in onAnimationProgress()
410 final float progress = SHIFT_UP_INTERPOLATOR.getInterpolation(linearProgress); in onAnimationProgress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageTransformState.java73 transformationAmount = Interpolators.LINEAR_OUT_SLOW_IN.getInterpolation( in appear()
92 transformationAmount = Interpolators.LINEAR_OUT_SLOW_IN.getInterpolation( in disappear()
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBounceInterpolator.java29 public float getInterpolation(float t) { in getInterpolation() method in BounceInterpolator
/frameworks/base/core/java/android/view/animation/
DLinearInterpolator.java37 public float getInterpolation(float input) { in getInterpolation() method in LinearInterpolator
DAccelerateDecelerateInterpolator.java39 public float getInterpolation(float input) { in getInterpolation() method in AccelerateDecelerateInterpolator
/frameworks/base/core/java/com/android/internal/policy/
DLogDecelerateInterpolator.java40 public float getInterpolation(float t) { in getInterpolation() method in LogDecelerateInterpolator

12345