Searched refs:mCameraDevice (Results 1 – 5 of 5) sorted by relevance
66 private CameraDevice mCameraDevice; field in SampleVisualQueryDetectionService190 mCameraDevice = camera;196 mCameraDevice.close();201 mCameraDevice.close();202 mCameraDevice = null;209 mCaptureRequestBuilder = mCameraDevice.createCaptureRequest(CAPTURE_MODE); in createCameraPreview()213 mCameraDevice.createCaptureSession(List.of(imageSurface), in createCameraPreview()219 if (mCameraDevice == null) { in createCameraPreview()241 if (null == mCameraDevice) { in updatePreview()281 mCameraDevice.close(); in releaseResources()[all …]
111 private CameraDevice mCameraDevice; field in Camera2VideoFragment191 mCameraDevice = cameraDevice;203 mCameraDevice = null;210 mCameraDevice = null;468 if (null != mCameraDevice) { in closeCamera()469 mCameraDevice.close(); in closeCamera()470 mCameraDevice = null; in closeCamera()487 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) { in startPreview()495 mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in startPreview()500 …mCameraDevice.createCaptureSession(Arrays.asList(previewSurface), new CameraCaptureSession.StateCa… in startPreview()[all …]
177 private CameraDevice mCameraDevice; field in Camera2BasicFragment193 mCameraDevice = cameraDevice;201 mCameraDevice = null;208 mCameraDevice = null;634 if (null != mCameraDevice) { in closeCamera()635 mCameraDevice.close(); in closeCamera()636 mCameraDevice = null; in closeCamera()688 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in createCameraPreviewSession()692 mCameraDevice.createCaptureSession(Arrays.asList(surface, mImageReader.getSurface()), in createCameraPreviewSession()698 if (null == mCameraDevice) { in createCameraPreviewSession()[all …]
199 private CameraDevice mCameraDevice; field in VirtualCameraController.CameraStreamer212 mCameraDevice = camera;248 CaptureRequest.Builder builder = mCameraDevice.createCaptureRequest(297 if (mCameraDevice != null) { in stop()298 mCameraDevice.close(); in stop()
280 private CameraDevice mCameraDevice; field in Camera2RawFragment364 mCameraDevice = cameraDevice;379 mCameraDevice = null;390 mCameraDevice = null;868 if (null != mCameraDevice) { in closeCamera()869 mCameraDevice.close(); in closeCamera()870 mCameraDevice = null; in closeCamera()931 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW); in createCameraPreviewSessionLocked()935 mCameraDevice.createCaptureSession(Arrays.asList(surface, in createCameraPreviewSessionLocked()942 if (null == mCameraDevice) { in createCameraPreviewSessionLocked()[all …]