Home
last modified time | relevance | path

Searched refs:CAMERA_FACING_FRONT (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java56 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_FRONT) in testFrontFacingOnlyGetInfo()
60 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_FRONT); in testFrontFacingOnlyGetInfo()
61 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
63 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
72 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_FRONT); in testBackFacingOnlyGetInfo()
80 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_FRONT), in testFrontAndBackGetInfo()
85 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_FRONT); in testFrontAndBackGetInfo()
86 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
93 MockCameraFactory.createCamera(CameraInfo.CAMERA_FACING_FRONT), in testSwapCamera()
96 CameraManager.get().selectCamera(CameraInfo.CAMERA_FACING_FRONT); in testSwapCamera()
[all …]
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java160 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
229 cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT in swapCamera()
231 : CameraInfo.CAMERA_FACING_FRONT); in swapCamera()
618 cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT); in tryShowPreview()
719 cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT); in onOrientationChanged()
/packages/apps/Camera2/src/com/android/camera/settings/
DPictureSizeLoader.java116 List<Size> frontCameraSizes = computeSizesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()
120 computeQualitiesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()
DAppUpgrader.java140 SettingsUtil.CAMERA_FACING_FRONT); in upgrade()
313 if (facing == SettingsUtil.CAMERA_FACING_FRONT) { in upgradeCameraSizeSetting()
DSettingsUtil.java511 public static final CameraDeviceSelector CAMERA_FACING_FRONT = new CameraDeviceSelector() { field in SettingsUtil
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java224 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
296 selectCamera(mCameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT ? in swapCamera()
298 CameraInfo.CAMERA_FACING_FRONT); in swapCamera()
685 if (mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in updateCameraOrientation()
DCameraMediaChooser.java426 Camera.CameraInfo.CAMERA_FACING_FRONT; in updateViewState()
/packages/apps/LegacyCamera/src/com/android/camera/
DUtil.java344 if (info.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in getDisplayOrientation()
515 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()
624 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in setRotationParameter()
DCameraHolder.java106 if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder()
DEffectsRecorder.java496 if (mCameraFacing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in initializeEffect()
DCamera.java386 boolean mirror = (info.facing == CameraInfo.CAMERA_FACING_FRONT); in initializeFirstTime()
533 mFaceView.setMirror(info.facing == CameraInfo.CAMERA_FACING_FRONT); in startFaceDetection()
DVideoCamera.java1251 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in initializeRecorder()
1660 boolean mirror = (info[mCameraId].facing == CameraInfo.CAMERA_FACING_FRONT); in showAlert()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java340 previewImageView.setScaleX(cameraDirection == CameraInfo.CAMERA_FACING_FRONT ? -1 : 1); in updateViewState()
345 if (cameraDirection == CameraInfo.CAMERA_FACING_FRONT) { in updateViewState()
/packages/apps/Camera2/tests/src/com/android/camera/stress/
DVideoCapture.java106 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontVideoCapture()
DImageCapture.java113 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontImageCapture()
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/
DVideoCapture.java111 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontVideoCapture()
DImageCapture.java117 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontImageCapture()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java76 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in instance()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java669 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()