/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
D | ToastDefaultAnimation.kt | 42 interpolator = scaleInterp in toastIn() 46 interpolator = scaleInterp in toastIn() 50 interpolator = linearInterp in toastIn() 55 interpolator = linearInterp in toastIn() 61 interpolator = linearInterp in toastIn() 80 interpolator = scaleInterp in toastOut() 84 interpolator = scaleInterp in toastOut() 89 interpolator = linearInterp in toastOut() 94 interpolator = linearInterp in toastOut() 99 interpolator = linearInterp in toastOut() [all …]
|
/frameworks/base/graphics/java/android/graphics/animation/ |
D | FallbackLUTInterpolator.java | 43 public FallbackLUTInterpolator(TimeInterpolator interpolator, long duration) { in FallbackLUTInterpolator() argument 44 mSourceInterpolator = interpolator; in FallbackLUTInterpolator() 45 mLut = createLUT(interpolator, duration); in FallbackLUTInterpolator() 48 private static float[] createLUT(TimeInterpolator interpolator, long duration) { in createLUT() argument 58 values[i] = interpolator.getInterpolation(inValue); in createLUT() 71 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { in createNativeInterpolator() argument 72 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator()
|
D | NativeInterpolatorFactory.java | 34 public static long createNativeInterpolator(TimeInterpolator interpolator, long in createNativeInterpolator() argument 36 if (interpolator == null) { in createNativeInterpolator() 38 } else if (RenderNodeAnimator.isNativeInterpolator(interpolator)) { in createNativeInterpolator() 39 return ((NativeInterpolator) interpolator).createNativeInterpolator(); in createNativeInterpolator() 41 return FallbackLUTInterpolator.createNativeInterpolator(interpolator, duration); in createNativeInterpolator()
|
/frameworks/base/core/java/android/animation/ |
D | FloatKeyframeSet.java | 64 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 65 if (interpolator != null) { in getFloatValue() 66 fraction = interpolator.getInterpolation(fraction); in getFloatValue() 80 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 81 if (interpolator != null) { in getFloatValue() 82 fraction = interpolator.getInterpolation(fraction); in getFloatValue() 94 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 100 if (interpolator != null) { in getFloatValue() 101 intervalFraction = interpolator.getInterpolation(intervalFraction); in getFloatValue()
|
D | IntKeyframeSet.java | 64 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 65 if (interpolator != null) { in getIntValue() 66 fraction = interpolator.getInterpolation(fraction); in getIntValue() 80 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 81 if (interpolator != null) { in getIntValue() 82 fraction = interpolator.getInterpolation(fraction); in getIntValue() 93 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 99 if (interpolator != null) { in getIntValue() 100 intervalFraction = interpolator.getInterpolation(intervalFraction); in getIntValue()
|
D | KeyframeSet.java | 207 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local 208 if (interpolator != null) { in getValue() 209 fraction = interpolator.getInterpolation(fraction); in getValue() 218 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator(); in getValue() local 219 if (interpolator != null) { in getValue() 220 fraction = interpolator.getInterpolation(fraction); in getValue() 232 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local 237 if (interpolator != null) { in getValue() 238 intervalFraction = interpolator.getInterpolation(intervalFraction); in getValue()
|
/frameworks/libs/systemui/animationlib/tests/src/com/android/app/animation/ |
D | InterpolatorResourcesTest.kt | 31 loadInterpolator(R.interpolator.emphasized_interpolator).getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators() 35 loadInterpolator(R.interpolator.emphasized_accelerate_interpolator) in testResourceInterpolatorsMatchCodeInterpolators() 40 loadInterpolator(R.interpolator.emphasized_decelerate_interpolator) in testResourceInterpolatorsMatchCodeInterpolators() 45 loadInterpolator(R.interpolator.standard_interpolator).getInterpolation(progress) in testResourceInterpolatorsMatchCodeInterpolators() 49 loadInterpolator(R.interpolator.standard_accelerate_interpolator) in testResourceInterpolatorsMatchCodeInterpolators() 54 loadInterpolator(R.interpolator.standard_decelerate_interpolator) in testResourceInterpolatorsMatchCodeInterpolators()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | DisappearAnimationUtils.java | 31 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in)); in DisappearAnimationUtils() 35 float delayScaleFactor, Interpolator interpolator) { in DisappearAnimationUtils() argument 36 this(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator, in DisappearAnimationUtils() 41 float delayScaleFactor, Interpolator interpolator, RowTranslationScaler rowScaler) { in DisappearAnimationUtils() argument 42 super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator); in DisappearAnimationUtils()
|
D | AppearAnimationUtils.java | 48 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in)); in AppearAnimationUtils() 52 float delayScaleFactor, Interpolator interpolator) { in AppearAnimationUtils() argument 53 mInterpolator = interpolator; in AppearAnimationUtils() 182 boolean appearing, Interpolator interpolator, final Runnable endRunnable) { in createAnimation() argument 184 view, delay, duration, translationY, appearing, interpolator, endRunnable, null); in createAnimation() 189 long duration, float translationY, boolean appearing, Interpolator interpolator, in createAnimation() argument 206 alphaAnim.setInterpolator(interpolator); in createAnimation() 229 interpolator, animatorListener); in createAnimation() 237 float endTranslationY, Interpolator interpolator) { in startTranslationYAnimation() argument 238 startTranslationYAnimation(view, delay, duration, endTranslationY, interpolator, null); in startTranslationYAnimation() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayAnimationsController.kt | 155 interpolator = Interpolators.EMPHASIZED_DECELERATE in <lambda>() 161 interpolator = Interpolators.LINEAR in <lambda>() 167 interpolator = Interpolators.EMPHASIZED_DECELERATE in <lambda>() 203 interpolator = in <lambda>() 268 interpolator: Interpolator = Interpolators.LINEAR in <lambda>() 273 this.interpolator = interpolator in <lambda>() 291 interpolator: Interpolator = Interpolators.LINEAR in <lambda>() 296 this.interpolator = interpolator in <lambda>() 318 interpolator: Interpolator = Interpolators.LINEAR in <lambda>() 323 this.interpolator = interpolator in <lambda>()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | ViewHierarchyAnimator.kt | 89 interpolator: Interpolator = DEFAULT_INTERPOLATOR, in <lambda>() 96 interpolator, in <lambda>() 111 interpolator: Interpolator = DEFAULT_INTERPOLATOR, in <lambda>() 118 interpolator, in <lambda>() 128 interpolator: Interpolator, in <lambda>() 146 val listener = createUpdateListener(interpolator, duration, ephemeral) in <lambda>() 165 interpolator: Interpolator, in <lambda>() 169 return createListener(interpolator, duration, ephemeral) in <lambda>() 207 interpolator: Interpolator = DEFAULT_ADDITION_INTERPOLATOR, in <lambda>() 229 interpolator, in <lambda>() [all …]
|
D | TextAnimator.kt | 277 interpolator: TimeInterpolator? = null, in draw() 281 interpolator, delay, onAnimationEnd, updateLayoutOnFailure = true) in draw() 290 interpolator: TimeInterpolator?, in draw() 323 interpolator?.let { animator.interpolator = it } in draw() 349 interpolator, delay, onAnimationEnd, updateLayoutOnFailure = false) in draw() 385 interpolator: TimeInterpolator? = null, in setTextStyle() 400 interpolator = interpolator, in setTextStyle()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 456 BaseInterpolator interpolator = null; in createInterpolatorFromXml() local 474 interpolator = new LinearInterpolator(); in createInterpolatorFromXml() 476 interpolator = new AccelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 478 interpolator = new DecelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 480 interpolator = new AccelerateDecelerateInterpolator(); in createInterpolatorFromXml() 482 interpolator = new CycleInterpolator(res, theme, attrs); in createInterpolatorFromXml() 484 interpolator = new AnticipateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 486 interpolator = new OvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 488 interpolator = new AnticipateOvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 490 interpolator = new BounceInterpolator(); in createInterpolatorFromXml() [all …]
|
/frameworks/libs/systemui/animationlib/src/com/android/app/animation/ |
D | Interpolators.java | 346 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument 353 return t -> clampToProgress(interpolator, t, lowerBound, upperBound); in clampToProgress() 364 Interpolator interpolator, float progress, float lowerBound, float upperBound) { in clampToProgress() argument 380 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress() 400 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound, in mapToProgress() argument 402 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress() 411 public static Interpolator reverse(Interpolator interpolator) { in reverse() argument 412 return t -> 1 - interpolator.getInterpolation(1 - t); in reverse()
|
D | InterpolatorsAndroidX.java | 352 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument 359 return t -> clampToProgress(interpolator, t, lowerBound, upperBound); in clampToProgress() 370 Interpolator interpolator, float progress, float lowerBound, float upperBound) { in clampToProgress() argument 386 return interpolator.getInterpolation((progress - lowerBound) / (upperBound - lowerBound)); in clampToProgress() 406 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound, in mapToProgress() argument 408 return t -> mapRange(interpolator.getInterpolation(t), lowerBound, upperBound); in mapToProgress() 417 public static Interpolator reverse(Interpolator interpolator) { in reverse() argument 418 return t -> 1 - interpolator.getInterpolation(1 - t); in reverse()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 111 interpolator = null in onSystemEventAnimationBegin() 118 interpolator = null in onSystemEventAnimationBegin() 124 interpolator = STATUS_BAR_X_MOVE_IN in onSystemEventAnimationBegin() 152 interpolator = STATUS_CHIP_WIDTH_TO_DOT_KEYFRAME_1 in createMoveOutAnimationForDot() 161 interpolator = STATUS_CHIP_WIDTH_TO_DOT_KEYFRAME_2 in createMoveOutAnimationForDot() 172 interpolator = STATUS_CHIP_HEIGHT_TO_DOT_KEYFRAME_1 in createMoveOutAnimationForDot() 181 interpolator = STATUS_CHIP_HEIGHT_TO_DOT_KEYFRAME_2 in createMoveOutAnimationForDot() 192 interpolator = STATUS_CHIP_MOVE_TO_DOT in createMoveOutAnimationForDot() 213 interpolator = null in createMoveOutAnimationDefault() 219 interpolator = null in createMoveOutAnimationDefault() [all …]
|
/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
D | AnimatableClockView.kt | 305 interpolator = null, in <lambda>() 314 interpolator = null, in <lambda>() 327 interpolator = null, in <lambda>() 337 interpolator = Interpolators.EMPHASIZED_DECELERATE, in <lambda>() 353 interpolator = null, in <lambda>() 362 interpolator = Interpolators.EMPHASIZED_DECELERATE, in <lambda>() 381 interpolator = null, in <lambda>() 391 interpolator = null, in <lambda>() 404 interpolator = null, in <lambda>() 444 interpolator: TimeInterpolator?, in <lambda>() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipBackgroundView.java | 77 Interpolator interpolator = TvPipInterpolators.ENTER; in transitionToMenuMode() local 81 interpolator = TvPipInterpolators.EXIT; in transitionToMenuMode() 89 interpolator = TvPipInterpolators.EXIT; in transitionToMenuMode() 99 .setInterpolator(interpolator) in transitionToMenuMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/ |
D | StatusBarSystemEventAnimator.kt | 72 interpolator = STATUS_BAR_X_MOVE_OUT in onSystemEventAnimationBegin() 79 interpolator = null in onSystemEventAnimationBegin() 95 interpolator = STATUS_BAR_X_MOVE_IN in onSystemEventAnimationFinish() 103 interpolator = null in onSystemEventAnimationFinish()
|
D | MultiSourceMinAlphaController.kt | 50 interpolator: Interpolator = InterpolatorsAndroidX.ALPHA_IN, in animateToAlpha() 57 animator.interpolator = interpolator in animateToAlpha()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowAnimationSpec.java | 239 private static float findAlmostThereFraction(Interpolator interpolator) { in findAlmostThereFraction() argument 240 return findInterpolationAdjustedTargetFraction(interpolator, 0.99f, 0.01f); in findAlmostThereFraction() 247 private float findMiddleOfTranslationFraction(Interpolator interpolator) { in findMiddleOfTranslationFraction() argument 248 return findInterpolationAdjustedTargetFraction(interpolator, 0.5f, 0.01f); in findMiddleOfTranslationFraction() 256 Interpolator interpolator, float target, float epsilon) { in findInterpolationAdjustedTargetFraction() argument 261 if (interpolator.getInterpolation(val) < target) { in findInterpolationAdjustedTargetFraction()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | NavigationHandle.java | 159 Interpolator interpolator; in animateLongPress() local 161 interpolator = Interpolators.LEGACY_DECELERATE; in animateLongPress() 172 interpolator = t -> t <= expandFraction in animateLongPress() 177 interpolator = Interpolators.LEGACY_DECELERATE; in animateLongPress() 183 mPulseAnimator.setDuration(durationMs).setInterpolator(interpolator); in animateLongPress()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 63 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument 64 this(context, interpolator, true); in OverScroller() 76 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument 77 if (interpolator == null) { in OverScroller() 80 mInterpolator = interpolator; in OverScroller() 100 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 102 this(context, interpolator, true); in OverScroller() 119 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 121 this(context, interpolator, flywheel); in OverScroller() 125 void setInterpolator(Interpolator interpolator) { in setInterpolator() argument [all …]
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesAnimatorSet.cpp | 26 Interpolator* interpolator, nsecs_t startDelay, in addPropertyAnimator() argument 30 propertyValuesHolder, interpolator, startDelay, duration, repeatCount, repeatMode); in addPropertyAnimator() 128 PropertyAnimator::PropertyAnimator(PropertyValuesHolder* holder, Interpolator* interpolator, in PropertyAnimator() argument 132 , mInterpolator(interpolator) in PropertyAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/ |
D | KeyguardTransitionAnimationFlow.kt | 83 interpolator: Interpolator = LINEAR, in <lambda>() 93 interpolator = interpolator, in <lambda>() 115 interpolator: Interpolator = LINEAR, in <lambda>() 153 }?.let { onStep(interpolator.getInterpolation(it)) } in <lambda>()
|