HomeSort by relevance Sort by last modified time
    Searched defs:mCameraDevice (Results 1 - 25 of 39) sorted by null

1 2

  /packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
CameraDeviceRequestBuilderFactory.java 29 private final CameraDeviceProxy mCameraDevice;
32 mCameraDevice = cameraDevice;
38 mCameraDevice.createCaptureRequest(templateType)));
AndroidCameraDeviceProxy.java 68 private final CameraDevice mCameraDevice;
71 mCameraDevice = cameraDevice;
76 return mCameraDevice.getId();
84 mCameraDevice.createCaptureSession(list, new AndroidCaptureSessionStateCallback(
90 return mCameraDevice.createCaptureRequest(i);
95 mCameraDevice.close();
  /device/generic/goldfish/camera/
WorkerThread.h 80 EmulatedCameraDevice* mCameraDevice;
EmulatedCameraDevice.h 242 EmulatedCameraDevice& mCameraDevice;
  /packages/apps/LegacyCamera/src/com/android/camera/
CameraHolder.java 47 private android.hardware.Camera mCameraDevice;
123 if (mCameraDevice != null && mCameraId != cameraId) {
124 mCameraDevice.release();
125 mCameraDevice = null;
128 if (mCameraDevice == null) {
131 mCameraDevice = android.hardware.Camera.open(cameraId);
137 mParameters = mCameraDevice.getParameters();
140 mCameraDevice.reconnect();
145 mCameraDevice.setParameters(mParameters);
150 return mCameraDevice;
    [all...]
ActivityBase.java 40 protected Camera mCameraDevice;
67 // onCreate. doOnResume should continue if mCameraDevice != null.
73 if (mCameraDevice == null && isKeyguardLocked()) {
Camera.java 481 mCameraDevice.stopSmoothZoom();
489 mParameters = mCameraDevice.getParameters();
498 mCameraDevice.setZoomChangeListener(mZoomListener);
510 mCameraDevice.stopSmoothZoom();
514 mCameraDevice.startSmoothZoom(index);
535 mCameraDevice.setFaceDetectionListener(this);
536 mCameraDevice.startFaceDetection();
545 mCameraDevice.setFaceDetectionListener(null);
546 mCameraDevice.stopFaceDetection();
    [all...]
EffectsRecorder.java 81 private Camera mCameraDevice;
156 mCameraDevice = cameraDevice;
472 mCameraDevice.stopPreview();
474 mCameraDevice.setPreviewTexture(null);
540 if (mCameraDevice == null) {
584 mCameraDevice.stopPreview();
586 mCameraDevice.setPreviewTexture(null);
598 mCameraDevice.stopPreview();
601 mCameraDevice.setPreviewTexture(mTextureSource);
606 mCameraDevice.startPreview()
    [all...]
  /packages/apps/Camera2/src/com/android/camera/device/
Camera2Actions.java 121 private final CameraDevice mCameraDevice;
127 mCameraDevice = cameraDevice;
135 mLogger.i("mCameraDevice.close(id: " + mCameraDevice.getId() + ")");
136 mCameraDevice.close();
LegacyCameraActions.java 116 private final Camera mCameraDevice;
123 mCameraDevice = cameraDevice;
133 mCameraDevice.release();
PortabilityCameraActions.java 154 private final CameraProxy mCameraDevice;
160 mCameraDevice = cameraDevice;
169 mLogger.i("mCameraAgent.closeCamera(id: " + mCameraDevice.getCameraId() + ")");
170 mCameraAgent.closeCamera(mCameraDevice, true /* synchronous */);
  /developers/build/prebuilts/gradle/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
CameraOps.java 44 private CameraDevice mCameraDevice;
91 if (mCameraDevice != null) {
119 if (mCameraDevice != null) {
120 mCameraDevice.close();
122 mCameraDevice = null;
144 CameraDevice device = mCameraDevice;
192 if (mCameraDevice == null || mSurfaces == null) return;
195 mCameraDevice.createCaptureSession(
200 mCameraDevice.close();
201 mCameraDevice = null
    [all...]
  /developers/samples/android/media/HdrViewfinder/Application/src/main/java/com/example/android/hdrviewfinder/
CameraOps.java 44 private CameraDevice mCameraDevice;
91 if (mCameraDevice != null) {
119 if (mCameraDevice != null) {
120 mCameraDevice.close();
122 mCameraDevice = null;
144 CameraDevice device = mCameraDevice;
192 if (mCameraDevice == null || mSurfaces == null) return;
195 mCameraDevice.createCaptureSession(
200 mCameraDevice.close();
201 mCameraDevice = null
    [all...]
  /development/samples/browseable/HdrViewfinder/src/com.example.android.hdrviewfinder/
CameraOps.java 43 private CameraDevice mCameraDevice;
89 if (mCameraDevice != null) {
117 if (mCameraDevice != null) {
118 mCameraDevice.close();
120 mCameraDevice = null;
142 CameraDevice device = mCameraDevice;
190 if (mCameraDevice == null || mSurfaces == null) return;
193 mCameraDevice.createCaptureSession(
198 mCameraDevice.close();
199 mCameraDevice = null
    [all...]
  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
TestVideoProvider.java 67 private CameraDevice mCameraDevice;
255 mCameraDevice = blockingCameraManager.openCamera(cameraId, null /* listener */,
271 mCameraDevice.createCaptureSession(surfaces, blkSession, mHandler);
272 mCaptureRequest = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
295 if (mCameraDevice != null) {
296 mCameraDevice.close();
297 mCameraDevice = null;
  /packages/apps/Camera2/src/com/android/camera/
PhotoModule.java 129 private CameraProxy mCameraDevice;
463 if (mCameraDevice == null) {
466 mCameraDevice.setPreviewTexture(null);
575 if (mCameraDevice != null) {
576 mCameraDevice.applySettings(mCameraSettings);
738 if (mFaceDetectionStarted || mCameraDevice == null) {
744 mCameraDevice.setFaceDetectionCallback(mHandler, mUI);
745 mCameraDevice.startFaceDetection();
752 if (!mFaceDetectionStarted || mCameraDevice == null) {
757 mCameraDevice.setFaceDetectionCallback(null, null)
    [all...]
VideoModule.java 184 private CameraProxy mCameraDevice;
387 if (mPaused || mCameraDevice == null) {
412 || !mAppController.isShutterEnabled() || mCameraDevice == null) {
418 mCameraDevice.applySettings(mCameraSettings);
421 mCameraDevice.takePicture(mHandler,
429 if (mPaused || mCameraDevice == null) {
434 mCameraDevice.setAutoFocusMoveCallback(mHandler,
437 mCameraDevice.setAutoFocusMoveCallback(null, null);
588 mCameraDevice = cameraProxy;
589 mCameraCapabilities = mCameraDevice.getCapabilities()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/
CameraStreamManager.java 71 private CameraDevice mCameraDevice;
87 mCameraDevice = cameraDevice;
95 mCameraDevice = null;
102 mCameraDevice = null;
217 if (null != mCameraDevice) {
218 mCameraDevice.close();
219 mCameraDevice = null;
269 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
273 mCameraDevice.createCaptureSession(Arrays.asList(surface),
279 if (null == mCameraDevice) {
    [all...]
  /frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
CameraOps.java 61 private CameraDevice mCameraDevice;
282 if (mCameraDevice != null) {
364 if (mCameraDevice != null) {
365 mCameraDevice.close();
367 mCameraDevice = null;
393 CameraDevice device = mCameraDevice;
442 if (mCameraDevice == null || mSurfaces == null) return;
446 mCameraDevice.createCaptureSession(
451 mCameraDevice.close();
452 mCameraDevice = null
    [all...]
  /cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
CameraEvictionTest.java 59 private CameraDevice mCameraDevice;
69 CameraDevice mCameraDevice;
78 mCameraDevice = cameraDevice;
87 mCameraDevice = null;
95 mCameraDevice = null;
108 return mCameraDevice;
139 if (mCameraDevice != null) {
140 mCameraDevice.close();
141 mCameraDevice = null;
  /device/google/cuttlefish_common/guest/hals/camera/
EmulatedCameraDevice.h 383 mCameraDevice(camera_dev),
454 if (mCameraDevice->inWorkerThread()) {
463 EmulatedCameraDevice* mCameraDevice;
  /packages/apps/DevCamera/src/com/android/devcamera/
Api2Camera.java 134 volatile private CameraDevice mCameraDevice;
357 if (mCameraDevice != null) {
363 mCameraDevice.close();
379 mCameraDevice = camera;
389 if (mCameraDevice != null && mAllThingsInitialized && mPreviewSurface != null) {
447 mCameraDevice.createReprocessableCaptureSession(inputConfig, outputSurfaces,
451 mCameraDevice.createCaptureSession(outputSurfaces, mSessionStateCallback, null);
533 CaptureRequest.Builder b1 = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
592 CaptureRequest.Builder b1 = mCameraDevice.createReprocessCaptureRequest(mLastTotalCaptureResult);
    [all...]
  /developers/build/prebuilts/gradle/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 111 private CameraDevice mCameraDevice;
191 mCameraDevice = cameraDevice;
203 mCameraDevice = null;
210 mCameraDevice = null;
471 if (null != mCameraDevice) {
472 mCameraDevice.close();
473 mCameraDevice = null;
490 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) {
498 mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
503 mCameraDevice.createCaptureSession(Collections.singletonList(previewSurface)
    [all...]
  /developers/samples/android/media/Camera2Video/Application/src/main/java/com/example/android/camera2video/
Camera2VideoFragment.java 111 private CameraDevice mCameraDevice;
191 mCameraDevice = cameraDevice;
203 mCameraDevice = null;
210 mCameraDevice = null;
471 if (null != mCameraDevice) {
472 mCameraDevice.close();
473 mCameraDevice = null;
490 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) {
498 mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
503 mCameraDevice.createCaptureSession(Collections.singletonList(previewSurface)
    [all...]
  /development/samples/browseable/Camera2Video/src/com.example.android.camera2video/
Camera2VideoFragment.java 111 private CameraDevice mCameraDevice;
191 mCameraDevice = cameraDevice;
203 mCameraDevice = null;
210 mCameraDevice = null;
468 if (null != mCameraDevice) {
469 mCameraDevice.close();
470 mCameraDevice = null;
487 if (null == mCameraDevice || !mTextureView.isAvailable() || null == mPreviewSize) {
495 mPreviewBuilder = mCameraDevice.createCaptureRequest(CameraDevice.TEMPLATE_PREVIEW);
500 mCameraDevice.createCaptureSession(Arrays.asList(previewSurface), new CameraCaptureSession.StateCallback()
    [all...]

Completed in 798 milliseconds

1 2