Home
last modified time | relevance | path

Searched refs:mCamera (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DCameraManager.java195 private Camera mCamera; field in CameraManager
402 if (mPendingOpenCameraIndex == mCameraIndex || mCamera != null) { in openCamera()
538 if (mCamera == null) { in takePicture()
548 if (mCamera != camera) { in takePicture()
578 mCamera.takePicture( in takePicture()
642 if (mCamera != null) { in releaseMediaRecorder()
644 mCamera.reconnect(); in releaseMediaRecorder()
662 if (mCamera == null || mCameraPreview == null || mTakingPicture) { in updateCameraOrientation()
696 mCamera.setDisplayOrientation(orientation); in updateCameraOrientation()
697 final Camera.Parameters params = mCamera.getParameters(); in updateCameraOrientation()
[all …]
/packages/apps/DevCamera/src/com/android/devcamera/
DDevCameraActivity.java83 private CameraInterface mCamera; field in DevCameraActivity
96 mCamera.setCaptureFlow(
106mCamera.setReprocessingFlow(view == mButtonNoiseModeReprocess, view == mButtonEdgeModeReprocess);
109 …int reprocessingViz = mToggleYuvFull.isChecked() && mCamera.isReprocessingAvailable() ? View.VISIB…
115 mCamera.setBurst(false);
119 mCamera.setBurst(mToggleBurstJpeg.isChecked());
235 if (mCamera != null) { in openCamera()
236 mCamera.closeCamera(); in openCamera()
239 mCamera = new Api2Camera(this, frontCamera); in openCamera()
240 mCamera.setCallback(this); in openCamera()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/resource/
DResourceOpenedCameraImpl.java34 private final OneCamera mCamera; field in ResourceOpenedCameraImpl
75 mCamera = camera; in ResourceOpenedCameraImpl()
80 mZoomRatio = mCamera.getMaxZoom(); in ResourceOpenedCameraImpl()
87 mCamera.setFocusStateListener(null); in close()
88 mCamera.close(); in close()
93 return mCamera; in getCamera()
129 mCamera.setZoom(zoomRatio); in setZoomRatio()
135 mCamera.startPreview(previewSurface, captureReadyCallback); in startPreview()
140 mCamera.triggerFocusAndMeterAtPoint(point.x, point.y); in triggerFocusAndMeterAtPoint()
/packages/apps/Camera2/src/com/android/camera/
DCaptureModule.java149 private OneCamera mCamera; field in CaptureModule
177 if (mCamera != null) {
178 mCamera.setZoom(zoomRatio);
464 mCamera.getDirection(), in onShutterButtonLongPressed()
488 if (mCamera == null) { in onShutterButtonClick()
531 if (mCamera == null) { in takePictureNow()
547 mCamera.takePicture(params, session); in takePictureNow()
897 if (mCamera == null) {
924 mCamera.triggerFocusAndMeterAtPoint(points[0], points[1]);
1292 if (mCamera == null) {
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/event/
DEventOnOpenCameraSucceeded.java25 private final OneCamera mCamera; field in EventOnOpenCameraSucceeded
28 mCamera = camera; in EventOnOpenCameraSucceeded()
32 return mCamera; in getCamera()