Home
last modified time | relevance | path

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

/frameworks/base/graphics/java/android/graphics/drawable/
DAnimationDrawable.java125 boolean startFromZero = restart || (!mRunning && !mAnimationState.mOneShot) || in setVisible()
158 || !mAnimationState.mOneShot); in start()
232 return mAnimationState.mOneShot; in isOneShot()
241 mAnimationState.mOneShot = oneShot; in setOneShot()
260 final boolean isLastFrame = mAnimationState.mOneShot && nextFrame >= (numFrames - 1); in nextFrame()
263 if (!mAnimationState.mOneShot && nextFrame >= numFrames) { in nextFrame()
354 mAnimationState.mOneShot = a.getBoolean( in updateStateFromTypedArray()
355 R.styleable.AnimationDrawable_oneshot, mAnimationState.mOneShot); in updateStateFromTypedArray()
383 private boolean mOneShot = false; field in AnimationDrawable.AnimationState
390 mOneShot = orig.mOneShot; in AnimationState()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java173 private boolean mOneShot; field in Camera
770 mOneShot = false; in setPreviewCallback()
796 mOneShot = true; in setOneShotPreviewCallback()
834 mOneShot = false; in setPreviewCallbackWithBuffer()
1099 if (mOneShot) { in handleMessage()