diff options
author | Zhijun He <zhijunhe@google.com> | 2013-06-28 16:30:12 -0700 |
---|---|---|
committer | Zhijun He <zhijunhe@google.com> | 2013-06-28 17:46:45 -0700 |
commit | b8b77bf59ed377d6a9bcd80b8dbe4e146d5fddd3 (patch) | |
tree | 003b02870181399fa5dff2bcb56c75abf990fe7e /core/java/android/hardware | |
parent | a182f129e447a63c4f807f54cbf0958ea0290608 (diff) | |
download | frameworks_base-b8b77bf59ed377d6a9bcd80b8dbe4e146d5fddd3.zip frameworks_base-b8b77bf59ed377d6a9bcd80b8dbe4e146d5fddd3.tar.gz frameworks_base-b8b77bf59ed377d6a9bcd80b8dbe4e146d5fddd3.tar.bz2 |
Correct request template value for record and still
they should match the request template values defined in camera3.h.
Bug 9213377
Change-Id: Ib24aa33a0ed59aff14b115c5d213ac287ea0d948
Diffstat (limited to 'core/java/android/hardware')
-rw-r--r-- | core/java/android/hardware/photography/CameraDevice.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/java/android/hardware/photography/CameraDevice.java b/core/java/android/hardware/photography/CameraDevice.java index 5fb14dc..0852025 100644 --- a/core/java/android/hardware/photography/CameraDevice.java +++ b/core/java/android/hardware/photography/CameraDevice.java @@ -57,23 +57,23 @@ public interface CameraDevice extends AutoCloseable { public static final int TEMPLATE_PREVIEW = 1; /** - * Create a request suitable for video recording. Specifically, this means - * that a stable frame rate is used, and post-processing is set for - * recording quality. These requests would commonly be used with the - * {@link #setRepeatingRequest} method. + * Create a request suitable for still image capture. Specifically, this + * means prioritizing image quality over frame rate. These requests would + * commonly be used with the {@link #capture} method. * * @see #createCaptureRequest */ - public static final int TEMPLATE_RECORD = 2; + public static final int TEMPLATE_STILL_CAPTURE = 2; /** - * Create a request suitable for still image capture. Specifically, this - * means prioritizing image quality over frame rate. These requests would - * commonly be used with the {@link #capture} method. + * Create a request suitable for video recording. Specifically, this means + * that a stable frame rate is used, and post-processing is set for + * recording quality. These requests would commonly be used with the + * {@link #setRepeatingRequest} method. * * @see #createCaptureRequest */ - public static final int TEMPLATE_STILL_CAPTURE = 3; + public static final int TEMPLATE_RECORD = 3; /** * Create a request suitable for still image capture while recording |