Home
last modified time | relevance | path

Searched refs:cameraInfo (Results 1 – 11 of 11) 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/services/Car/cpp/evs/manager/aidl/src/
DEnumerator.cpp764 std::string cameraInfo; in cmdDumpDevice() local
768 StringAppendF(&cameraInfo, "HalCamera: %s\n%s", deviceId.data(), in cmdDumpDevice()
773 cameraInfo += handle->toString(kSingleIndent); in cmdDumpDevice()
787 cameraInfo += usageStrings[deviceId]; in cmdDumpDevice()
790 cameraInfo += stats; in cmdDumpDevice()
835 StringAppendF(&cameraInfo, "Failed to start a custom collection. %s\n", in cmdDumpDevice()
847 StringAppendF(&cameraInfo, "Failed to stop a custom collection. %s\n", in cmdDumpDevice()
851 cameraInfo += *result; in cmdDumpDevice()
868 WriteStringToFd(cameraInfo, fd); in cmdDumpDevice()
/packages/services/Car/cpp/evs/manager/1.1/
DEnumerator.cpp794 std::string cameraInfo; in cmdDumpDevice() local
798 StringAppendF(&cameraInfo, "HalCamera: %s\n%s", deviceId.c_str(), in cmdDumpDevice()
803 cameraInfo += handle->toString(kSingleIndent); in cmdDumpDevice()
812 cameraInfo += usageStrings[deviceId]; in cmdDumpDevice()
815 cameraInfo += stats; in cmdDumpDevice()
860 StringAppendF(&cameraInfo, "Failed to start a custom collection. %s\n", in cmdDumpDevice()
872 StringAppendF(&cameraInfo, "Failed to stop a custom collection. %s\n", in cmdDumpDevice()
876 cameraInfo += *result; in cmdDumpDevice()
893 WriteStringToFd(cameraInfo, fd); in cmdDumpDevice()
/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/DeviceAsWebcam/src/com/android/DeviceAsWebcam/view/
DCameraPickerDialog.kt362 constructor(cameraInfo: CameraInfo) : this( in <lambda>()
363 cameraInfo.lensFacing, in <lambda>()
364 cameraInfo.cameraId, in <lambda>()
365 cameraInfo.cameraCategory, in <lambda>()
/packages/services/DeviceAsWebcam/src/com/android/DeviceAsWebcam/
DCameraController.java562 CameraInfo cameraInfo = mCameraInfoMap.get(cameraId); in getOrCreateCameraInfo() local
563 if (cameraInfo != null) { in getOrCreateCameraInfo()
564 return cameraInfo; in getOrCreateCameraInfo()
567 cameraInfo = createCameraInfo(cameraId); in getOrCreateCameraInfo()
568 mCameraInfoMap.put(cameraId, cameraInfo); in getOrCreateCameraInfo()
569 return cameraInfo; in getOrCreateCameraInfo()
1621 CameraInfo cameraInfo = getCameraInfo(); in calculateMeteringRectangle() local
1622 Rect activeArraySize = cameraInfo.getActiveArraySize(); in calculateMeteringRectangle()
1628 matrix.postRotate(-cameraInfo.getSensorOrientation(), 0.5f, 0.5f); in calculateMeteringRectangle()
1630 if (cameraInfo.getLensFacing() == CameraCharacteristics.LENS_FACING_FRONT) { in calculateMeteringRectangle()
DDeviceAsWebcamPreview.java773 CameraInfo cameraInfo = mLocalFgService.getOrCreateCameraInfo(cameraId); in canToggleCamera() local
774 if (cameraInfo.getLensFacing() == CameraCharacteristics.LENS_FACING_BACK) { in canToggleCamera()
776 } else if (cameraInfo.getLensFacing() == CameraCharacteristics.LENS_FACING_FRONT) { in canToggleCamera()
/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()