Home
last modified time | relevance | path

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

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DAnimatedFloat.java41 private ObjectAnimator mValueAnimator; field in AnimatedFloat
51 mValueAnimator = ObjectAnimator.ofFloat(this, VALUE, start, end); in animateToValue()
52 mValueAnimator.addListener(new AnimatorListenerAdapter() { in animateToValue()
55 if (mValueAnimator == animator) { in animateToValue()
56 mValueAnimator = null; in animateToValue()
60 return mValueAnimator; in animateToValue()
75 if (mValueAnimator != null) { in cancelAnimation()
76 mValueAnimator.cancel(); in cancelAnimation()
81 if (mValueAnimator != null && mValueAnimator.isRunning()) { in finishAnimation()
82 mValueAnimator.end(); in finishAnimation()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryItemAnimator.java116 ValueAnimator mValueAnimator; field in DirectoryItemAnimator.ColorAnimation
123 mValueAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), startColor, endColor); in ColorAnimation()
124 mValueAnimator.addUpdateListener(this); in ColorAnimation()
125 mValueAnimator.addListener(this); in ColorAnimation()
131 mValueAnimator.start(); in start()
135 mValueAnimator.cancel(); in cancel()
139 mValueAnimator.end(); in end()