diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-09-20 16:15:32 -0700 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-09-21 08:46:32 -0700 |
commit | d45cb72ac0d7d57829ffc9223decb89a5fc42ce2 (patch) | |
tree | 231016c9dddc37dc8e126e60ec16385e9343b50e /libs | |
parent | 92630c787d0ae34c7ae3cb29c2d261f1acaf18b9 (diff) | |
download | frameworks_base-d45cb72ac0d7d57829ffc9223decb89a5fc42ce2.zip frameworks_base-d45cb72ac0d7d57829ffc9223decb89a5fc42ce2.tar.gz frameworks_base-d45cb72ac0d7d57829ffc9223decb89a5fc42ce2.tar.bz2 |
Rename FOCUS_MODE_CONTINUOUS to FOCUS_MODE_CONTINUOUS_VIDEO.
This constant is not public yet. Continuous autofocus should
behave differently in still camera and camcorder. In camcorder,
lens movement may be more smooth. And the triggers to start a
new focus search may be different. If there is a need,
FOCUS_MODE_CONTINUOUS_PHOTO can be added in the future.
Change-Id: I05df9e491aca37829be3df92a73b952f26c86a4a
Diffstat (limited to 'libs')
-rw-r--r-- | libs/camera/CameraParameters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/camera/CameraParameters.cpp b/libs/camera/CameraParameters.cpp index 362d9ee..83e5e57 100644 --- a/libs/camera/CameraParameters.cpp +++ b/libs/camera/CameraParameters.cpp @@ -142,7 +142,7 @@ const char CameraParameters::FOCUS_MODE_INFINITY[] = "infinity"; const char CameraParameters::FOCUS_MODE_MACRO[] = "macro"; const char CameraParameters::FOCUS_MODE_FIXED[] = "fixed"; const char CameraParameters::FOCUS_MODE_EDOF[] = "edof"; -const char CameraParameters::FOCUS_MODE_CONTINUOUS[] = "continuous"; +const char CameraParameters::FOCUS_MODE_CONTINUOUS_VIDEO[] = "continuous-video"; CameraParameters::CameraParameters() : mMap() |