Searched refs:mCameraState (Results 1 – 3 of 3) sorted by relevance
198 private int mCameraState = PREVIEW_STOPPED; field in PhotoModule1090 mCameraState = state; in setCameraState()1117 if (mCameraDevice == null || mCameraState == SNAPSHOT_IN_PROGRESS in capture()1118 || mCameraState == SWITCHING_CAMERA) { in capture()1366 if (mPaused || (mCameraState == SWITCHING_CAMERA) in onShutterButtonClick()1367 || (mCameraState == PREVIEW_STOPPED) in onShutterButtonClick()1380 Log.d(TAG, "onShutterButtonClick: mCameraState=" + mCameraState + in onShutterButtonClick()1408 if ((mFocusManager.isFocusingSnapOnFinish() || mCameraState == SNAPSHOT_IN_PROGRESS)) { in focusAndCapture()1547 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in pause()1635 || mCameraState == SNAPSHOT_IN_PROGRESS in onSingleTapUp()[all …]
222 private int mCameraState = PREVIEW_STOPPED; field in Camera525 if (mFaceDetectionStarted || mCameraState != IDLE) return; in startFaceDetection()1026 mCameraState = state; in setCameraState()1042 if (mCameraState == SNAPSHOT_IN_PROGRESS || mCameraDevice == null) { in capture()1466 if (mPausing || collapseCameraControls() || mCameraState == SNAPSHOT_IN_PROGRESS) return; in onShutterButtonFocus()1488 Log.v(TAG, "onShutterButtonClick: mCameraState=" + mCameraState); in onShutterButtonClick()1495 if (mFocusManager.isFocusingSnapOnFinish() || mCameraState == SNAPSHOT_IN_PROGRESS) { in onShutterButtonClick()1553 if (mCameraState == PREVIEW_STOPPED) { in doOnResume()1580 if (mCameraState == IDLE) { in doOnResume()1687 || mCameraState == SNAPSHOT_IN_PROGRESS) { in onTouch()[all …]
153 private int mCameraState; field in PanoramaActivity361 mCameraState = PREVIEW_STOPPED; in releaseCamera()1110 if (mCameraState != PREVIEW_STOPPED) stopCameraPreview(); in startCameraPreview()1126 mCameraState = PREVIEW_ACTIVE; in startCameraPreview()1130 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in stopCameraPreview()1134 mCameraState = PREVIEW_STOPPED; in stopCameraPreview()