/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...] |
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...] |
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...] |
ActivityBase.java | 40 protected Camera mCameraDevice; 67 // onCreate. doOnResume should continue if mCameraDevice != null. 73 if (mCameraDevice == null && isKeyguardLocked()) {
|
VideoCamera.java | 388 mCameraDevice = Util.openCamera(VideoCamera.this, mCameraId); 792 mParameters = mCameraDevice.getParameters(); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
CameraHolder.java | 52 private CameraProxy mCameraDevice; 105 Log.d(TAG, "mCameraId = " + s.id + ", mCameraDevice = " + s.device); 195 collectState(cameraId, mCameraDevice); 202 if (mCameraDevice != null && mCameraId != cameraId) { 203 mCameraDevice.release(); 204 mCameraDevice = null; 207 if (mCameraDevice == null) { 210 mCameraDevice = CameraManagerFactory 214 mCameraDevice = mMockCamera[cameraId]; 217 mCameraDevice = null [all...] |
VideoModule.java | 168 private CameraProxy mCameraDevice; 207 if (mCameraDevice == null) { 208 mCameraDevice = CameraUtil.openCamera( 212 if (mCameraDevice == null) { 216 mParameters = mCameraDevice.getParameters(); 353 if (mCameraDevice == null) { 400 mCameraDevice.setParameters(mParameters); 403 mCameraDevice.takePicture(mHandler, 600 if (mCameraDevice == null) { 603 mParameters = mCameraDevice.getParameters() [all...] |
PhotoModule.java | 121 private CameraProxy mCameraDevice; 426 if (mCameraDevice == null) { 429 mCameraDevice.setPreviewTexture(null); 469 mCameraDevice = CameraUtil.openCamera( 473 if (mCameraDevice == null) { 477 mParameters = mCameraDevice.getParameters(); 614 mCameraDevice.setFaceDetectionCallback(mHandler, mUI); 615 mCameraDevice.startFaceDetection(); 624 mCameraDevice.setFaceDetectionCallback(null, null); 625 mCameraDevice.stopFaceDetection() [all...] |
WideAnglePanoramaModule.java | 141 private CameraProxy mCameraDevice; 331 Parameters parameters = mCameraDevice.getParameters(); 338 if (mCameraDevice != null) { 340 mCameraDevice = null; 358 mCameraDevice = CameraUtil.openCamera(mActivity, cameraId, 360 if (mCameraDevice == null) { 431 PixelFormat.getPixelFormatInfo(mCameraDevice.getParameters().getPreviewFormat(), pixelInfo); 437 mCameraDevice.setParameters(parameters); 811 if (mCameraDevice == null) { [all...] |
/packages/apps/Camera/src/com/android/camera/ |
CameraHolder.java | 52 private CameraProxy mCameraDevice; 105 Log.d(TAG, "mCameraId = " + s.id + ", mCameraDevice = " + s.device); 194 collectState(cameraId, mCameraDevice); 201 if (mCameraDevice != null && mCameraId != cameraId) { 202 mCameraDevice.release(); 203 mCameraDevice = null; 206 if (mCameraDevice == null) { 210 mCameraDevice = CameraManager.instance().cameraOpen(cameraId); 214 mCameraDevice = mMockCamera[cameraId]; 221 mParameters = mCameraDevice.getParameters() [all...] |
EffectsRecorder.java | 139 private CameraManager.CameraProxy mCameraDevice; 328 mCameraDevice = cameraDevice; 651 mCameraDevice.stopPreview(); 652 mCameraDevice.setPreviewTextureAsync(null); 719 if (mCameraDevice == null) { [all...] |
PhotoModule.java | 132 private CameraProxy mCameraDevice; 337 mCameraDevice = Util.openCamera(mActivity, mCameraId); 338 mParameters = mCameraDevice.getParameters(); 430 mCameraDevice.setPreviewDisplayAsync(mCameraSurfaceHolder); 708 if (mParameters == null || mCameraDevice == null) return; 711 mCameraDevice.setParametersAsync(mParameters); 713 Parameters p = mCameraDevice.getParameters(); 762 mCameraDevice.setFaceDetectionListener(new FaceDetectionListener() { 768 mCameraDevice.startFaceDetection(); 779 mCameraDevice.setFaceDetectionListener(null) [all...] |
VideoModule.java | 249 mActivity.mCameraDevice = Util.openCamera(mActivity, mCameraId); 250 mParameters = mActivity.mCameraDevice.getParameters(); 757 mParameters = mActivity.mCameraDevice.getParameters(); [all...] |
PanoramaModule.java | 176 private CameraProxy mCameraDevice; 340 Parameters parameters = mCameraDevice.getParameters(); 346 if (mCameraDevice != null) { 347 mCameraDevice.setPreviewCallbackWithBuffer(null); 349 mCameraDevice = null; 361 mCameraDevice = Util.openCamera(mActivity, cameraId); 428 PixelFormat.getPixelFormatInfo(mCameraDevice.getParameters().getPreviewFormat(), pixelInfo); 434 mCameraDevice.setParameters(parameters); [all...] |
ActivityBase.java | 75 protected CameraManager.CameraProxy mCameraDevice; 160 mCameraDevice = Util.openCamera(ActivityBase.this, mCameraId); 161 mParameters = mCameraDevice.getParameters();
|
/device/generic/goldfish/camera/ |
EmulatedCameraDevice.h | 367 mCameraDevice(camera_dev), 444 if (mCameraDevice->inWorkerThread()) { 453 EmulatedCameraDevice* mCameraDevice;
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 351 Parameters parameters = mCameraDevice.getParameters(); 357 if (mCameraDevice != null) { 358 mCameraDevice.setPreviewCallbackWithBuffer(null); 360 mCameraDevice = null; 367 mCameraDevice = Util.openCamera(this, backCameraId); 433 PixelFormat.getPixelFormatInfo(mCameraDevice.getParameters().getPreviewFormat(), pixelInfo); 439 mCameraDevice.setParameters(parameters); [all...] |
/device/asus/flo/camera/QCamera2/HAL3/ |
QCamera3HWI.h | 169 camera3_device_t mCameraDevice;
|
QCamera3HWI.cpp | 169 mCameraDevice.common.tag = HARDWARE_DEVICE_TAG; 170 mCameraDevice.common.version = CAMERA_DEVICE_API_VERSION_3_0; 171 mCameraDevice.common.close = close_camera_device; 172 mCameraDevice.ops = &mCameraOps; 173 mCameraDevice.priv = this; 280 *hw_device = &mCameraDevice.common; [all...] |
/hardware/qcom/camera/QCamera2/HAL3/ |
QCamera3HWI.h | 184 camera3_device_t mCameraDevice;
|
QCamera3HWI.cpp | 186 mCameraDevice.common.tag = HARDWARE_DEVICE_TAG; 187 mCameraDevice.common.version = CAMERA_DEVICE_API_VERSION_3_0; 188 mCameraDevice.common.close = close_camera_device; 189 mCameraDevice.ops = &mCameraOps; 190 mCameraDevice.priv = this; 314 *hw_device = &mCameraDevice.common; [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
QCamera2HWI.h | 387 camera_device_t mCameraDevice;
|
QCamera2HWI.cpp | 938 mCameraDevice.common.tag = HARDWARE_DEVICE_TAG; 939 mCameraDevice.common.version = HARDWARE_DEVICE_API_VERSION(1, 0); 940 mCameraDevice.common.close = close_camera_device; 941 mCameraDevice.ops = &mCameraOps; 942 mCameraDevice.priv = this; 1003 *hw_device = &mCameraDevice.common; [all...] |
/hardware/qcom/camera/QCamera2/HAL/ |
QCamera2HWI.h | 387 camera_device_t mCameraDevice;
|
QCamera2HWI.cpp | 938 mCameraDevice.common.tag = HARDWARE_DEVICE_TAG; 939 mCameraDevice.common.version = HARDWARE_DEVICE_API_VERSION(1, 0); 940 mCameraDevice.common.close = close_camera_device; 941 mCameraDevice.ops = &mCameraOps; 942 mCameraDevice.priv = this; 1003 *hw_device = &mCameraDevice.common; [all...] |