Home | History | Annotate | Download | only in camera

Lines Matching refs:CAMERA

17 package com.android.camera;
32 import android.hardware.Camera.CameraInfo;
33 import android.hardware.Camera.Parameters;
34 import android.hardware.Camera.PictureCallback;
35 import android.hardware.Camera.Size;
67 import com.android.camera.ui.AbstractSettingPopup;
68 import com.android.camera.ui.PieRenderer;
69 import com.android.camera.ui.PopupManager;
70 import com.android.camera.ui.PreviewSurfaceView;
71 import com.android.camera.ui.RenderOverlay;
72 import com.android.camera.ui.Rotatable;
73 import com.android.camera.ui.RotateImageView;
74 import com.android.camera.ui.RotateLayout;
75 import com.android.camera.ui.RotateTextToast;
76 import com.android.camera.ui.TwoStateImageView;
77 import com.android.camera.ui.ZoomRenderer;
177 // The video file that the hardware camera is about to record into
283 // down and camera app is opened. Rotation animation will
309 // Enable all camera controls.
352 // Testing purpose. Launch a specific camera through the intent
442 // Surface texture is from camera screen nail and startPreview needs it.
452 // Make sure camera device is opened.
554 // the camera then point the camera to floor or sky, we still have
562 // android.hardware.Camera.setDisplayOrientation. Its value only
563 // compensates the camera orientation (no Display.getRotation).
939 // This call can handle the case where the camera is already released
945 // By default, we want to close the effects as well with the camera.
951 // only the camera related parts, and handle closing the effects in the
953 // For example, in onPause, we want to make the camera available to
956 // the effects from the camera by calling disconnectCamera. That way
960 // effects also along with the camera.
969 // Disconnect the camera from effects so that camera is ready to
998 // Camera will be released in onStopVideoRecording.
1037 // Call onPause after stopping video recording. So the camera can be
1192 // Unlock the camera object before passing it to media recorder.
1198 mMediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
1233 // See android.hardware.Camera.Parameters.setRotation for
1243 } else { // back-facing camera
1301 // android.hardware.Camera.setDisplayOrientation. Its value only
1302 // compensates the camera orientation (no Display.getRotation). So the
1589 // If start fails, frameworks will not lock the camera for us.
1628 // The camera is not allowed to be accessed in older api levels during
1660 // it to match the UI orientation (and mirror if it is front-facing camera).
1732 // during recording. Release the camera as soon as possible because
1733 // face unlock or other applications may need to use the camera.
1735 // camera and cannot release the effects recorder since that will
1736 // stop the graph. It is possible to separate out the Camera release
1738 // does hold on to the camera, hence, it needs to be "disconnected"
1739 // from the camera in the closeCamera call.
1741 // Closing only the camera part if effects active. Effects will
1961 // The logic here is different from the logic in still-mode camera.
2089 // camera and encoder gracefully. For now, we just delete the file and bail out.
2173 // the preview is running. This becomes critical when the camera is
2220 // TODO: Delete this after old camera code is removed
2290 Log.d(TAG, "Start to switch camera.");
2297 // Restart the camera and initialize the UI. From onCreate.
2312 // Start switch camera animation. Post a message because
2313 // onFrameAvailable from the old camera may already exist.
2319 // Preview texture has been copied. Now camera can be released and the
2558 public void onPictureTaken(byte [] jpegData, android.hardware.Camera camera) {
2756 // releasing the camera. This will trigger onPreviewTextureCopied.
2758 // Disable all camera controls.