Lines Matching refs:camera
17 package com.android.camera;
19 import com.android.camera.ui.CameraPicker;
20 import com.android.camera.ui.FaceView;
21 import com.android.camera.ui.IndicatorControlContainer;
22 import com.android.camera.ui.PopupManager;
23 import com.android.camera.ui.Rotatable;
24 import com.android.camera.ui.RotateImageView;
25 import com.android.camera.ui.RotateLayout;
26 import com.android.camera.ui.RotateTextToast;
27 import com.android.camera.ui.SharePopup;
28 import com.android.camera.ui.ZoomControl;
40 import android.hardware.Camera.CameraInfo;
41 import android.hardware.Camera.Face;
42 import android.hardware.Camera.FaceDetectionListener;
43 import android.hardware.Camera.Parameters;
44 import android.hardware.Camera.PictureCallback;
45 import android.hardware.Camera.Size;
86 /** The Camera activity which can preview and take pictures. */
87 public class Camera extends ActivityBase implements FocusManager.Listener,
93 private static final String TAG = "camera";
173 // Small indicators which show the camera settings in the viewfinder.
211 // The value for android.hardware.Camera.setDisplayOrientation.
302 // down and camera app is opened. Rotation animation will
305 if (Util.getDisplayRotation(Camera.this) != mDisplayRotation) {
341 // We want to keep a reference to MediaProvider in camera's lifecycle.
358 mOrientationListener = new MyOrientationEventListener(Camera.this);
464 Camera.this.onZoomValueChanged(index);
474 Camera.this.onZoomValueChanged(mZoomMax);
476 Camera.this.onZoomValueChanged(0);
716 implements android.hardware.Camera.ShutterCallback {
727 byte [] data, android.hardware.Camera camera) {
737 byte [] rawData, android.hardware.Camera camera) {
752 final byte [] jpegData, final android.hardware.Camera camera) {
807 implements android.hardware.Camera.AutoFocusCallback {
809 boolean focused, android.hardware.Camera camera) {
820 implements android.hardware.Camera.OnZoomChangeListener {
823 int value, boolean stopped, android.hardware.Camera camera) {
1020 Util.broadcastNewPicture(Camera.this, uri);
1090 // Testing purpose. Launch a specific camera through the intent extras.
1100 mCameraDevice = Util.openCamera(Camera.this, mCameraId);
1125 * To reduce startup time, we start the camera open and preview threads.
1131 setContentView(R.layout.camera);
1163 // Make sure camera device is opened.
1195 // Wait until the camera settings are retrieved.
1204 // Do this after starting preview because it depends on camera
1295 // the camera then point the camera to floor or sky, we still have
1302 + Util.getDisplayRotation(Camera.this);
1437 Intent cropIntent = new Intent("com.android.camera.action.CROP");
1579 // Close the camera now because other activities may need to use it.
1753 // The mCameraDevice will be null if it fails to connect to the camera
1765 // and camera app is opened. Rotation animation takes some time and
1896 // video camera application.
2071 // If the Camera is idle, update the parameters immediately, otherwise
2140 // Only show the menu when camera is idle.
2189 MenuHelper.gotoMode(mode, Camera.this);
2217 // If the intent is camera capture, stay in camera capture mode.
2271 CameraSettings.restorePreferences(Camera.this, mPreferences,
2282 mNotSelectableToast = Toast.makeText(Camera.this, str, Toast.LENGTH_SHORT);
2299 public void onFaceDetection(Face[] faces, android.hardware.Camera camera) {