Home
last modified time | relevance | path

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

12

/frameworks/support/design/eclair-mr1/android/support/design/widget/
DValueAnimatorCompatImplEclairMr1.java42 private Interpolator mInterpolator; field in ValueAnimatorCompatImplEclairMr1
55 if (mInterpolator == null) { in start()
56 mInterpolator = new AccelerateDecelerateInterpolator(); in start()
76 mInterpolator = interpolator; in setInterpolator()
155 mAnimatedFraction = mInterpolator != null in update()
156 ? mInterpolator.getInterpolation(linearFraction) in update()
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java89 protected Interpolator mInterpolator; field in LayoutAnimationController
246 mInterpolator = interpolator; in setInterpolator()
256 return mInterpolator; in getInterpolator()
382 if (mInterpolator == null) { in getDelayForView()
383 mInterpolator = new LinearInterpolator(); in getDelayForView()
387 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay); in getDelayForView()
DAnimation.java175 Interpolator mInterpolator; field in Animation
404 mInterpolator = i; in setInterpolator()
664 return mInterpolator; in getInterpolator()
811 if (mInterpolator == null) { in ensureInterpolator()
812 mInterpolator = new AccelerateDecelerateInterpolator(); in ensureInterpolator()
872 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime); in getTransformation()
1050 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
68 if (mInterpolator != null) { in start()
69 animator.setInterpolator(mInterpolator); in start()
103 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/core/java/android/view/
DRenderNodeAnimator.java88 private TimeInterpolator mInterpolator; field in RenderNodeAnimator
162 if (mInterpolator == null) return; in applyInterpolator()
165 if (isNativeInterpolator(mInterpolator)) { in applyInterpolator()
166 ni = ((NativeInterpolatorFactory)mInterpolator).createNativeInterpolator(); in applyInterpolator()
169 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration); in applyInterpolator()
352 mInterpolator = interpolator; in setInterpolator()
357 return mInterpolator; in getInterpolator()
DViewPropertyAnimator.java86 private TimeInterpolator mInterpolator; field in ViewPropertyAnimator
342 mInterpolator = interpolator; in setInterpolator()
353 return mInterpolator; in getInterpolator()
901 animator.setInterpolator(mInterpolator); in startAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDragDownHelper.java55 private Interpolator mInterpolator; field in DragDownHelper
62 mInterpolator = in DragDownHelper()
179 anim.setInterpolator(mInterpolator); in cancelExpansion()
192 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.java39 TimeInterpolator mInterpolator; // only used in the 2-keyframe case field in KeyframeSet
50 mInterpolator = mLastKeyframe.getInterpolator(); in KeyframeSet()
206 if (mInterpolator != null) { in getValue()
207 fraction = mInterpolator.getInterpolation(fraction); in getValue()
DIntKeyframeSet.java74 if (mInterpolator != null) { in getIntValue()
75 fraction = mInterpolator.getInterpolation(fraction); in getIntValue()
DFloatKeyframeSet.java74 if (mInterpolator != null) { in getFloatValue()
75 fraction = mInterpolator.getInterpolation(fraction); in getFloatValue()
DValueAnimator.java250 private TimeInterpolator mInterpolator = sDefaultInterpolator; field in ValueAnimator
1004 mInterpolator = value; in setInterpolator()
1006 mInterpolator = new LinearInterpolator(); in setInterpolator()
1017 return mInterpolator; in getInterpolator()
1454 fraction = mInterpolator.getInterpolation(fraction); in animateValue()
DAnimatorSet.java126 private TimeInterpolator mInterpolator = null; field in AnimatorSet
268 mInterpolator = interpolator; in setInterpolator()
273 return mInterpolator; in getInterpolator()
533 if (mInterpolator != null) { in start()
535 node.animation.setInterpolator(mInterpolator); in start()
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java42 private Interpolator mInterpolator; field in FloatingActionButtonLollipop
48 mInterpolator = AnimationUtils.loadInterpolator(mView.getContext(), in FloatingActionButtonLollipop()
129 animator.setInterpolator(mInterpolator); in setupAnimator()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java40 private final Interpolator mInterpolator; field in AppearAnimationUtils
56 mInterpolator = interpolator; in AppearAnimationUtils()
103 mAppearing, mInterpolator, endRunnable); in startAnimations()
127 mAppearing, mInterpolator, endRunnable); in startAnimations()
176 return mInterpolator; in getInterpolator()
/frameworks/base/libs/hwui/
DAnimator.cpp59 mInterpolator.reset(interpolator); in setInterpolator()
118 if (!mInterpolator) { in transitionToRunning()
119 mInterpolator.reset(Interpolator::createDefaultInterpolator()); in transitionToRunning()
152 fraction = mInterpolator->interpolate(fraction); in animate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java61 private final Interpolator mInterpolator = new LogInterpolator(); field in KeyButtonRipple
219 scaleAnimator.setInterpolator(mInterpolator); in enterSoftware()
291 startAnim.setInterpolator(mInterpolator); in enterHardware()
299 endAnim.setInterpolator(mInterpolator); in enterHardware()
/frameworks/base/core/java/android/widget/
DScroller.java63 private final Interpolator mInterpolator; field in Scroller
172 mInterpolator = new ViscousFluidInterpolator(); in Scroller()
174 mInterpolator = interpolator; in Scroller()
309 final float x = mInterpolator.getInterpolation(timePassed * mDurationReciprocal); in computeScrollOffset()
DOverScroller.java37 private Interpolator mInterpolator; field in OverScroller
73 mInterpolator = new Scroller.ViscousFluidInterpolator(); in OverScroller()
75 mInterpolator = interpolator; in OverScroller()
119 mInterpolator = new Scroller.ViscousFluidInterpolator(); in setInterpolator()
121 mInterpolator = interpolator; in setInterpolator()
310 final float q = mInterpolator.getInterpolation(elapsedTime / (float) duration); in computeScrollOffset()
DEdgeEffect.java91 private final Interpolator mInterpolator; field in EdgeEffect
128 mInterpolator = new DecelerateInterpolator(); in EdgeEffect()
360 final float interp = mInterpolator.getInterpolation(t); in update()
/frameworks/base/services/core/java/com/android/server/policy/
DImmersiveModeConfirmation.java191 private final Interpolator mInterpolator; field in ImmersiveModeConfirmation.ClingWindowView
237 mInterpolator = AnimationUtils in ClingWindowView()
276 .setInterpolator(mInterpolator) in onAttachedToWindow()
289 mColorAnim.setInterpolator(mInterpolator); in onAttachedToWindow()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DFocusHighlightHelper.java63 private final Interpolator mInterpolator = new AccelerateDecelerateInterpolator(); field in FocusHighlightHelper.FocusAnimator
126 if (mInterpolator != null) { in onTimeUpdate()
127 fraction = mInterpolator.getInterpolation(fraction); in onTimeUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBarTransitions.java127 private final TimeInterpolator mInterpolator; field in BarTransitions.BarBackgroundDrawable
154 mInterpolator = new LinearInterpolator(); in BarBackgroundDrawable()
224 final float v = Math.max(0, Math.min(mInterpolator.getInterpolation(t), 1)); in draw()
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java58 PathInterpolator mInterpolator = new PathInterpolator(0f, 0f, 0.5f, 1f); field in PlatLogoActivity
198 .setInterpolator(mInterpolator) in onAttachedToWindow()
211 fadeIn.setInterpolator(mInterpolator); in showMarshmallow()

12