Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DExitTransitionCoordinator.java63 private ObjectAnimator mBackgroundAnimator; field in ExitTransitionCoordinator
280 if (mBackgroundAnimator == null) { in fadeOutBackground()
286 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 0); in fadeOutBackground()
287 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in fadeOutBackground()
290 mBackgroundAnimator = null; in fadeOutBackground()
297 mBackgroundAnimator.setDuration(getFadeDuration()); in fadeOutBackground()
298 mBackgroundAnimator.start(); in fadeOutBackground()
447 if (mBackgroundAnimator != null) { in finish()
448 mBackgroundAnimator.cancel(); in finish()
449 mBackgroundAnimator = null; in finish()
DEnterTransitionCoordinator.java50 private ObjectAnimator mBackgroundAnimator; field in EnterTransitionCoordinator
517 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 255); in startEnterTransition()
518 mBackgroundAnimator.setDuration(getFadeDuration()); in startEnterTransition()
519 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in startEnterTransition()
525 mBackgroundAnimator.start(); in startEnterTransition()
543 if (mBackgroundAnimator != null) { in stop()
544 mBackgroundAnimator.end(); in stop()
545 mBackgroundAnimator = null; in stop()
577 if (mBackgroundAnimator != null) { in cancelEnter()
578 mBackgroundAnimator.cancel(); in cancelEnter()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DActivatableNotificationView.java127 private ObjectAnimator mBackgroundAnimator; field in ActivatableNotificationView
447 if (mBackgroundAnimator != null) { in fadeDimmedBackground()
448 startAlpha = (Float) mBackgroundAnimator.getAnimatedValue(); in fadeDimmedBackground()
449 duration = (int) mBackgroundAnimator.getCurrentPlayTime(); in fadeDimmedBackground()
450 mBackgroundAnimator.removeAllListeners(); in fadeDimmedBackground()
451 mBackgroundAnimator.cancel(); in fadeDimmedBackground()
458 mBackgroundAnimator = in fadeDimmedBackground()
460 mBackgroundAnimator.setInterpolator(mFastOutSlowInInterpolator); in fadeDimmedBackground()
461 mBackgroundAnimator.setDuration(duration); in fadeDimmedBackground()
462 mBackgroundAnimator.addListener(new AnimatorListenerAdapter() { in fadeDimmedBackground()
[all …]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DGlowPadView.java208 private Tweener mBackgroundAnimator; field in GlowPadView
753 if (mBackgroundAnimator != null) { in startBackgroundAnimation()
754 mBackgroundAnimator.animator.cancel(); in startBackgroundAnimation()
756 mBackgroundAnimator = Tweener.to(background, duration, in startBackgroundAnimation()
760 mBackgroundAnimator.animator.start(); in startBackgroundAnimation()