/frameworks/base/core/java/com/android/internal/view/animation/ |
D | FallbackLUTInterpolator.java | 40 public FallbackLUTInterpolator(TimeInterpolator interpolator, long duration) { in FallbackLUTInterpolator() argument 41 mSourceInterpolator = interpolator; in FallbackLUTInterpolator() 42 mLut = createLUT(interpolator, duration); in FallbackLUTInterpolator() 45 private static float[] createLUT(TimeInterpolator interpolator, long duration) { in createLUT() argument 53 values[i] = interpolator.getInterpolation(inValue); in createLUT() 66 public static long createNativeInterpolator(TimeInterpolator interpolator, long duration) { in createNativeInterpolator() argument 67 float[] lut = createLUT(interpolator, duration); in createNativeInterpolator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 58 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_slow_in); in FlingAnimationUtils() 60 = AnimationUtils.loadInterpolator(ctx, android.R.interpolator.fast_out_linear_in); in FlingAnimationUtils() 110 animator.setInterpolator(properties.interpolator); in apply() 129 animator.setInterpolator(properties.interpolator); in apply() 140 mAnimatorProperties.interpolator = mLinearOutSlowIn; in getProperties() 149 mAnimatorProperties.interpolator = superInterpolator; in getProperties() 154 mAnimatorProperties.interpolator = mFastOutSlowIn; in getProperties() 177 animator.setInterpolator(properties.interpolator); in applyDismissing() 197 animator.setInterpolator(properties.interpolator); in applyDismissing() 212 mAnimatorProperties.interpolator = mLinearOutFasterIn; in getDismissingProperties() [all …]
|
D | KeyguardAffordanceView.java | 136 android.R.interpolator.linear_out_slow_in); in KeyguardAffordanceView() 138 android.R.interpolator.fast_out_linear_in); in KeyguardAffordanceView() 295 Interpolator interpolator = circleRadius == 0.0f in setCircleRadius() local 298 animator.setInterpolator(interpolator); in setCircleRadius() 313 mPreviewClipper.setInterpolator(interpolator); in setCircleRadius() 364 Interpolator interpolator) { in setImageScale() argument 380 if (interpolator == null) { in setImageScale() 381 interpolator = imageScale == 0.0f in setImageScale() 385 animator.setInterpolator(interpolator); in setImageScale() 411 Interpolator interpolator, Runnable runnable) { in setImageAlpha() argument [all …]
|
D | StackScrollerDecorView.java | 82 Interpolator interpolator; in animateText() local 84 interpolator = PhoneStatusBar.ALPHA_IN; in animateText() 86 interpolator = PhoneStatusBar.ALPHA_OUT; in animateText() 91 .setInterpolator(interpolator) in animateText()
|
D | ScrimView.java | 112 public void animateViewAlpha(float alpha, long durationOut, Interpolator interpolator) { in animateViewAlpha() argument 119 mAlphaAnimator.setInterpolator(interpolator); in animateViewAlpha()
|
/frameworks/base/core/java/android/animation/ |
D | FloatKeyframeSet.java | 91 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 92 if (interpolator != null) { in getFloatValue() 93 fraction = interpolator.getInterpolation(fraction); in getFloatValue() 107 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 108 if (interpolator != null) { in getFloatValue() 109 fraction = interpolator.getInterpolation(fraction); in getFloatValue() 121 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local 122 if (interpolator != null) { in getFloatValue() 123 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
|
D | IntKeyframeSet.java | 91 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 92 if (interpolator != null) { in getIntValue() 93 fraction = interpolator.getInterpolation(fraction); in getIntValue() 107 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 108 if (interpolator != null) { in getIntValue() 109 fraction = interpolator.getInterpolation(fraction); in getIntValue() 120 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local 121 if (interpolator != null) { in getIntValue() 122 fraction = interpolator.getInterpolation(fraction); in getIntValue()
|
D | KeyframeSet.java | 216 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local 217 if (interpolator != null) { in getValue() 218 fraction = interpolator.getInterpolation(fraction); in getValue() 227 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator(); in getValue() local 228 if (interpolator != null) { in getValue() 229 fraction = interpolator.getInterpolation(fraction); in getValue() 241 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local 242 if (interpolator != null) { in getValue() 243 fraction = interpolator.getInterpolation(fraction); in getValue()
|
/frameworks/base/core/java/android/view/ |
D | ViewPropertyAnimatorRT.java | 71 TimeInterpolator interpolator = parent.getInterpolator(); in doStartAnimation() local 72 if (interpolator == null) { in doStartAnimation() 74 interpolator = sLinearInterpolator; in doStartAnimation() 76 if (!RenderNodeAnimator.isNativeInterpolator(interpolator)) { in doStartAnimation() 77 interpolator = new FallbackLUTInterpolator(interpolator, duration); in doStartAnimation() 87 animator.setInterpolator(interpolator); in doStartAnimation()
|
/frameworks/base/core/java/android/view/animation/ |
D | AnimationUtils.java | 324 BaseInterpolator interpolator = null; in createInterpolatorFromXml() local 342 interpolator = new LinearInterpolator(); in createInterpolatorFromXml() 344 interpolator = new AccelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 346 interpolator = new DecelerateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 348 interpolator = new AccelerateDecelerateInterpolator(); in createInterpolatorFromXml() 350 interpolator = new CycleInterpolator(res, theme, attrs); in createInterpolatorFromXml() 352 interpolator = new AnticipateInterpolator(res, theme, attrs); in createInterpolatorFromXml() 354 interpolator = new OvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 356 interpolator = new AnticipateOvershootInterpolator(res, theme, attrs); in createInterpolatorFromXml() 358 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() 447 final Interpolator interpolator = mInterpolator; in initialize() local 475 a.setInterpolator(interpolator); in initialize()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ScrollerCompat.java | 39 Object createScroller(Context context, Interpolator interpolator); in createScroller() argument 63 public Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument 64 return interpolator != null ? in createScroller() 65 new Scroller(context, interpolator) : new Scroller(context); in createScroller() 152 public Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument 153 return ScrollerCompatGingerbread.createScroller(context, interpolator); in createScroller() 249 public static ScrollerCompat create(Context context, Interpolator interpolator) { in create() argument 250 return new ScrollerCompat(context, interpolator); in create() 253 ScrollerCompat(Context context, Interpolator interpolator) { in ScrollerCompat() argument 254 this(Build.VERSION.SDK_INT, context, interpolator); in ScrollerCompat() [all …]
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | DisappearAnimationUtils.java | 32 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in)); in DisappearAnimationUtils() 36 float delayScaleFactor, Interpolator interpolator) { in DisappearAnimationUtils() argument 37 super(ctx, duration, translationScaleFactor, delayScaleFactor, interpolator); in DisappearAnimationUtils()
|
D | AppearAnimationUtils.java | 42 AnimationUtils.loadInterpolator(ctx, android.R.interpolator.linear_out_slow_in)); in AppearAnimationUtils() 46 float delayScaleFactor, Interpolator interpolator) { in AppearAnimationUtils() argument 47 mInterpolator = interpolator; in AppearAnimationUtils() 172 boolean appearing, Interpolator interpolator, Runnable endRunnable) { in createAnimation() argument 179 .setInterpolator(interpolator) in createAnimation()
|
D | KeyguardPatternView.java | 105 mContext, android.R.interpolator.linear_out_slow_in)); in KeyguardPatternView() 109 mContext, android.R.interpolator.fast_out_linear_in)); in KeyguardPatternView() 369 Interpolator interpolator, in createAnimation() argument 378 animator.setInterpolator(interpolator); in createAnimation() 404 appearing, interpolator, null); in createAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | TrustDrawable.java | 87 context, android.R.interpolator.linear_out_slow_in); in TrustDrawable() 89 context, android.R.interpolator.fast_out_slow_in); in TrustDrawable() 232 int startAlpha, int endAlpha, long duration, Interpolator interpolator, in makeAnimators() argument 236 duration, mAlphaUpdateListener, interpolator, repeating); in makeAnimators() 239 duration, mRadiusUpdateListener, interpolator, repeating); in makeAnimators() 250 ValueAnimator.AnimatorUpdateListener updateListener, Interpolator interpolator, in configureAnimator() argument 254 animator.setInterpolator(interpolator); in configureAnimator()
|
D | DozeScrimController.java | 59 AnimationUtils.loadInterpolator(context, android.R.interpolator.linear_out_slow_in); in DozeScrimController() 140 Interpolator interpolator) { in startScrimAnimation() argument 141 startScrimAnimation(inFront, target, duration, interpolator, 0 /* delay */, in startScrimAnimation() 146 Interpolator interpolator, long delay, final Runnable endRunnable) { in startScrimAnimation() argument 163 anim.setInterpolator(interpolator); in startScrimAnimation()
|
/frameworks/base/core/java/android/widget/ |
D | OverScroller.java | 60 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument 61 this(context, interpolator, true); in OverScroller() 72 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument 73 if (interpolator == null) { in OverScroller() 76 mInterpolator = interpolator; in OverScroller() 95 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 97 this(context, interpolator, true); in OverScroller() 113 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument 115 this(context, interpolator, flywheel); in OverScroller() 118 void setInterpolator(Interpolator interpolator) { in setInterpolator() argument [all …]
|
D | Scroller.java | 160 public Scroller(Context context, Interpolator interpolator) { in Scroller() argument 161 this(context, interpolator, in Scroller() 170 public Scroller(Context context, Interpolator interpolator, boolean flywheel) { in Scroller() argument 172 if (interpolator == null) { in Scroller() 175 mInterpolator = interpolator; in Scroller()
|
/frameworks/support/v4/gingerbread/android/support/v4/widget/ |
D | ScrollerCompatGingerbread.java | 25 public static Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument 26 return interpolator != null ? in createScroller() 27 new OverScroller(context, interpolator) : new OverScroller(context); in createScroller()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SearchPanelCircleView.java | 129 android.R.interpolator.linear_out_slow_in); in SearchPanelCircleView() 131 android.R.interpolator.fast_out_slow_in); in SearchPanelCircleView() 133 android.R.interpolator.fast_out_linear_in); in SearchPanelCircleView() 178 int startDelay, Interpolator interpolator) { in setCircleSize() argument 200 Interpolator desiredInterpolator = interpolator != null ? interpolator in setCircleSize() 254 Interpolator interpolator, final Runnable endRunnable) { in setOffset() argument 277 Interpolator desiredInterpolator = interpolator != null ? in setOffset() 278 interpolator : offset == 0 ? mDisappearInterpolator : mAppearInterpolator; in setOffset()
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
D | Tweener.java | 61 TimeInterpolator interpolator = null; in to() local 74 interpolator = (TimeInterpolator) value; // TODO: multiple interpolators? in to() 112 if (interpolator != null) { in to() 113 anim.setInterpolator(interpolator); in to()
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
D | ScrollerCompatTestBase.java | 44 protected void createScroller(Interpolator interpolator) in createScroller() argument 50 mScroller = constructor.newInstance(mApiLevel, getContext(), interpolator); in createScroller()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
D | ViewPropertyAnimatorCompatSet.java | 93 public ViewPropertyAnimatorCompatSet setInterpolator(Interpolator interpolator) { in setInterpolator() argument 95 mInterpolator = interpolator; in setInterpolator()
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | animation-resource.jd | 375 android:interpolator="@[package:]anim/<em>interpolator_resource</em>" 420 <dt><code>android:interpolator</code></dt> 423 The value must be a reference to a resource that specifies an interpolator 424 (not an interpolator class name). There are default interpolator 425 resources available from the platform or you can create your own interpolator resource. 428 <dd><em>Boolean</em>. "true" if you want to share the same interpolator among all child 534 android:interpolator="@android:anim/accelerate_decelerate_interpolator" 544 android:interpolator="@android:anim/accelerate_interpolator" 586 <p>An interpolator is an animation modifier defined in XML that affects the rate of change in an 590 <p>An interpolator is applied to an animation element with the {@code android:interpolator} [all …]
|