Home
last modified time | relevance | path

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

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java72 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in FocusOverlayManager
197 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { in onShutterDown()
216 || mState == STATE_FAIL) { in onShutterUp()
234 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { in doSnap()
258 mState = STATE_FAIL; in onAutoFocus()
269 mState = STATE_FAIL; in onAutoFocus()
338 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()
473 } else if (mState == STATE_FAIL) { in updateFocusUI()
508 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
/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/Camera2/src/com/android/camera/
DFocusOverlayManager.java84 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in FocusOverlayManager
243 || mState == STATE_FAIL) { in onShutterUp()
261 } else if (mState == STATE_SUCCESS || mState == STATE_FAIL) { in focusAndCapture()
280 mState = STATE_FAIL; in onAutoFocus()
290 mState = STATE_FAIL; in onAutoFocus()
367 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()
563 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java63 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in FocusOverlayManager
179 state = STATE_FAIL; in onAutoFocus()
190 state = STATE_FAIL; in onAutoFocus()
259 && (state == STATE_FOCUSING || state == STATE_SUCCESS || state == STATE_FAIL)) { in onSingleTapUp()
390 } else if (state == STATE_FAIL) { in updateFocusUI()