Lines Matching defs:mCamera
88 private android.hardware.Camera mCamera;
105 mCamera.startFaceDetection();
109 mCamera.stopFaceDetection();
113 mCamera.setFaceDetectionListener(listener);
118 mCamera.setPreviewTexture((SurfaceTexture) surfaceTexture);
126 mCamera.enableShutterSound(enable);
144 mCamera.takePicture(shutter, raw, postView, jpeg);
192 mCamera = android.hardware.Camera.open(msg.arg1);
193 if (mCamera != null) {
198 mParamsToSet = mCamera.getParameters();
208 mCamera.release();
209 mCamera = null;
215 mCamera.reconnect();
222 mCamera.unlock();
226 mCamera.lock();
235 mCamera.setPreviewDisplay((SurfaceHolder) msg.obj);
242 mCamera.startPreview();
246 mCamera.stopPreview();
250 mCamera.setPreviewCallbackWithBuffer(
255 mCamera.addCallbackBuffer((byte[]) msg.obj);
259 mCamera.autoFocus((AutoFocusCallback) msg.obj);
263 mCamera.cancelAutoFocus();
267 setAutoFocusMoveCallback(mCamera, msg.obj);
271 mCamera.setDisplayOrientation(msg.arg1);
275 mCamera.setZoomChangeListener(
292 mCamera.setErrorCallback((ErrorCallback) msg.obj);
298 mCamera.setParameters(mParamsToSet);
303 mParameters = mCamera.getParameters();
309 mCamera.setPreviewCallback((PreviewCallback) msg.obj);
324 if (msg.what != RELEASE && mCamera != null) {
326 mCamera.release();
330 mCamera = null;
331 } else if (mCamera == null) {
337 Log.w(TAG, "Cannot handle message, mCamera is null.");
353 if (mCamera != null) {
369 Assert(mCamera != null);
374 return mCamera;
556 private final CameraProxy mCamera;
577 mCamera = camera;
586 mCallback.onAutoFocus(b, mCamera);
597 private final CameraProxy mCamera;
617 mCamera = camera;
627 mCallback.onAutoFocusMoving(moving, mCamera);
639 private final CameraProxy mCamera;
659 mCamera = camera;
668 mCallback.onShutter(mCamera);
680 private final CameraProxy mCamera;
700 mCamera = camera;
710 mCallback.onPictureTaken(data, mCamera);
722 private final CameraProxy mCamera;
742 mCamera = camera;
752 mCallback.onPreviewFrame(data, mCamera);
761 private final CameraProxy mCamera;
781 mCamera = camera;
791 mCallback.onFaceDetection(faces, mCamera);