Home
last modified time | relevance | path

Searched refs:mScrollAnimator (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackViewScroller.java76 ObjectAnimator mScrollAnimator; field in TaskStackViewScroller
198 return mScrollAnimator; in animateBoundScroll()
211 if (mScrollAnimator != null && mScrollAnimator.isRunning()) { in animateScroll()
220mScrollAnimator = ObjectAnimator.ofFloat(this, STACK_SCROLL, getStackScroll(), newScroll); in animateScroll()
221 mScrollAnimator.setDuration(duration); in animateScroll()
222 mScrollAnimator.setInterpolator(Interpolators.LINEAR_OUT_SLOW_IN); in animateScroll()
223 mScrollAnimator.addListener(new AnimatorListenerAdapter() { in animateScroll()
229 mScrollAnimator.removeAllListeners(); in animateScroll()
232 mScrollAnimator.start(); in animateScroll()
242 Utilities.cancelAnimationWithoutCallbacks(mScrollAnimator); in stopBoundScrollAnimation()
/frameworks/support/design/src/android/support/design/widget/
DTabLayout.java268 private ValueAnimatorCompat mScrollAnimator; field in TabLayout
415 if (mScrollAnimator != null && mScrollAnimator.isRunning()) { in setScrollPosition()
416 mScrollAnimator.cancel(); in setScrollPosition()
1093 if (mScrollAnimator == null) {
1094 mScrollAnimator = ViewUtils.createAnimator();
1095 mScrollAnimator.setInterpolator(AnimationUtils.FAST_OUT_SLOW_IN_INTERPOLATOR);
1096 mScrollAnimator.setDuration(ANIMATION_DURATION);
1097 mScrollAnimator.setUpdateListener(new ValueAnimatorCompat.AnimatorUpdateListener() {
1105 mScrollAnimator.setIntValues(startScrollX, targetScrollX);
1106 mScrollAnimator.start();
/frameworks/base/docs/html/training/custom-views/
Dmaking-interactive.jd239 mScrollAnimator = ValueAnimator.ofFloat(0,1);
240 mScrollAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
247 mScrollAnimator.cancel();