Home
last modified time | relevance | path

Searched refs:CameraHolder (Results 1 – 10 of 10) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java45 public class CameraHolder { class
63 private static CameraHolder sHolder;
64 public static synchronized CameraHolder instance() { in instance()
66 sHolder = new CameraHolder(); in instance()
81 synchronized (CameraHolder.this) { in handleMessage()
87 if (CameraHolder.this.mUsers == 0) releaseCamera(); in handleMessage()
94 private CameraHolder() { in CameraHolder() method in CameraHolder
DCameraButtonIntentReceiver.java38 CameraHolder holder = CameraHolder.instance(); in onReceive()
DUtil.java267 return CameraHolder.instance().open(cameraId); in openCamera()
500 int frontCameraId = CameraHolder.instance().getFrontCameraId(); in getCameraFacingIntentExtras()
506 int backCameraId = CameraHolder.instance().getBackCameraId(); in getCameraFacingIntentExtras()
623 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId]; in setRotationParameter()
DVideoCamera.java371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()
481 mBackCameraId = CameraHolder.instance().getBackCameraId(); in onCreate()
482 mFrontCameraId = CameraHolder.instance().getFrontCameraId(); in onCreate()
489 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
955 CameraHolder.instance().release(); in closeCamera()
1250 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeRecorder()
1281 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeEffectsPreview()
1659 CameraInfo[] info = CameraHolder.instance().getCameraInfo(); in showAlert()
DCamera.java385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeFirstTime()
532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in startFaceDetection()
1089 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in getPreferredCameraId()
1205 mBackCameraId = CameraHolder.instance().getBackCameraId(); in onCreate()
1206 mFrontCameraId = CameraHolder.instance().getFrontCameraId(); in onCreate()
1254 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
1820 CameraHolder.instance().release(); in closeCamera()
DCameraSettings.java426 int backCameraId = CameraHolder.instance().getBackCameraId(); in restorePreferences()
433 int frontCameraId = CameraHolder.instance().getFrontCameraId(); in restorePreferences()
DMenuHelper.java88 CameraHolder.instance().keep(); in startCameraActivity()
/packages/apps/Camera2/
Dproguard.flags29 -keep class com.android.camera.CameraHolder {
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java22 import com.android.camera.CameraHolder;
359 CameraHolder.instance().release(); in releaseCamera()
366 int backCameraId = CameraHolder.instance().getBackCameraId(); in openCamera()
/packages/apps/Gallery2/
Dproguard.flags36 -keep class com.android.camera.CameraHolder {