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.Face;
32 import android.hardware.Camera.FaceDetectionListener;
33 import android.hardware.Camera.Parameters;
34 import android.hardware.Camera.PictureCallback;
35 import android.hardware.Camera.Size;
63 import com.android.camera.CameraManager.CameraProxy;
64 import com.android.camera.ui.AbstractSettingPopup;
65 import com.android.camera.ui.CountDownView;
66 import com.android.camera.ui.FaceView;
67 import com.android.camera.ui.PieRenderer;
68 import com.android.camera.ui.PopupManager;
69 import com.android.camera.ui.PreviewSurfaceView;
70 import com.android.camera.ui.RenderOverlay;
71 import com.android.camera.ui.Rotatable;
72 import com.android.camera.ui.RotateTextToast;
73 import com.android.camera.ui.TwoStateImageView;
74 import com.android.camera.ui.ZoomRenderer;
125 // This is the timeout to keep the camera in onPause for the first time
129 // copied from Camera hierarchy
138 // these are only used by Camera
140 // The activity is going to switch to the specified camera id. This is
141 // needed because texture copy is done in GL thread. -1 means camera is not
195 // Small indicators which show the camera settings in the viewfinder.
233 // The value for android.hardware.Camera.setDisplayOrientation.
237 // The value for android.hardware.Camera.Parameters.setRotation.
393 // down and camera app is opened. Rotation animation will
471 // To reduce startup time, open the camera and start the preview in
478 // Surface texture is from camera screen nail and startPreview needs it.
491 // Starting the preview needs preferences, camera screen nail, and
505 // camera only
511 // Check if the back camera exists
514 // If there is no back camera, do not show the prompt.
594 // These depend on camera parameters.
625 // We want to keep a reference to MediaProvider in camera's lifecycle.
764 public void onFaceDetection(Face[] faces, android.hardware.Camera camera) {
893 implements android.hardware.Camera.ShutterCallback {
905 byte [] data, android.hardware.Camera camera) {
916 byte [] rawData, android.hardware.Camera camera) {
932 final byte [] jpegData, final android.hardware.Camera camera) {
972 // Camera HAL of some devices have a bug. Starting preview
1024 implements android.hardware.Camera.AutoFocusCallback {
1027 boolean focused, android.hardware.Camera camera) {
1039 implements android.hardware.Camera.AutoFocusMoveCallback {
1042 boolean moving, android.hardware.Camera camera) {
1097 // Enable gestures only when the camera app view is visible
1163 // Testing purpose. Launch a specific camera through the intent
1226 // Do not access the camera if camera start up thread is not finished.
1296 // the camera then point the camera to floor or sky, we still have
1553 // Wait the camera start up thread to finish.
1556 // When camera is started from secure lock screen for the first time
1558 // To reduce the latency, keep the camera for a short time so it does
1565 // Reset the focus first. Camera CTS does not guarantee that
1572 // Close the camera now because other activities may need to use it.
1931 // ICS camera frameworks has a bug. Face detection state is not cleared
1998 // video camera application.
2203 // If the Camera is idle, update the parameters immediately, otherwise
2287 // releasing the camera. This will trigger onPreviewTextureCopied.
2289 // Disable all camera controls.
2299 Log.v(TAG, "Start to switch camera. id=" + mPendingSwitchCameraId);
2310 // Restart the camera and initialize the UI. From onCreate.
2338 // Start switch camera animation. Post a message because
2339 // onFrameAvailable from the old camera may already exist.
2361 // Preview texture has been copied. Now camera can be released and the
2388 // TODO: Delete this function after old camera code is removed