Home
last modified time | relevance | path

Searched refs:mCameraState (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java198 private int mCameraState = PREVIEW_STOPPED; field in PhotoModule
1090 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 …]
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java222 private int mCameraState = PREVIEW_STOPPED; field in Camera
525 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 …]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java153 private int mCameraState; field in PanoramaActivity
361 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()