Home
last modified time | relevance | path

Searched refs:backCameraId (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DCameraModule.java81 int backCameraId = mCameraProvider.getFirstBackCameraId(); in requestBackCamera() local
82 if (backCameraId != -1) { in requestBackCamera()
83 mCameraProvider.requestCamera(backCameraId); in requestBackCamera()
96 int backCameraId = mCameraProvider.getFirstBackCameraId(); in releaseBackCamera() local
97 if (backCameraId != -1) { in releaseBackCamera()
98 mCameraProvider.releaseCamera(backCameraId); in releaseBackCamera()
/packages/apps/Camera2/src/com/android/camera/app/
DFirstRunDialog.java167 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in promptAspectRatioPreferenceDialog()
168 if (backCameraId != null) { in promptAspectRatioPreferenceDialog()
169 mResolutionSetting.setPictureAspectRatio(backCameraId, aspectRatio); in promptAspectRatioPreferenceDialog()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java83 CameraId backCameraId = firstBack >= 0 ? CameraId.fromLegacyId(firstBack) : null; in instance() local
86 new LegacyOneCameraManagerImpl(backCameraId, frontCameraId, cameraInfos); in instance()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java96 CameraId backCameraId = mOneCameraManager.findFirstCameraFacing(Facing.BACK); in onCreate() local
104 boolean isExposureCompensationSupportedByBackCamera = (backCameraId != null) && in onCreate()
105 (mOneCameraManager.getOneCameraCharacteristics(backCameraId) in onCreate()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java426 int backCameraId = CameraHolder.instance().getBackCameraId(); in restorePreferences() local
427 if (backCameraId != -1) { in restorePreferences()
428 preferences.setLocalId(context, backCameraId); in restorePreferences()
DUtil.java506 int backCameraId = CameraHolder.instance().getBackCameraId(); in getCameraFacingIntentExtras() local
507 if (backCameraId != -1) { in getCameraFacingIntentExtras()
508 cameraId = backCameraId; in getCameraFacingIntentExtras()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java654 int backCameraId = ((CameraActivity) currentActivity).getCameraProvider() in getCameraFacingIntentExtras() local
656 if (backCameraId != -1) { in getCameraFacingIntentExtras()
657 cameraId = backCameraId; in getCameraFacingIntentExtras()
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java366 int backCameraId = CameraHolder.instance().getBackCameraId(); in openCamera() local
367 mCameraDevice = Util.openCamera(this, backCameraId); in openCamera()
368 mCameraOrientation = Util.getCameraOrientation(backCameraId); in openCamera()