Home
last modified time | relevance | path

Searched refs:getCameraInfo (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DCameraManagerTest.java61 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
63 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontFacingOnlyGetInfo()
73 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
75 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testBackFacingOnlyGetInfo()
86 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
88 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testFrontAndBackGetInfo()
97 assertEquals(CameraInfo.CAMERA_FACING_FRONT, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
99 assertEquals(CameraInfo.CAMERA_FACING_BACK, CameraManager.get().getCameraInfo().facing); in testSwapCamera()
DMockCameraFactory.java41 public static void getCameraInfo(Camera camera, CameraInfo outCameraInfo) { in getCameraInfo() method in MockCameraFactory
60 getCameraInfo( in createCameraWrapper()
66 }).when(wrapper).getCameraInfo(Mockito.anyInt(), Mockito.any(CameraInfo.class)); in createCameraWrapper()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java84 void getCameraInfo(int index, CameraInfo cameraInfo); in getCameraInfo() method
132 public void getCameraInfo(final int index, final CameraInfo cameraInfo) {
133 Camera.getCameraInfo(index, cameraInfo);
223 sCameraWrapper.getCameraInfo(i, cameraInfo); in CameraManager()
321 sCameraWrapper.getCameraInfo(i, cameraInfo); in selectCamera()
324 sCameraWrapper.getCameraInfo(i, mCameraInfo); in selectCamera()
333 sCameraWrapper.getCameraInfo(0, mCameraInfo); in selectCamera()
361 sCameraWrapper.getCameraInfo(mCameraIndex, mCameraInfo); in selectCameraByIndex()
374 CameraInfo getCameraInfo() { in getCameraInfo() method in CameraManager
DCameraMediaChooser.java424 final Camera.CameraInfo cameraInfo = CameraManager.get().getCameraInfo(); in updateViewState()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java159 Camera.getCameraInfo(i, cameraInfo); in CameraManager()
255 Camera.getCameraInfo(i, cameraInfo); in selectCamera()
258 Camera.getCameraInfo(i, this.cameraInfo); in selectCamera()
267 Camera.getCameraInfo(0, this.cameraInfo); in selectCamera()
295 Camera.getCameraInfo(this.cameraIndex, cameraInfo); in selectCameraByIndex()
312 public CameraInfo getCameraInfo() { in getCameraInfo() method in CameraManager
/packages/services/Car/evs/manager/
DVirtualCamera.cpp106 Return<void> VirtualCamera::getCameraInfo(getCameraInfo_cb info_cb) { in getCameraInfo() function in android::automotive::evs::V1_0::implementation::VirtualCamera
108 return mHalCamera->getHwCamera()->getCameraInfo(info_cb); in getCameraInfo()
DVirtualCamera.h60 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
DEnumerator.cpp74 cam->getHwCamera()->getCameraInfo([cameraId, &match](CameraDesc desc) { in openCamera()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java102 android.hardware.Camera.getCameraInfo(i, mInfo[i]); in CameraHolder()
116 public CameraInfo[] getCameraInfo() { in getCameraInfo() method in CameraHolder
DUtil.java342 Camera.getCameraInfo(cameraId, info); in getDisplayOrientation()
355 Camera.getCameraInfo(cameraId, info); in getCameraOrientation()
623 CameraInfo info = CameraHolder.instance().getCameraInfo()[cameraId]; in setRotationParameter()
DVideoCamera.java489 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
1250 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeRecorder()
1281 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeEffectsPreview()
1659 CameraInfo[] info = CameraHolder.instance().getCameraInfo(); in showAlert()
DCamera.java385 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in initializeFirstTime()
532 CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId]; in startFaceDetection()
1254 mCameraId, CameraHolder.instance().getCameraInfo()); in loadCameraPreferences()
/packages/apps/Gallery2/src/com/android/camera/
DDisableCameraReceiver.java65 android.hardware.Camera.getCameraInfo(i, info); in hasBackCamera()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.h45 Return<void> getCameraInfo(getCameraInfo_cb _hidl_cb) override;
DEvsEnumerator.cpp247 pCamera->getCameraInfo([&cameraId](CameraDesc desc) { in closeCamera()
DEvsV4lCamera.cpp99 Return<void> EvsV4lCamera::getCameraInfo(getCameraInfo_cb _hidl_cb) { in getCameraInfo() function in android::hardware::automotive::evs::V1_0::implementation::EvsV4lCamera
/packages/apps/Camera2/src/com/android/camera/
DSetActivitiesCameraReceiver.java68 android.hardware.Camera.getCameraInfo(i, info); in hasBackCamera()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java62 Camera.getCameraInfo(i, cameraInfos[i]); in instance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java281 Camera.getCameraInfo(i, cameraInfo); in initCamera()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java291 Camera.getCameraInfo(i, cameraInfo); in initCamera()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCameraComposerFragment.java180 cameraDirection = CameraManager.get().getCameraInfo().facing; in onClick()