Searched refs:getNumberOfCameras (Results 1 – 14 of 14) sorted by relevance
122 public int getNumberOfCameras() { in getNumberOfCameras() method in CameraController126 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()
76 public int getNumberOfCameras(); in getNumberOfCameras() method
2051 if (mController.getCameraProvider().getNumberOfCameras() > 1 &&
56 int n = android.hardware.Camera.getNumberOfCameras(); in hasCamera()62 int n = android.hardware.Camera.getNumberOfCameras(); in hasBackCamera()
59 int n = android.hardware.Camera.getNumberOfCameras(); in hasCamera()65 int n = android.hardware.Camera.getNumberOfCameras(); in hasBackCamera()
83 int getNumberOfCameras(); in getNumberOfCameras() method127 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()
98 mNumberOfCameras = android.hardware.Camera.getNumberOfCameras(); in CameraHolder()112 public int getNumberOfCameras() { in getNumberOfCameras() method in CameraHolder
1089 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in getPreferredCameraId()
371 mNumberOfCameras = CameraHolder.instance().getNumberOfCameras(); in onCreate()
50 Mockito.when(wrapper.getNumberOfCameras()).thenReturn(cameras.length); in createCameraWrapper()
156 final int cameraCount = Camera.getNumberOfCameras(); in CameraManager()248 final int cameraCount = Camera.getNumberOfCameras(); in selectCamera()
58 numberOfCameras = Camera.getNumberOfCameras(); in instance()
480 int numCameras = info.getNumberOfCameras(); in getCameraId()
290 final int numberOfCameras = Camera.getNumberOfCameras(); in initCamera()