Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java56 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in FocusManager
152 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { in onShutterDown()
164 || mState == STATE_FAIL) { in onShutterUp()
183 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { in doSnap()
212 mState = STATE_FAIL; in onAutoFocus()
230 mState = STATE_FAIL; in onAutoFocus()
249 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onTouch()
427 } else if (mState == STATE_FAIL) { in updateFocusUI()
460 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
/packages/apps/Camera/src/com/android/camera/
DFocusManager.java74 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in FocusManager
208 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { in onShutterDown()
220 || mState == STATE_FAIL) { in onShutterUp()
239 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { in doSnap()
263 mState = STATE_FAIL; in onAutoFocus()
281 mState = STATE_FAIL; in onAutoFocus()
315 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()
480 } else if (mState == STATE_FAIL) { in updateFocusUI()
514 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()