Home | History | Annotate | Download | only in camera

Lines Matching refs:camera

17 package com.android.camera;
30 import android.hardware.Camera.CameraInfo;
31 import android.hardware.Camera.Parameters;
32 import android.hardware.Camera.Size;
54 import com.android.camera.CameraManager.CameraAFCallback;
55 import com.android.camera.CameraManager.CameraAFMoveCallback;
56 import com.android.camera.CameraManager.CameraPictureCallback;
57 import com.android.camera.CameraManager.CameraProxy;
58 import com.android.camera.CameraManager.CameraShutterCallback;
59 import com.android.camera.PhotoModule.NamedImages.NamedEntity;
60 import com.android.camera.exif.ExifInterface;
61 import com.android.camera.exif.ExifTag;
62 import com.android.camera.exif.Rational;
63 import com.android.camera.ui.CountDownView.OnCountDownFinishedListener;
64 import com.android.camera.ui.ModuleSwitcher;
65 import com.android.camera.ui.RotateTextToast;
66 import com.android.camera.util.ApiHelper;
67 import com.android.camera.util.CameraUtil;
68 import com.android.camera.util.GcamHelper;
69 import com.android.camera.util.UsageStatistics;
119 // copied from Camera hierarchy
128 // The activity is going to switch to the specified camera id. This is
129 // needed because texture copy is done in GL thread. -1 means camera is not
188 // The value for android.hardware.Camera.setDisplayOrientation.
192 // The value for android.hardware.Camera.Parameters.setRotation.
194 // Indicates whether we are using front camera
267 // down and camera app is opened. Rotation animation will
369 // Surface texture is from camera screen nail and startPreview needs it.
398 // camera only
404 // Check if the back camera exists
407 // If there is no back camera, do not show the prompt.
444 // These depend on camera parameters.
455 Log.v(TAG, "Start to switch camera. id=" + mPendingSwitchCameraId);
466 // Restart the camera and initialize the UI. From onCreate.
474 Log.e(TAG, "Failed to open camera:" + mCameraId + ", aborting.");
489 // Start switch camera animation. Post a message because
490 // onFrameAvailable from the old camera may already exist.
499 // either open a new camera or switch cameras
530 // We want to keep a reference to MediaProvider in camera's lifecycle.
640 public void onShutter(CameraProxy camera) {
658 public void onPictureTaken(byte [] data, CameraProxy camera) {
669 public void onPictureTaken(byte [] rawData, CameraProxy camera) {
685 public void onPictureTaken(final byte [] jpegData, CameraProxy camera) {
797 boolean focused, CameraProxy camera) {
812 boolean moving, CameraProxy camera) {
933 // Testing purpose. Launch a specific camera through the intent
969 // the camera then point the camera to floor or sky, we still have
1076 final String CROP_ACTION = "com.android.camera.action.CROP";
1174 Log.v(TAG, "Open camera device.");
1179 Log.e(TAG, "Failed to open camera:" + mCameraId);
1225 // Camera failure.
1272 // Reset the focus first. Camera CTS does not guarantee that
1277 // If the camera has not been opened asynchronously yet,
1455 Log.v(TAG, "Close camera device.");
1462 // Blocks until camera is actually released.
1483 // Change the camera display orientation
1514 // ICS camera frameworks has a bug. Face detection state is not cleared 1589
1559 // video camera application.
1644 // On UI thread only, not when camera starts up
1797 // If the Camera is idle, update the parameters immediately, otherwise
1860 Log.v(TAG, "Start to switch camera. cameraId=" + cameraId);
1862 // releasing the camera. This will trigger onPreviewTextureCopied.
1863 //TODO: Need to animate the camera switch
1867 // Preview texture has been copied. Now camera can be released and the
2027 // TODO: Delete this function after old camera code is removed