/frameworks/base/core/java/com/android/internal/view/animation/ |
D | FallbackLUTInterpolator.java | 42 public FallbackLUTInterpolator(TimeInterpolator interpolator, long duration) { in FallbackLUTInterpolator() argument 43 mSourceInterpolator = interpolator; in FallbackLUTInterpolator() 44 mLut = createLUT(interpolator, duration); in FallbackLUTInterpolator() 47 private static float[] createLUT(TimeInterpolator interpolator, long duration) { in createLUT() argument 57 values[i] = interpolator.getInterpolation(inValue); in createLUT() 70 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { in createNativeInterpolator() argument 71 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator()
|
/frameworks/base/core/java/android/animation/ |
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 | 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 | 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/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/ |
D | AnimationProps.java | 69 public AnimationProps(int duration, Interpolator interpolator) { in AnimationProps() argument 70 this(0, duration, interpolator, null); in AnimationProps() 77 public AnimationProps(int duration, Interpolator interpolator, in AnimationProps() argument 79 this(0, duration, interpolator, listener); in AnimationProps() 86 public AnimationProps(int startDelay, int duration, Interpolator interpolator) { in AnimationProps() argument 87 this(startDelay, duration, interpolator, null); in AnimationProps() 94 public AnimationProps(int startDelay, int duration, Interpolator interpolator, in AnimationProps() argument 98 setInterpolator(ALL, interpolator); in AnimationProps() 179 public AnimationProps setInterpolator(@PropType int propertyType, Interpolator interpolator) { in setInterpolator() argument 183 mPropInterpolators.append(propertyType, interpolator); in setInterpolator()
|
/frameworks/base/core/java/android/view/ |
D | RenderNodeAnimatorSetHelper.java | 40 public static long createNativeInterpolator(TimeInterpolator interpolator, long in createNativeInterpolator() argument 42 if (interpolator == null) { in createNativeInterpolator() 45 } else if (RenderNodeAnimator.isNativeInterpolator(interpolator)) { in createNativeInterpolator() 46 return ((NativeInterpolatorFactory)interpolator).createNativeInterpolator(); in createNativeInterpolator() 48 return FallbackLUTInterpolator.createNativeInterpolator(interpolator, duration); in createNativeInterpolator()
|
/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 196 alphaAnim.setInterpolator(interpolator); in createAnimation() 218 interpolator); in createAnimation() 223 float endTranslationY, Interpolator interpolator) { in startTranslationYAnimation() argument 234 translationAnim.setInterpolator(interpolator); in startTranslationYAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 144 animator.setInterpolator(properties.interpolator); in apply() 163 animator.setInterpolator(properties.interpolator); in apply() 179 mAnimatorProperties.interpolator = slowInInterpolator; in getProperties() 188 mAnimatorProperties.interpolator = superInterpolator; in getProperties() 193 mAnimatorProperties.interpolator = Interpolators.FAST_OUT_SLOW_IN; in getProperties() 240 animator.setInterpolator(properties.interpolator); in applyDismissing() 260 animator.setInterpolator(properties.interpolator); in applyDismissing() 275 mAnimatorProperties.interpolator = mLinearOutFasterIn; in getDismissingProperties() 285 mAnimatorProperties.interpolator = superInterpolator; in getDismissingProperties() 290 mAnimatorProperties.interpolator = Interpolators.FAST_OUT_LINEAR_IN; in getDismissingProperties() [all …]
|
D | KeyguardAffordanceView.java | 373 Interpolator interpolator = circleRadius == 0.0f in setCircleRadius() local 376 animator.setInterpolator(interpolator); in setCircleRadius() 391 mPreviewClipper.setInterpolator(interpolator); in setCircleRadius() 442 Interpolator interpolator) { in setImageScale() argument 458 if (interpolator == null) { in setImageScale() 459 interpolator = imageScale == 0.0f in setImageScale() 463 animator.setInterpolator(interpolator); in setImageScale() 493 Interpolator interpolator, Runnable runnable) { in setImageAlpha() argument 511 if (interpolator == null) { in setImageAlpha() 512 interpolator = alpha == 0.0f in setImageAlpha() [all …]
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 393 BaseInterpolator interpolator = null; in createInterpolatorFromXml() local 411 interpolator = new LinearInterpolator(); in createInterpolatorFromXml() 413 interpolator = new AccelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 415 interpolator = new DecelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 417 interpolator = new AccelerateDecelerateInterpolator(); in createInterpolatorFromXml() 419 interpolator = new CycleInterpolator(res, theme, attrs); in createInterpolatorFromXml() 421 interpolator = new AnticipateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 423 interpolator = new OvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 425 interpolator = new AnticipateOvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 427 interpolator = new BounceInterpolator(); in createInterpolatorFromXml() [all …]
|
D | AnimationSet.java | 353 final Interpolator interpolator = a.mInterpolator; in initializeInvalidateRegion() local 354 a.applyTransformation(interpolator != null ? interpolator.getInterpolation(0.0f) in initializeInvalidateRegion() 443 final Interpolator interpolator = mInterpolator; in initialize() local 471 a.setInterpolator(interpolator); in initialize()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 62 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument 63 this(context, interpolator, true); in OverScroller() 75 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument 76 if (interpolator == null) { in OverScroller() 79 mInterpolator = interpolator; in OverScroller() 99 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 101 this(context, interpolator, true); in OverScroller() 118 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 120 this(context, interpolator, flywheel); in OverScroller() 124 void setInterpolator(Interpolator interpolator) { in setInterpolator() argument [all …]
|
D | Scroller.java | 166 public Scroller(Context context, Interpolator interpolator) { in Scroller() argument 167 this(context, interpolator, in Scroller() 176 public Scroller(Context context, Interpolator interpolator, boolean flywheel) { in Scroller() argument 178 if (interpolator == null) { in Scroller() 181 mInterpolator = interpolator; in Scroller()
|
/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/core/java/com/android/internal/widget/ |
D | MessagingPropertyAnimator.java | 104 Interpolator interpolator) { in startLocalTranslationFrom() argument 105 startTopAnimation(view, getTop(view) + startTranslation, getLayoutTop(view), interpolator); in startLocalTranslationFrom() 115 Interpolator interpolator) { in startLocalTranslationTo() argument 117 startTopAnimation(view, top, top + endTranslation, interpolator); in startLocalTranslationTo() 141 Interpolator interpolator) { in startTopAnimation() argument 153 animator.setInterpolator(interpolator); in startTopAnimation()
|
D | LockPatternView.java | 356 AnimationUtils.loadInterpolator(context, android.R.interpolator.fast_out_slow_in); in LockPatternView() 358 AnimationUtils.loadInterpolator(context, android.R.interpolator.linear_out_slow_in); in LockPatternView() 467 Interpolator interpolator, Runnable finishRunnable) { in startCellStateAnimation() argument 470 endTranslationY, startScale, endScale, delay, duration, interpolator, in startCellStateAnimation() 474 endTranslationY, startScale, endScale, delay, duration, interpolator, in startCellStateAnimation() 483 long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) { in startCellStateAnimationSw() argument 490 animator.setInterpolator(interpolator); in startCellStateAnimationSw() 516 long delay, long duration, Interpolator interpolator, final Runnable finishRunnable) { in startCellStateAnimationHw() argument 530 getCenterYForRow(cellState.row) + endTranslationY, delay, duration, interpolator); in startCellStateAnimationHw() 532 interpolator); in startCellStateAnimationHw() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleDismissView.java | 58 final AccelerateDecelerateInterpolator interpolator = in BubbleDismissView() local 62 .setInterpolator(interpolator); in BubbleDismissView() 65 .setInterpolator(interpolator); in BubbleDismissView()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | PathInterpolatorTests.cpp | 83 PathInterpolator interpolator(getX(data), getY(data)); in TEST() local 85 EXPECT_FLOAT_EQ(data.outFraction[i], interpolator.interpolate(data.inFraction[i])); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | AnimationProperties.java | 83 public AnimationProperties setCustomInterpolator(Property property, Interpolator interpolator) { 87 mInterpolatorMap.put(property, interpolator);
|
D | NotificationSection.java | 115 Interpolator interpolator = Interpolators.FAST_OUT_SLOW_IN; in startTopAnimation() local 116 animator.setInterpolator(interpolator); in startTopAnimation() 164 Interpolator interpolator = Interpolators.FAST_OUT_SLOW_IN; in startBottomAnimation() local 165 animator.setInterpolator(interpolator); in startBottomAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistOrbView.java | 152 long startDelay, Interpolator interpolator) { in animateCircleSize() argument 162 mCircleAnimator.setInterpolator(interpolator); in animateCircleSize() 192 Interpolator interpolator) { in animateOffset() argument 205 mOffsetAnimator.setInterpolator(interpolator); in animateOffset()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPatternView.java | 124 mContext, android.R.interpolator.linear_out_slow_in)); in KeyguardPatternView() 128 mContext, android.R.interpolator.fast_out_linear_in)); in KeyguardPatternView() 132 mContext, android.R.interpolator.fast_out_linear_in)); in KeyguardPatternView() 525 Interpolator interpolator, in createAnimation() argument 531 delay, duration, interpolator, finishListener); in createAnimation() 535 appearing, interpolator, null); in createAnimation()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/ |
D | TaskStackAnimationHelper.java | 507 Interpolator interpolator; in startScrollToFocusedTaskAnimation() local 510 interpolator = FOCUS_BEHIND_NEXT_TASK_INTERPOLATOR; in startScrollToFocusedTaskAnimation() 514 interpolator = FOCUS_BEHIND_NEXT_TASK_INTERPOLATOR; in startScrollToFocusedTaskAnimation() 517 interpolator = FOCUS_IN_FRONT_NEXT_TASK_INTERPOLATOR; in startScrollToFocusedTaskAnimation() 520 interpolator = FOCUS_NEXT_TASK_INTERPOLATOR; in startScrollToFocusedTaskAnimation() 526 .setInterpolator(AnimationProps.BOUNDS, interpolator) in startScrollToFocusedTaskAnimation() 611 Interpolator interpolator = FOCUS_BEHIND_NEXT_TASK_INTERPOLATOR; in startNewStackScrollAnimation() local 615 .setInterpolator(AnimationProps.BOUNDS, interpolator) in startNewStackScrollAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | StackScrollerDecorView.java | 184 Interpolator interpolator = nowVisible ? Interpolators.ALPHA_IN : Interpolators.ALPHA_OUT; in setViewVisible() local 187 .setInterpolator(interpolator) in setViewVisible()
|