Home
last modified time | relevance | path

Searched refs:CAMERA_FACING_BACK (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java48 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_BACK); in testNoCameraDeviceGetInfo()
62 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_BACK); in testFrontFacingOnlyGetInfo()
68 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_BACK) in testBackFacingOnlyGetInfo()
73 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
74 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_BACK); in testBackFacingOnlyGetInfo()
75 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
81 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_BACK) in testFrontAndBackGetInfo()
87 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_BACK); in testFrontAndBackGetInfo()
88 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
94 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_BACK) in testSwapCamera()
[all …]
/packages/apps/Camera2/src/com/android/camera/settings/
DPictureSizeLoader.java115 List<Size> backCameraSizes = computeSizesForCamera(SettingsUtil.CAMERA_FACING_BACK); in computePictureSizes()
118 computeQualitiesForCamera(SettingsUtil.CAMERA_FACING_BACK); in computePictureSizes()
139 facingSelector == SettingsUtil.CAMERA_FACING_BACK); in computeSizesForCamera()
DAppUpgrader.java142 SettingsUtil.CAMERA_FACING_BACK); in upgrade()
315 } else if (facing == SettingsUtil.CAMERA_FACING_BACK) { in upgradeCameraSizeSetting()
DSettingsUtil.java505 public static final CameraDeviceSelector CAMERA_FACING_BACK = new CameraDeviceSelector() { field in SettingsUtil
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java162 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
230 ? CameraInfo.CAMERA_FACING_BACK in swapCamera()
329 selectCamera(CameraInfo.CAMERA_FACING_BACK); in openCamera()
648 focusOverlayManager.setMirror(cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK); in tryShowPreview()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java226 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
297 CameraInfo.CAMERA_FACING_BACK : in swapCamera()
398 selectCamera(CameraInfo.CAMERA_FACING_BACK); in openCamera()
765 mFocusOverlayManager.setMirror(mCameraInfo.facing == CameraInfo.CAMERA_FACING_BACK); in tryShowPreview()
DCameraMediaChooserView.java71 CameraManager.get().selectCamera(Camera.CameraInfo.CAMERA_FACING_BACK); in resetState()
/packages/apps/Camera2/src/com/android/camera/
DDisableCameraReceiver.java67 if (info.facing == CameraInfo.CAMERA_FACING_BACK) { in hasBackCamera()
/packages/apps/Gallery2/src/com/android/camera/
DDisableCameraReceiver.java66 if (info.facing == CameraInfo.CAMERA_FACING_BACK) { in hasBackCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/cameraui/
DCameraMediaChooserView.java75 CameraManager.get().selectCamera(Camera.CameraInfo.CAMERA_FACING_BACK); in resetState()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DVideoCapture.java92 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in testBackVideoCapture()
DImageCapture.java99 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in testBackImageCapture()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DVideoCapture.java96 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in testBackVideoCapture()
DImageCapture.java102 android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in testBackImageCapture()
/packages/apps/LegacyCamera/src/com/android/camera/
DEffectsRecorder.java95 private int mCameraFacing = Camera.CameraInfo.CAMERA_FACING_BACK;
324 if (mCameraFacing == Camera.CameraInfo.CAMERA_FACING_BACK) { in setRecordingOrientation()
DCameraHolder.java103 if (mBackCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_BACK) { in CameraHolder()
DUtil.java519 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java84 if (direction == Camera.CameraInfo.CAMERA_FACING_BACK) { in getCameraDirection()
DLegacyOneCameraManagerImpl.java73 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_BACK) { in instance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java282 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in initCamera()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java290 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in initCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java79 private int cameraDirection = CameraInfo.CAMERA_FACING_BACK;
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java668 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_BACK); in isBackCameraIntent()