Home | History | Annotate | Download | only in com.example.android.hdrviewfinder

Lines Matching refs:camera

33  * Simple interface for operating the camera, with major camera operations
58 * Create a new camera ops thread.
61 * @param readyListener listener for notifying when camera is ready for requests
81 * Open the first backfacing camera listed by the camera manager.
82 * Displays a dialog if it cannot open a camera.
90 throw new IllegalStateException("Camera already open");
103 * Close the camera and wait for the close callback to be called in the camera thread.
111 Log.e(TAG, "Timeout closing camera");
139 * Get a request builder for the current camera.
144 throw new IllegalStateException("Can't get requests when no camera is open");
186 * Configure the camera session.
189 // Wait until both the camera device is open and the SurfaceView is ready
204 * Main listener for camera session events
235 * Main listener for camera device events.
241 public void onOpened(CameraDevice camera) {
242 mCameraDevice = camera;
247 public void onClosed(CameraDevice camera) {
252 public void onDisconnected(CameraDevice camera) {
253 mErrorDisplayer.showErrorDialog("The camera device has been disconnected.");
254 camera.close();
259 public void onError(CameraDevice camera, int error) {
260 mErrorDisplayer.showErrorDialog("The camera encountered an error:" + error);
261 camera.close();
268 * Simple listener for main code to know the camera is ready for requests, or failed to