summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-05-10 20:04:14 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-05-10 20:04:14 -0700
commitb59c95419c48e6e54071b9e93177bd8f79471eb9 (patch)
treeca00107c89c70dc74256c31004ced96c73deb010 /include
parent10a49e9d73f16f5f924c4013cba49a6ca4a28bac (diff)
parent4bf7ace0d9d51cd47e00f92d26e1ee87909b3cc5 (diff)
downloadframeworks_av-b59c95419c48e6e54071b9e93177bd8f79471eb9.zip
frameworks_av-b59c95419c48e6e54071b9e93177bd8f79471eb9.tar.gz
frameworks_av-b59c95419c48e6e54071b9e93177bd8f79471eb9.tar.bz2
Merge "Add continuous focus mode constant." into kraken
Diffstat (limited to 'include')
-rw-r--r--include/camera/CameraParameters.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index 3b0e9e5..0d27f1a 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -316,6 +316,12 @@ public:
// continuously. Applications should not call
// CameraHardwareInterface.autoFocus in this mode.
static const char FOCUS_MODE_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 CameraHardwareInterface.autoFocus is called. Focus
+ // callback will be only called once as soon as the picture is in focus.
+ static const char FOCUS_MODE_CONTINUOUS[];
+
private:
DefaultKeyedVector<String8,String8> mMap;