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.java127 boolean startFromZero = restart || (!mRunning && !mAnimationState.mOneShot) || in setVisible()
160 || !mAnimationState.mOneShot); in start()
234 return mAnimationState.mOneShot; in isOneShot()
243 mAnimationState.mOneShot = oneShot; in setOneShot()
262 final boolean isLastFrame = mAnimationState.mOneShot && nextFrame >= (numFrames - 1); in nextFrame()
265 if (!mAnimationState.mOneShot && nextFrame >= numFrames) { in nextFrame()
356 mAnimationState.mOneShot = a.getBoolean( in updateStateFromTypedArray()
357 R.styleable.AnimationDrawable_oneshot, mAnimationState.mOneShot); in updateStateFromTypedArray()
385 private boolean mOneShot = false; field in AnimationDrawable.AnimationState
392 mOneShot = orig.mOneShot; in AnimationState()
[all …]
/frameworks/base/core/java/android/hardware/
DCamera.java184 private boolean mOneShot; field in Camera
874 mOneShot = false; in setPreviewCallback()
902 mOneShot = true; in setOneShotPreviewCallback()
942 mOneShot = false; in setPreviewCallbackWithBuffer()
1210 if (mOneShot) { in handleMessage()