Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java99 private final CameraInfo cameraInfo; field in CameraManager
149 this.cameraInfo = new CameraInfo(); in CameraManager()
155 final CameraInfo cameraInfo = new CameraInfo(); in CameraManager() local
159 Camera.getCameraInfo(i, cameraInfo); in CameraManager()
160 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
162 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
229 cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT in swapCamera()
244 if (cameraIndex >= 0 && this.cameraInfo.facing == desiredFacing) { in selectCamera()
253 final CameraInfo cameraInfo = new CameraInfo(); in selectCamera() local
255 Camera.getCameraInfo(i, cameraInfo); in selectCamera()
[all …]
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMockCameraFactory.java35 CameraInfo cameraInfo = new CameraInfo(); in createCamera() local
36 cameraInfo.facing = facing; in createCamera()
37 sCameraInfos.put(camera, cameraInfo); in createCamera()
42 CameraInfo cameraInfo = sCameraInfos.get(camera); in getCameraInfo() local
43 outCameraInfo.facing = cameraInfo.facing; in getCameraInfo()
44 outCameraInfo.orientation = cameraInfo.orientation; in getCameraInfo()
45 outCameraInfo.canDisableShutterSound = cameraInfo.canDisableShutterSound; in getCameraInfo()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java84 void getCameraInfo(int index, CameraInfo cameraInfo); in getCameraInfo() argument
132 public void getCameraInfo(final int index, final CameraInfo cameraInfo) {
133 Camera.getCameraInfo(index, cameraInfo);
219 final CameraInfo cameraInfo = new CameraInfo(); in CameraManager() local
223 sCameraWrapper.getCameraInfo(i, cameraInfo); in CameraManager()
224 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_FRONT) { in CameraManager()
226 } else if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in CameraManager()
319 final CameraInfo cameraInfo = new CameraInfo(); in selectCamera() local
321 sCameraWrapper.getCameraInfo(i, cameraInfo); in selectCamera()
322 if (cameraInfo.facing == desiredFacing) { in selectCamera()
DCameraMediaChooser.java424 final Camera.CameraInfo cameraInfo = CameraManager.get().getCameraInfo(); in updateViewState() local
425 final boolean frontCamera = cameraInfo != null && cameraInfo.facing == in updateViewState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java278 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in initCamera() local
281 Camera.getCameraInfo(i, cameraInfo); in initCamera()
282 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in initCamera()
285 mCameraOrientation = cameraInfo.orientation; in initCamera()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java286 Camera.CameraInfo cameraInfo = new Camera.CameraInfo(); in initCamera() local
289 Camera.getCameraInfo(i, cameraInfo); in initCamera()
290 if (cameraInfo.facing == CameraInfo.CAMERA_FACING_BACK) { in initCamera()
293 mCameraOrientation = cameraInfo.orientation; in initCamera()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DOneCameraCharacteristicsImpl.java47 Camera.CameraInfo cameraInfo, Camera.Parameters cameraParameters) { in OneCameraCharacteristicsImpl() argument
48 mCameraInfo = cameraInfo; in OneCameraCharacteristicsImpl()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java71 int cameraId, CameraInfo[] cameraInfo) { in CameraSettings() argument
75 mCameraInfo = cameraInfo; in CameraSettings()