Searched refs:cameraDevice (Results 1 – 10 of 10) sorted by relevance
124 public CloseCameraRunnable(CameraDevice cameraDevice, in CloseCameraRunnable() argument127 mCameraDevice = cameraDevice; in CloseCameraRunnable()160 public void onOpened(CameraDevice cameraDevice) { in onOpened() argument162 mLogger.i("onOpened(id: " + cameraDevice.getId() + ")"); in onOpened()163 mOpenListener.onDeviceOpened(cameraDevice); in onOpened()168 public void onClosed(CameraDevice cameraDevice) { in onClosed() argument170 mLogger.w("onClosed(id: " + cameraDevice.getId() + ")"); in onClosed()171 mOpenListener.onDeviceOpenException(cameraDevice); in onClosed()176 public void onDisconnected(CameraDevice cameraDevice) { in onDisconnected() argument178 mLogger.w("onDisconnected(id: " + cameraDevice.getId() + ")"); in onDisconnected()[all …]
120 Camera cameraDevice, in CloseCameraRunnable() argument123 mCameraDevice = cameraDevice; in CloseCameraRunnable()
158 public CloseCameraRunnable(CameraProxy cameraDevice, CameraAgent cameraAgent, in CloseCameraRunnable() argument160 mCameraDevice = cameraDevice; in CloseCameraRunnable()
59 private var cameraDevice: CameraDevice? = null variable in android.permissionui.cts.appthataccessescameraandmic.AccessCameraOrMicActivity119 cameraDevice?.close() in finish()120 cameraDevice = null in finish()144 cameraDevice = camDevice in onOpened()156 val builder = cameraDevice!!.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW) in onOpened()189 cameraDevice!!.createCaptureSession(sessionConfiguration) in onOpened()218 if (camDevice == cameraDevice) { in startBackupCamera()219 cameraDevice = null in startBackupCamera()
118 public void onOpened(CameraDevice cameraDevice) {119 mCameraDevice = cameraDevice;170 public void onDisconnected(CameraDevice cameraDevice) {171 cameraDevice.close();176 public void onError(CameraDevice cameraDevice, int error) {177 cameraDevice.close();
31 public CameraDeviceRequestBuilderFactory(CameraDeviceProxy cameraDevice) { in CameraDeviceRequestBuilderFactory() argument32 mCameraDevice = cameraDevice; in CameraDeviceRequestBuilderFactory()
70 public AndroidCameraDeviceProxy(CameraDevice cameraDevice) { in AndroidCameraDeviceProxy() argument71 mCameraDevice = cameraDevice; in AndroidCameraDeviceProxy()
188 public void onOpened(@NonNull CameraDevice cameraDevice) {192 mCameraDevice = cameraDevice;197 public void onDisconnected(CameraDevice cameraDevice) {199 Log.v(TAG, "onDisconnected: " + cameraDevice.getId() +201 mCameraAvailabilityState.get(cameraDevice.getId()));218 public void onError(@NonNull CameraDevice cameraDevice, int error) {220 Log.e(TAG, "Camera id " + cameraDevice.getId() + ": onError " + error);
31 OneCamera createOneCamera(CameraDeviceProxy cameraDevice, in createOneCamera() argument
144 public void setCamera(Camera cameraDevice) { in setCamera() argument156 mCameraDevice = cameraDevice; in setCamera()