Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java38 private ObjectAnimator mFlashAnim; field in AnimationManager
136 if (mFlashAnim != null && mFlashAnim.isRunning()) { in startFlashAnimation()
137 mFlashAnim.cancel(); in startFlashAnimation()
140 mFlashAnim = ObjectAnimator.ofFloat(flashOverlay, "alpha", in startFlashAnimation()
142 mFlashAnim.setDuration(AnimationManager.FLASH_DURATION); in startFlashAnimation()
143 mFlashAnim.addListener(new Animator.AnimatorListener() { in startFlashAnimation()
153 mFlashAnim.removeAllListeners(); in startFlashAnimation()
154 mFlashAnim = null; in startFlashAnimation()
167 mFlashAnim.start(); in startFlashAnimation()
175 if (mFlashAnim != null && mFlashAnim.isRunning()) { in cancelAnimations()
[all …]