Home
last modified time | relevance | path

Searched refs:mBackgroundAnimator (Results 1 – 4 of 4) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DDetailsBackgroundVideoHelper.java57 private ValueAnimator mBackgroundAnimator; field in DetailsBackgroundVideoHelper
176 if (mBackgroundAnimator != null) { in crossFadeBackgroundToVideo()
177 mBackgroundAnimator.cancel(); in crossFadeBackgroundToVideo()
178 mBackgroundAnimator = null; in crossFadeBackgroundToVideo()
188 if (mBackgroundAnimator != null) { in crossFadeBackgroundToVideo()
189 mBackgroundAnimator.cancel(); in crossFadeBackgroundToVideo()
190 mBackgroundAnimator = null; in crossFadeBackgroundToVideo()
203 mBackgroundAnimator = ValueAnimator.ofFloat(startAlpha, endAlpha); in crossFadeBackgroundToVideo()
204 mBackgroundAnimator.setDuration(BACKGROUND_CROSS_FADE_DURATION); in crossFadeBackgroundToVideo()
205 mBackgroundAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in crossFadeBackgroundToVideo()
[all …]
/frameworks/base/core/java/android/app/
DExitTransitionCoordinator.java60 private ObjectAnimator mBackgroundAnimator; field in ExitTransitionCoordinator
293 if (mBackgroundAnimator == null) { in fadeOutBackground()
299 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 0); in fadeOutBackground()
300 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in fadeOutBackground()
303 mBackgroundAnimator = null; in fadeOutBackground()
311 mBackgroundAnimator.setDuration(getFadeDuration()); in fadeOutBackground()
312 mBackgroundAnimator.start(); in fadeOutBackground()
497 if (mBackgroundAnimator != null) { in clearState()
498 mBackgroundAnimator.cancel(); in clearState()
499 mBackgroundAnimator = null; in clearState()
DEnterTransitionCoordinator.java57 private ObjectAnimator mBackgroundAnimator; field in EnterTransitionCoordinator
587 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 255); in startEnterTransition()
588 mBackgroundAnimator.setDuration(getFadeDuration()); in startEnterTransition()
589 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in startEnterTransition()
596 mBackgroundAnimator.start(); in startEnterTransition()
618 if (mBackgroundAnimator != null) { in stop()
619 mBackgroundAnimator.end(); in stop()
620 mBackgroundAnimator = null; in stop()
661 if (mBackgroundAnimator != null) { in clearState()
662 mBackgroundAnimator.cancel(); in clearState()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java127 private ObjectAnimator mBackgroundAnimator; field in ActivatableNotificationView
654 if (mBackgroundAnimator != null) { in fadeDimmedBackground()
655 startAlpha = (Float) mBackgroundAnimator.getAnimatedValue(); in fadeDimmedBackground()
656 duration = (int) mBackgroundAnimator.getCurrentPlayTime(); in fadeDimmedBackground()
657 mBackgroundAnimator.removeAllListeners(); in fadeDimmedBackground()
658 mBackgroundAnimator.cancel(); in fadeDimmedBackground()
665 mBackgroundAnimator = in fadeDimmedBackground()
667 mBackgroundAnimator.setInterpolator(Interpolators.FAST_OUT_SLOW_IN); in fadeDimmedBackground()
668 mBackgroundAnimator.setDuration(duration); in fadeDimmedBackground()
669 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in fadeDimmedBackground()
[all …]