Home
last modified time | relevance | path

Searched refs:mOffsetAnimator (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbView.java56 private ValueAnimator mOffsetAnimator; field in AssistOrbView
193 if (mOffsetAnimator != null) { in animateOffset()
194 mOffsetAnimator.removeAllListeners(); in animateOffset()
195 mOffsetAnimator.cancel(); in animateOffset()
197 mOffsetAnimator = ValueAnimator.ofFloat(mOffset, offset); in animateOffset()
198 mOffsetAnimator.addUpdateListener(mOffsetUpdateListener); in animateOffset()
199 mOffsetAnimator.addListener(new AnimatorListenerAdapter() { in animateOffset()
202 mOffsetAnimator = null; in animateOffset()
205 mOffsetAnimator.setInterpolator(interpolator); in animateOffset()
206 mOffsetAnimator.setStartDelay(startDelay); in animateOffset()
[all …]
/frameworks/support/design/src/android/support/design/widget/
DAppBarLayout.java763 private ValueAnimatorCompat mOffsetAnimator; field in AppBarLayout.Behavior
787 if (started && mOffsetAnimator != null) { in onStartNestedScroll()
789 mOffsetAnimator.cancel(); in onStartNestedScroll()
916 if (mOffsetAnimator != null && mOffsetAnimator.isRunning()) { in animateOffsetWithDuration()
917 mOffsetAnimator.cancel(); in animateOffsetWithDuration()
922 if (mOffsetAnimator == null) { in animateOffsetWithDuration()
923 mOffsetAnimator = ViewUtils.createAnimator(); in animateOffsetWithDuration()
924 mOffsetAnimator.setInterpolator(AnimationUtils.DECELERATE_INTERPOLATOR); in animateOffsetWithDuration()
925 mOffsetAnimator.setUpdateListener(new ValueAnimatorCompat.AnimatorUpdateListener() { in animateOffsetWithDuration()
933 mOffsetAnimator.cancel(); in animateOffsetWithDuration()
[all …]