Add continuous focus mode constant.

bug:2612447
Change-Id: I9bc3f5a47ad50722a265d50b1d28fb82a2253dc9
This commit is contained in:
Wu-cheng Li
2010-05-06 16:47:30 +08:00
parent 7768892c82
commit ca09961484
4 changed files with 28 additions and 0 deletions

View File

@ -874,6 +874,16 @@ public class Camera {
*/
public static final String FOCUS_MODE_EDOF = "edof";
/**
* Continuous focus mode. The camera continuously tries to focus. This
* is ideal for shooting video or shooting photo of moving object.
* Continuous focus starts when {@link #autoFocus(AutoFocusCallback)} is
* called. AutoFocusCallback will be only called once as soon as the
* picture is in focus.
*/
public static final String FOCUS_MODE_CONTINUOUS = "continuous";
// Formats for setPreviewFormat and setPictureFormat.
private static final String PIXEL_FORMAT_YUV422SP = "yuv422sp";
private static final String PIXEL_FORMAT_YUV420SP = "yuv420sp";