Searched refs:CAMERA_FACING_FRONT (Results 1 – 19 of 19) sorted by relevance
56 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 …]
160 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()
116 List<Size> frontCameraSizes = computeSizesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()120 computeQualitiesForCamera(SettingsUtil.CAMERA_FACING_FRONT); in computePictureSizes()
140 SettingsUtil.CAMERA_FACING_FRONT); in upgrade()313 if (facing == SettingsUtil.CAMERA_FACING_FRONT) { in upgradeCameraSizeSetting()
511 public static final CameraDeviceSelector CAMERA_FACING_FRONT = new CameraDeviceSelector() { field in SettingsUtil
224 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()684 if (mCameraInfo.facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in updateCameraOrientation()
426 Camera.CameraInfo.CAMERA_FACING_FRONT; in updateViewState()
344 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()
106 if (mFrontCameraId == -1 && mInfo[i].facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraHolder()
496 if (mCameraFacing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in initializeEffect()
386 boolean mirror = (info.facing == CameraInfo.CAMERA_FACING_FRONT); in initializeFirstTime()533 mFaceView.setMirror(info.facing == CameraInfo.CAMERA_FACING_FRONT); in startFaceDetection()
1251 if (info.facing == CameraInfo.CAMERA_FACING_FRONT) { in initializeRecorder()1660 boolean mirror = (info[mCameraId].facing == CameraInfo.CAMERA_FACING_FRONT); in showAlert()
340 previewImageView.setScaleX(cameraDirection == CameraInfo.CAMERA_FACING_FRONT ? -1 : 1); in updateViewState()345 if (cameraDirection == CameraInfo.CAMERA_FACING_FRONT) { in updateViewState()
106 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontVideoCapture()
113 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontImageCapture()
111 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontVideoCapture()
117 android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in testFrontImageCapture()
76 if (cameraInfos[i].facing == Camera.CameraInfo.CAMERA_FACING_FRONT) { in instance()
664 return (intentCameraId == android.hardware.Camera.CameraInfo.CAMERA_FACING_FRONT); in isFrontCameraIntent()