Home
last modified time | relevance | path

Searched refs:getNumberOfCameras (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/app/
DCameraController.java122 public int getNumberOfCameras() { in getNumberOfCameras() method in CameraController
126 return mInfo.getNumberOfCameras(); in getNumberOfCameras()
150 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) { in isFrontFacingCamera()
162 if (id >= mInfo.getNumberOfCameras() || mInfo.getCharacteristics(id) == null) { in isBackFacingCamera()
DCameraProvider.java76 public int getNumberOfCameras(); in getNumberOfCameras() method
DCameraAppUI.java2050 if (mController.getCameraProvider().getNumberOfCameras() > 1 &&
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java83 int getNumberOfCameras(); in getNumberOfCameras() method
127 public int getNumberOfCameras() {
128 return Camera.getNumberOfCameras();
220 final int cameraCount = sCameraWrapper.getNumberOfCameras(); in CameraManager()
314 final int cameraCount = sCameraWrapper.getNumberOfCameras(); in selectCamera()
383 return sCameraWrapper.getNumberOfCameras() > 0; in hasAnyCamera()
/packages/apps/Camera2/src/com/android/camera/
DDisableCameraReceiver.java57 int n = android.hardware.Camera.getNumberOfCameras(); in hasCamera()
63 int n = android.hardware.Camera.getNumberOfCameras(); in hasBackCamera()
/packages/apps/Gallery2/src/com/android/camera/
DDisableCameraReceiver.java56 int n = android.hardware.Camera.getNumberOfCameras(); in hasCamera()
62 int n = android.hardware.Camera.getNumberOfCameras(); in hasBackCamera()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraHolder.java98 mNumberOfCameras = android.hardware.Camera.getNumberOfCameras(); in CameraHolder()
112 public int getNumberOfCameras() { in getNumberOfCameras() method in CameraHolder
DCamera.java1089 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in getPreferredCameraId()
DVideoCamera.java371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMockCameraFactory.java50 Mockito.when(wrapper.getNumberOfCameras()).thenReturn(cameras.length); in createCameraWrapper()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/
DCameraManager.java156 final int cameraCount = Camera.getNumberOfCameras(); in CameraManager()
248 final int cameraCount = Camera.getNumberOfCameras(); in selectCamera()
/packages/apps/Camera2/src/com/android/camera/one/v1/
DLegacyOneCameraManagerImpl.java58 numberOfCameras = Camera.getNumberOfCameras(); in instance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/qrcode/
DQrCamera.java277 final int numberOfCameras = Camera.getNumberOfCameras(); in initCamera()
/packages/apps/Camera2/src/com/android/camera/settings/
DSettingsUtil.java480 int numCameras = info.getNumberOfCameras(); in getCameraId()
/packages/apps/Settings/src/com/android/settings/wifi/qrcode/
DQrCamera.java285 final int numberOfCameras = Camera.getNumberOfCameras(); in initCamera()