Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java198 private int mCameraState = PREVIEW_STOPPED;
1092 case PREVIEW_STOPPED: in setCameraState()
1367 || (mCameraState == PREVIEW_STOPPED) in onShutterButtonClick()
1547 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in pause()
1637 || mCameraState == PREVIEW_STOPPED) { in onSingleTapUp()
1720 setCameraState(PREVIEW_STOPPED); in closeCamera()
1837 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in stopPreview()
1842 setCameraState(PREVIEW_STOPPED); in stopPreview()
2172 (mCameraState == PREVIEW_STOPPED) || in isCameraIdle()
DPhotoController.java27 public static final int PREVIEW_STOPPED = 0; field
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java217 private static final int PREVIEW_STOPPED = 0; field in Camera
222 private int mCameraState = PREVIEW_STOPPED;
1033 case PREVIEW_STOPPED: in setCameraState()
1553 if (mCameraState == PREVIEW_STOPPED) { in doOnResume()
1785 if (mCameraState == PREVIEW_STOPPED) { in surfaceChanged()
1826 setCameraState(PREVIEW_STOPPED); in closeCamera()
1858 if (mCameraState != PREVIEW_STOPPED) stopPreview(); in startPreview()
1898 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in stopPreview()
1904 setCameraState(PREVIEW_STOPPED); in stopPreview()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java100 private static final int PREVIEW_STOPPED = 0; field in PanoramaActivity
361 mCameraState = PREVIEW_STOPPED; in releaseCamera()
1110 if (mCameraState != PREVIEW_STOPPED) stopCameraPreview(); in startCameraPreview()
1130 if (mCameraDevice != null && mCameraState != PREVIEW_STOPPED) { in stopCameraPreview()
1134 mCameraState = PREVIEW_STOPPED; in stopCameraPreview()