Home
last modified time | relevance | path

Searched refs:mCameraDevice (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraOps.java67 private CameraDevice mCameraDevice; field in CameraOps
258 if (mCameraDevice != null) { in openCamera()
329 if (mCameraDevice != null) {
330 mCameraDevice.close();
332 mCameraDevice = null;
358 CameraDevice device = mCameraDevice;
407 if (mCameraDevice == null || mSurfaces == null) return;
411 mCameraDevice.createCaptureSession(
416 mCameraDevice.close();
417 mCameraDevice = null;
[all …]
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraOps.java61 private CameraDevice mCameraDevice; field in CameraOps
282 if (mCameraDevice != null) { in openCamera()
364 if (mCameraDevice != null) {
365 mCameraDevice.close();
367 mCameraDevice = null;
393 CameraDevice device = mCameraDevice; in createCaptureRequest()
442 if (mCameraDevice == null || mSurfaces == null) return; in startCameraSession()
446 mCameraDevice.createCaptureSession( in startCameraSession()
451 mCameraDevice.close(); in startCameraSession()
452 mCameraDevice = null; in startCameraSession()
[all …]
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMainActivity.java102 private CameraDevice mCameraDevice; field in MainActivity
277 mCameraDevice = cameraDevice;
286 mCameraDevice = null;
293 mCameraDevice = null;
376 if (null != mCameraDevice) { in closeCamera()
377 mCameraDevice.close(); in closeCamera()
378 mCameraDevice = null; in closeCamera()
467 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) { in startRecordingVideo()
478 mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_RECORD); in startRecordingVideo()
492 mCameraDevice.createCaptureSession(surfaces, new CameraCaptureSession.StateCallback() { in startRecordingVideo()
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraAdvancedExtensionSessionImpl.java86 private CameraDevice mCameraDevice; field in CameraAdvancedExtensionSessionImpl
284 mCameraDevice = cameraDevice; in CameraAdvancedExtensionSessionImpl()
311 mStatsAggregator = new ExtensionSessionStatsAggregator(mCameraDevice.getId(), in CameraAdvancedExtensionSessionImpl()
330 mCameraDevice.getId(), in initialize()
405 CaptureRequest.Builder requestBuilder = mCameraDevice.createCaptureRequest( in initialize()
413 mCameraDevice.createCaptureSession(sessionConfiguration); in initialize()
490 return mCameraDevice; in getDevice()
538 executor, listener, mCameraDevice.getId())); in setRepeatingRequest()
566 executor, listener, mCameraDevice.getId()), isPostviewRequested); in capture()
575 request, executor, listener, mCameraDevice.getId())); in capture()
[all …]
DCameraExtensionSessionImpl.java85 private final CameraDevice mCameraDevice; field in CameraExtensionSessionImpl
297 mCameraDevice = cameraDevice; in CameraExtensionSessionImpl()
318 mStatsAggregator = new ExtensionSessionStatsAggregator(mCameraDevice.getId(), in CameraExtensionSessionImpl()
555 CaptureRequest sessionParamRequest = createRequest(mCameraDevice, sessionParamsList, in initialize()
560 mCameraDevice.createCaptureSession(sessionConfig); in initialize()
566 return mCameraDevice; in getDevice()
731 burstRequest = createBurstRequest(mCameraDevice, in capture()
756 captureRequest = createRequest(mCameraDevice, captureStageList, in capture()
842 CaptureRequest disableRequest = createRequest(mCameraDevice, captureStageList, in close()
873 CaptureRequest initialRequest = createRequest(mCameraDevice, in setInitialCaptureRequest()
[all …]
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraSession.h51 std::shared_ptr<VirtualCameraDevice> mCameraDevice,
121 std::weak_ptr<VirtualCameraDevice> mCameraDevice; variable
DVirtualCameraSession.cc298 : mCameraDevice(cameraDevice), in VirtualCameraSession()
343 std::shared_ptr<VirtualCameraDevice> virtualCamera = mCameraDevice.lock(); in configureStreams()
444 std::shared_ptr<VirtualCameraDevice> camera = mCameraDevice.lock(); in constructDefaultRequestSettings()