Searched refs:mValueAnimator (Results 1 – 3 of 3) sorted by relevance
46 private ObjectAnimator mValueAnimator; field in AnimatedFloat86 mValueAnimator = ObjectAnimator.ofFloat(this, VALUE, start, end); in animateToValue()87 mValueAnimator.addListener(new AnimatorListenerAdapter() { in animateToValue()90 if (mValueAnimator == animator) { in animateToValue()97 if (mValueAnimator == animator) { in animateToValue()98 mValueAnimator = null; in animateToValue()103 return mValueAnimator; in animateToValue()121 if (mValueAnimator != null) { in cancelAnimation()122 mValueAnimator.cancel(); in cancelAnimation()126 if (mValueAnimator != null) { in cancelAnimation()[all …]
116 ValueAnimator mValueAnimator; field in DirectoryItemAnimator.ColorAnimation123 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()
293 private ValueAnimator mValueAnimator; field in LeanbackKeyboardContainer.VoiceIntroAnimator299 mValueAnimator = ValueAnimator.ofFloat(mAlphaOut, mAlphaIn); in VoiceIntroAnimator()300 mValueAnimator.setDuration(mVoiceAnimDur); in VoiceIntroAnimator()301 mValueAnimator.setInterpolator(new AccelerateInterpolator()); in VoiceIntroAnimator()305 if (!isVoiceVisible() && !mValueAnimator.isRunning()) { in startEnterAnimation()311 if (isVoiceVisible() && !mValueAnimator.isRunning()) { in startExitAnimation()318 mValueAnimator.cancel(); in start()320 mValueAnimator.removeAllListeners(); in start()321 mValueAnimator.addListener(enterVoice ? mEnterListener : mExitListener); in start()322 mValueAnimator.removeAllUpdateListeners(); in start()[all …]