Searched refs:STATE_FAIL (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
H A DFocusOverlayManager.java72 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in class:FocusOverlayManager
209 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
224 || mState == STATE_FAIL) {
240 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
264 mState = STATE_FAIL;
275 mState = STATE_FAIL;
345 mState == STATE_SUCCESS || mState == STATE_FAIL)) {
498 } else if (mState == STATE_FAIL) {
531 return mState == STATE_SUCCESS || mState == STATE_FAIL;
/packages/apps/Camera2/src/com/android/camera/
H A DFocusOverlayManager.java71 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in class:FocusOverlayManager
221 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
236 || mState == STATE_FAIL) {
252 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
276 mState = STATE_FAIL;
287 mState = STATE_FAIL;
364 mState == STATE_SUCCESS || mState == STATE_FAIL)) {
509 } else if (mState == STATE_FAIL) {
548 return mState == STATE_SUCCESS || mState == STATE_FAIL;
/packages/apps/LegacyCamera/src/com/android/camera/
H A DFocusManager.java56 private static final int STATE_FAIL = 4; // Focus finishes and fails. field in class:FocusManager
152 if (mState != STATE_SUCCESS && mState != STATE_FAIL) {
164 || mState == STATE_FAIL) {
183 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) {
212 mState = STATE_FAIL;
230 mState = STATE_FAIL;
249 mState == STATE_SUCCESS || mState == STATE_FAIL)) {
427 } else if (mState == STATE_FAIL) {
460 return mState == STATE_SUCCESS || mState == STATE_FAIL;

Completed in 107 milliseconds