Lines Matching refs:mState
78 private int mState = STATE_IDLE; field in FocusOverlayManager
229 if (mLockAeAwbNeeded && mAeAwbLock && (mState != STATE_FOCUSING_SNAP_ON_FINISH)) { in unlockAeAwbIfNeeded()
242 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS in onShutterUp()
243 || mState == STATE_FAIL) { in onShutterUp()
261 } else if (mState == STATE_SUCCESS || mState == STATE_FAIL) { in focusAndCapture()
264 } else if (mState == STATE_FOCUSING) { in focusAndCapture()
266 mState = STATE_FOCUSING_SNAP_ON_FINISH; in focusAndCapture()
267 } else if (mState == STATE_IDLE) { in focusAndCapture()
273 if (mState == STATE_FOCUSING_SNAP_ON_FINISH) { in onAutoFocus()
278 mState = STATE_SUCCESS; in onAutoFocus()
280 mState = STATE_FAIL; in onAutoFocus()
283 } else if (mState == STATE_FOCUSING) { in onAutoFocus()
288 mState = STATE_SUCCESS; in onAutoFocus()
290 mState = STATE_FAIL; in onAutoFocus()
302 } else if (mState == STATE_IDLE) { in onAutoFocus()
315 if (mState != STATE_IDLE) { in onAutoFocusMoving()
361 if (!mInitialized || mState == STATE_FOCUSING_SNAP_ON_FINISH) { in onSingleTapUp()
366 if ((mFocusArea != null) && (mState == STATE_FOCUSING || in onSingleTapUp()
367 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()
405 mState = STATE_IDLE; in onPreviewStarted()
414 mState = STATE_IDLE; in onPreviewStopped()
436 mState = focusingState; in autoFocus()
463 mState = STATE_IDLE; in cancelAutoFocus()
470 mState = STATE_IDLE; in capture()
559 return mState; in getFocusState()
563 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
567 return mState == STATE_FOCUSING_SNAP_ON_FINISH; in isFocusingSnapOnFinish()