Lines Matching refs:CameraDevice

25  * <p>The CameraDevice class is an interface to a single camera connected to an
47 public interface CameraDevice extends AutoCloseable {
256 * request; one of the CameraDevice.TEMPLATE_ values.
276 * <p>Submit a request for an image to be captured by this CameraDevice.</p>
365 * Request endlessly repeating capture of images by this CameraDevice.
367 * <p>With this method, the CameraDevice will continually capture images
424 * CameraDevice.</p>
426 * <p>With this method, the CameraDevice will continually capture images,
622 * @param camera the CameraDevice sending the callback
628 public void onCaptureStarted(CameraDevice camera,
646 * @param camera The CameraDevice sending the callback.
647 * @param request The request that was given to the CameraDevice
658 public void onCapturePartial(CameraDevice camera,
669 * @param camera The CameraDevice sending the callback.
670 * @param request The request that was given to the CameraDevice
680 public void onCaptureCompleted(CameraDevice camera,
697 * The CameraDevice sending the callback.
699 * The request that was given to the CameraDevice
709 public void onCaptureFailed(CameraDevice camera,
720 * The CameraDevice sending the callback.
732 public void onCaptureSequenceCompleted(CameraDevice camera,
816 * CameraDevice and the CameraManager, and trying to acquire all resources
831 public abstract void onOpened(CameraDevice camera); // Must implement
837 * {@link CameraDevice#configureOutputs} before being able to
841 * calling {@link CameraDevice#configureOutputs} with a null/empty
851 public void onUnconfigured(CameraDevice camera) {
867 * <p>All calls except for {@link CameraDevice#configureOutputs} are
875 * @see CameraDevice#capture
876 * @see CameraDevice#captureBurst
877 * @see CameraDevice#setRepeatingBurst
878 * @see CameraDevice#setRepeatingRequest
880 public void onActive(CameraDevice camera) {
888 * (after a call to {@link CameraDevice#configureOutputs} or while it's
889 * being flushed (after a call to {@link CameraDevice#flush}.</p>
900 * <li>{@link CameraDevice#getId}</li>
901 * <li>{@link CameraDevice#createCaptureRequest}</li>
902 * <li>{@link CameraDevice#close}</li>
910 * @see CameraDevice#configureOutputs
911 * @see CameraDevice#flush
913 public void onBusy(CameraDevice camera) {
919 * {@link CameraDevice#close}.
921 * <p>Any attempt to call methods on this CameraDevice in the
928 public void onClosed(CameraDevice camera) {
937 * CameraDevice#configureOutputs}, which will transition it into the busy state.</p>
941 * request/burst, if set, with {@link CameraDevice#stopRepeating}, and
943 * CameraDevice#configureOutputs}.</p>
946 * {@link CameraDevice#flush} method can be used, which will discard all
948 * CameraDevice#flush} method is called, the application must wait for
950 * CameraDevice#configureOutputs}.</p>
956 * @see CameraDevice#configureOutputs
957 * @see CameraDevice#stopRepeating
958 * @see CameraDevice#flush
960 public void onIdle(CameraDevice camera) {
971 * <p>Any attempt to call methods on this CameraDevice will throw a
984 * <p>You should clean up the camera with {@link CameraDevice#close} after
991 public abstract void onDisconnected(CameraDevice camera); // Must implement
1000 * some way. Any attempt to call methods on this CameraDevice in the
1008 * <p>You should clean up the camera with {@link CameraDevice#close} after
1020 public abstract void onError(CameraDevice camera, int error); // Must implement