Home
last modified time | relevance | path

Searched refs:mInterpolator (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java87 protected Interpolator mInterpolator; field in LayoutAnimationController
244 mInterpolator = interpolator; in setInterpolator()
254 return mInterpolator; in getInterpolator()
380 if (mInterpolator == null) { in getDelayForView()
381 mInterpolator = new LinearInterpolator(); in getDelayForView()
385 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay); in getDelayForView()
DAnimation.java173 Interpolator mInterpolator; field in Animation
402 mInterpolator = i; in setInterpolator()
662 return mInterpolator; in getInterpolator()
808 if (mInterpolator == null) { in ensureInterpolator()
809 mInterpolator = new AccelerateDecelerateInterpolator(); in ensureInterpolator()
869 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime); in getTransformation()
1047 applyTransformation(mInterpolator.getInterpolation(0.0f), previousTransformation); in initializeInvalidateRegion()
DGridLayoutAnimationController.java318 if (mInterpolator == null) { in getDelayForView()
319 mInterpolator = new LinearInterpolator(); in getDelayForView()
339 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay); in getDelayForView()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
DViewPropertyAnimatorCompatSet.java38 private Interpolator mInterpolator; field in ViewPropertyAnimatorCompatSet
60 if (mInterpolator != null) { in start()
61 animator.setInterpolator(mInterpolator); in start()
95 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/libs/hwui/
DAnimator.cpp38 , mInterpolator(0) in BaseRenderNodeAnimator()
49 delete mInterpolator; in ~BaseRenderNodeAnimator()
60 delete mInterpolator; in setInterpolator()
61 mInterpolator = interpolator; in setInterpolator()
120 if (!mInterpolator) { in transitionToRunning()
121 mInterpolator = Interpolator::createDefaultInterpolator(); in transitionToRunning()
154 fraction = mInterpolator->interpolate(fraction); in animate()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DAppearAnimationUtils.java31 private final Interpolator mInterpolator; field in AppearAnimationUtils
45 mInterpolator = interpolator; in AppearAnimationUtils()
86 mStartTranslation, mInterpolator, endRunnable); in startAnimations()
105 mStartTranslation, mInterpolator, endRunnable); in startAnimations()
154 return mInterpolator; in getInterpolator()
/frameworks/base/core/java/android/view/
DRenderNodeAnimator.java88 private TimeInterpolator mInterpolator; field in RenderNodeAnimator
158 if (mInterpolator == null) return; in applyInterpolator()
161 if (isNativeInterpolator(mInterpolator)) { in applyInterpolator()
162 ni = ((NativeInterpolatorFactory)mInterpolator).createNativeInterpolator(); in applyInterpolator()
165 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration); in applyInterpolator()
329 mInterpolator = interpolator; in setInterpolator()
334 return mInterpolator; in getInterpolator()
DViewPropertyAnimator.java88 private TimeInterpolator mInterpolator; field in ViewPropertyAnimator
344 mInterpolator = interpolator; in setInterpolator()
355 return mInterpolator; in getInterpolator()
903 animator.setInterpolator(mInterpolator); in startAnimation()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java59 PathInterpolator mInterpolator = new PathInterpolator(0f, 0f, 0.5f, 1f); field in PlatLogoActivity
152 .setInterpolator(mInterpolator) in onAttachedToWindow()
158 a.setInterpolator(mInterpolator); in onAttachedToWindow()
165 .setInterpolator(mInterpolator) in onAttachedToWindow()
233 .setInterpolator(mInterpolator) in onAttachedToWindow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java55 private Interpolator mInterpolator; field in DragDownHelper
62 mInterpolator = in DragDownHelper()
178 anim.setInterpolator(mInterpolator); in cancelExpansion()
191 anim.setInterpolator(mInterpolator); in cancelExpansion()
/frameworks/base/core/java/android/animation/
DKeyframe.java66 private TimeInterpolator mInterpolator = null; field in Keyframe
232 return mInterpolator; in getInterpolator()
242 mInterpolator = interpolator; in setInterpolator()
DKeyframeSet.java38 TimeInterpolator mInterpolator; // only used in the 2-keyframe case field in KeyframeSet
49 mInterpolator = mLastKeyframe.getInterpolator(); in KeyframeSet()
206 if (mInterpolator != null) { in getValue()
207 fraction = mInterpolator.getInterpolation(fraction); in getValue()
DFloatKeyframeSet.java74 if (mInterpolator != null) { in getFloatValue()
75 fraction = mInterpolator.getInterpolation(fraction); in getFloatValue()
DIntKeyframeSet.java74 if (mInterpolator != null) { in getIntValue()
75 fraction = mInterpolator.getInterpolation(fraction); in getIntValue()
DValueAnimator.java204 private TimeInterpolator mInterpolator = sDefaultInterpolator; field in ValueAnimator
881 mInterpolator = value; in setInterpolator()
883 mInterpolator = new LinearInterpolator(); in setInterpolator()
894 return mInterpolator; in getInterpolator()
1274 fraction = mInterpolator.getInterpolation(fraction); in animateValue()
DAnimatorSet.java125 private TimeInterpolator mInterpolator = null; field in AnimatorSet
254 mInterpolator = interpolator; in setInterpolator()
259 return mInterpolator; in getInterpolator()
519 if (mInterpolator != null) { in start()
521 node.animation.setInterpolator(mInterpolator); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java61 private final Interpolator mInterpolator = new LogInterpolator(); field in KeyButtonRipple
215 scaleAnimator.setInterpolator(mInterpolator); in enterSoftware()
287 startAnim.setInterpolator(mInterpolator); in enterHardware()
295 endAnim.setInterpolator(mInterpolator); in enterHardware()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java118 private final TimeInterpolator mInterpolator; field in BarTransitions.BarBackgroundDrawable
145 mInterpolator = new LinearInterpolator(); in BarBackgroundDrawable()
215 final float v = Math.max(0, Math.min(mInterpolator.getInterpolation(t), 1)); in draw()
DScrimController.java74 private final Interpolator mInterpolator = new DecelerateInterpolator(); field in ScrimController
292 : mInterpolator); in startScrimAnimation()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java42 private final Interpolator mInterpolator = new AccelerateDecelerateInterpolator(); field in FocusHighlightHelper.FocusAnimator
105 if (mInterpolator != null) { in onTimeUpdate()
106 fraction = mInterpolator.getInterpolation(fraction); in onTimeUpdate()
/frameworks/base/core/java/android/widget/
DScroller.java64 private final Interpolator mInterpolator; field in Scroller
173 mInterpolator = new ViscousFluidInterpolator(); in Scroller()
175 mInterpolator = interpolator; in Scroller()
310 final float x = mInterpolator.getInterpolation(timePassed * mDurationReciprocal); in computeScrollOffset()
DEdgeEffect.java91 private final Interpolator mInterpolator; field in EdgeEffect
128 mInterpolator = new DecelerateInterpolator(); in EdgeEffect()
359 final float interp = mInterpolator.getInterpolation(t); in update()
DOverScroller.java38 private Interpolator mInterpolator; field in OverScroller
74 mInterpolator = new Scroller.ViscousFluidInterpolator(); in OverScroller()
76 mInterpolator = interpolator; in OverScroller()
120 mInterpolator = new Scroller.ViscousFluidInterpolator(); in setInterpolator()
122 mInterpolator = interpolator; in setInterpolator()
313 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset()
DProgressBar.java225 private Interpolator mInterpolator; field in ProgressBar
1492 if (mInterpolator == null) { in startAnimation()
1493 mInterpolator = new LinearInterpolator(); in startAnimation()
1511 mAnimation.setInterpolator(mInterpolator); in startAnimation()
1547 mInterpolator = interpolator; in setInterpolator()
1556 return mInterpolator; in getInterpolator()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DProgressBarCompat.java98 private Interpolator mInterpolator; field in ProgressBarCompat
622 if (mInterpolator == null) { in startAnimation()
623 mInterpolator = new LinearInterpolator(); in startAnimation()
631 mAnimation.setInterpolator(mInterpolator); in startAnimation()
668 mInterpolator = interpolator; in setInterpolator()
677 return mInterpolator; in getInterpolator()

12