/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...] |
VideoCamera.java | 388 mCameraDevice = Util.openCamera(VideoCamera.this, mCameraId); 792 mParameters = mCameraDevice.getParameters(); [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...] |
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...] |
EffectsRecorder.java | 139 private CameraManager.CameraProxy mCameraDevice; 328 mCameraDevice = cameraDevice; 651 mCameraDevice.stopPreview(); 652 mCameraDevice.setPreviewTextureAsync(null); 719 if (mCameraDevice == 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();
|
/packages/apps/Gallery2/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...] |
PhotoModule.java | 122 private CameraProxy mCameraDevice; 294 mCameraDevice = Util.openCamera(mActivity, mCameraId); 295 mParameters = mCameraDevice.getParameters(); 462 mCameraDevice.setPreviewDisplayAsync(mUI.getSurfaceHolder()); 552 mCameraDevice = Util.openCamera(mActivity, mCameraId); 553 mParameters = mCameraDevice.getParameters(); 669 if (mCameraDevice == null || mCameraStartUpThread != null) 672 mCameraDevice.setPreviewDisplayAsync(holder); 710 mCameraDevice.setFaceDetectionListener(mUI); 711 mCameraDevice.startFaceDetection() [all...] |
VideoModule.java | 227 mActivity.mCameraDevice = Util.openCamera(mActivity, mCameraId); 231 mParameters = mActivity.mCameraDevice.getParameters(); 466 mActivity.mCameraDevice.setParameters(mParameters); 469 mActivity.mCameraDevice.takePicture(null, null, null, new JpegPictureCallback(loc)); 702 mParameters = mActivity.mCameraDevice.getParameters(); 825 if (mParameters == null || mActivity.mCameraDevice == null) return index; 828 mActivity.mCameraDevice.setParameters(mParameters); 829 Parameters p = mActivity.mCameraDevice.getParameters(); 836 mActivity.mCameraDevice.setErrorCallback(mErrorCallback); 846 mActivity.mCameraDevice.setDisplayOrientation(mCameraDisplayOrientation) [all...] |
EffectsRecorder.java | 140 private CameraManager.CameraProxy mCameraDevice; 329 mCameraDevice = cameraDevice; 652 mCameraDevice.stopPreview(); 653 mCameraDevice.setPreviewTextureAsync(null); 720 if (mCameraDevice == null) { [all...] |
PanoramaModule.java | 176 private CameraProxy mCameraDevice; 342 Parameters parameters = mCameraDevice.getParameters(); 348 if (mCameraDevice != null) { 349 mCameraDevice.setPreviewCallbackWithBuffer(null); 351 mCameraDevice = null; 363 mCameraDevice = Util.openCamera(mActivity, cameraId); 430 PixelFormat.getPixelFormatInfo(mCameraDevice.getParameters().getPreviewFormat(), pixelInfo); 436 mCameraDevice.setParameters(parameters); [all...] |
ActivityBase.java | 76 protected CameraManager.CameraProxy mCameraDevice; 161 mCameraDevice = Util.openCamera(ActivityBase.this, mCameraId); 162 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...] |