Searched refs:mCameraDevice (Results 1 – 3 of 3) sorted by relevance
43 private CameraDevice mCameraDevice; field in CameraOps89 if (mCameraDevice != null) { in openCamera()117 if (mCameraDevice != null) {118 mCameraDevice.close();120 mCameraDevice = null;142 CameraDevice device = mCameraDevice; in createCaptureRequest()190 if (mCameraDevice == null || mSurfaces == null) return; in startCameraSession()193 mCameraDevice.createCaptureSession( in startCameraSession()198 mCameraDevice.close(); in startCameraSession()199 mCameraDevice = null; in startCameraSession()[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 …]