Home | History | Annotate | Download | only in camera

Lines Matching full:preview

29  * Camera preview that displays a {@link Camera}.
31 * Handles basic lifecycle methods to display and stop the preview.
63 // The Surface has been created, now tell the camera where to draw the preview.
67 Log.d(TAG, "Camera preview started.");
69 Log.d(TAG, "Error setting camera preview: " + e.getMessage());
74 // empty. Take care of releasing the Camera preview in your activity.
78 // If your preview can change or rotate, take care of those events here.
79 // Make sure to stop the preview before resizing or reformatting it.
82 // preview surface does not exist
83 Log.d(TAG, "Preview surface does not exist");
87 // stop preview before making changes
90 Log.d(TAG, "Preview stopped.");
92 // ignore: tried to stop a non-existent preview
93 Log.d(TAG, "Error starting camera preview: " + e.getMessage());
102 Log.d(TAG, "Camera preview started.");
104 Log.d(TAG, "Error starting camera preview: " + e.getMessage());
109 * Calculate the correct orientation for a {@link Camera} preview that is displayed on screen.