Home | History | Annotate | Download | only in camera

Lines Matching defs:Camera

17 package com.android.camera;
33 import android.hardware.Camera.CameraInfo;
34 import android.hardware.Camera.Parameters;
35 import android.hardware.Camera.PictureCallback;
36 import android.hardware.Camera.Size;
75 import com.android.camera.gallery.IImage;
76 import com.android.camera.gallery.IImageList;
77 import com.android.camera.ui.CameraHeadUpDisplay;
78 import com.android.camera.ui.GLRootView;
79 import com.android.camera.ui.HeadUpDisplay;
80 import com.android.camera.ui.ZoomControllerListener;
94 /** The Camera activity which can preview and take pictures. */
95 public class Camera extends NoSearchActivity implements View.OnClickListener,
99 private static final String TAG = "camera";
153 private android.hardware.Camera mCameraDevice;
292 // We want to keep a reference to MediaProvider in camera's lifecycle.
309 mOrientationListener = new MyOrientationEventListener(Camera.this);
511 // If GPS is available before start camera, we won't get status
553 implements android.hardware.Camera.ShutterCallback {
564 byte [] data, android.hardware.Camera camera) {
574 byte [] rawData, android.hardware.Camera camera) {
589 final byte [] jpegData, final android.hardware.Camera camera) {
623 mImageCapture.storeImage(jpegData, camera, mLocation);
646 implements android.hardware.Camera.AutoFocusCallback {
648 boolean focused, android.hardware.Camera camera) {
683 implements android.hardware.Camera.ErrorCallback {
684 public void onError(int error, android.hardware.Camera camera) {
685 if (error == android.hardware.Camera.CAMERA_ERROR_SERVER_DIED) {
693 implements android.hardware.Camera.OnZoomChangeListener {
695 int value, boolean stopped, android.hardware.Camera camera) {
743 android.hardware.Camera camera, Location loc) {
747 "com.android.camera.NEW_PICTURE", mLastContentUri));
779 // See android.hardware.Camera.Parameters.setRotation for
786 } else { // back-facing camera
887 setContentView(R.layout.camera);
935 ViewGroup rootView = (ViewGroup) findViewById(R.id.camera);
962 // If the camera resumes behind the lock screen, the orientation
1043 // the camera then point the camera to floor or sky, we still have
1050 + Util.getDisplayRotation(Camera.this);
1192 Intent cropIntent = new Intent("com.android.camera.action.CROP");
1337 // Close the camera now because other activities may need to use it.
1557 // The mCameraDevice will be null if it fails to connect to the camera
1633 Util.showFatalErrorAndFinish(Camera.this,
1747 // video camera application.
1924 // If the Camera is idle, update the parameters immediately, otherwise
2061 // Only show the menu when camera is idle.
2205 Camera.this.onSharedPreferenceChanged();
2209 Camera.this.onRestorePreferencesClicked();