Searched refs:STATE_SUCCESS (Results 1 – 4 of 4) sorted by relevance
71 private static final int STATE_SUCCESS = 3; // Focus finishes and succeeds. field in FocusOverlayManager209 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { in onShutterDown()223 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS in onShutterUp()240 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { in doSnap()262 mState = STATE_SUCCESS; in onAutoFocus()273 mState = STATE_SUCCESS; in onAutoFocus()345 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()496 } else if (mState == STATE_SUCCESS) { in updateFocusUI()531 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
55 private static final int STATE_SUCCESS = 3; // Focus finishes and succeeds. field in FocusManager152 if (mState != STATE_SUCCESS && mState != STATE_FAIL) { in onShutterDown()163 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS in onShutterUp()183 if (!needAutoFocusCall() || (mState == STATE_SUCCESS || mState == STATE_FAIL)) { in doSnap()210 mState = STATE_SUCCESS; in onAutoFocus()221 mState = STATE_SUCCESS; in onAutoFocus()249 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onTouch()425 } else if (mState == STATE_SUCCESS) { in updateFocusUI()460 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
83 private static final int STATE_SUCCESS = 3; // Focus finishes and succeeds. field in FocusOverlayManager262 if (mState == STATE_FOCUSING || mState == STATE_SUCCESS in onShutterUp()281 } else if (mState == STATE_SUCCESS || mState == STATE_FAIL) { in focusAndCapture()298 mState = STATE_SUCCESS; in onAutoFocus()309 mState = STATE_SUCCESS; in onAutoFocus()399 mState == STATE_SUCCESS || mState == STATE_FAIL)) { in onSingleTapUp()586 } else if (mState == STATE_SUCCESS) { in updateFocusUI()631 return mState == STATE_SUCCESS || mState == STATE_FAIL; in isFocusCompleted()
84 static final int STATE_SUCCESS = 5; field in BeamTransferManager245 updateStateAndNotification(mSuccessCount > 0 ? STATE_SUCCESS : STATE_FAILED); in finishTransfer()321 } else if (mState == STATE_SUCCESS) { in updateNotification()367 if ((mState == STATE_SUCCESS || mState == STATE_FAILED || mState == STATE_CANCELLED) in updateStateAndNotification()371 mCallback.onTransferComplete(this, mState == STATE_SUCCESS); in updateStateAndNotification()429 updateStateAndNotification(STATE_SUCCESS); in processFiles()440 updateStateAndNotification(mSuccessCount > 0 ? STATE_SUCCESS : STATE_FAILED); in handleMessage()459 updateStateAndNotification(STATE_SUCCESS); in onScanCompleted()