diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-03-29 17:21:28 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-04-10 09:33:15 +0800 |
commit | c58b42327df5fbc826e2fcc2674ab6db0edfcd92 (patch) | |
tree | 531babba66efab35a2a78be5b0fc5116d0dc3945 /libs/camera | |
parent | 2a547829fe162c52ea1b1168f47d25fb1b40497d (diff) | |
download | frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.zip frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.tar.gz frameworks_base-c58b42327df5fbc826e2fcc2674ab6db0edfcd92.tar.bz2 |
Add SCENE_MODE_BARCODE and FOCUS_MODE_EDOF.
bug:2544367
Change-Id: If122a7745e080f9e4bffb15dc4930d71f0421867
Diffstat (limited to 'libs/camera')
-rw-r--r-- | libs/camera/CameraParameters.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/camera/CameraParameters.cpp b/libs/camera/CameraParameters.cpp index 76a9715..b50d4d2 100644 --- a/libs/camera/CameraParameters.cpp +++ b/libs/camera/CameraParameters.cpp @@ -122,6 +122,7 @@ const char CameraParameters::SCENE_MODE_FIREWORKS[] = "fireworks"; const char CameraParameters::SCENE_MODE_SPORTS[] = "sports"; const char CameraParameters::SCENE_MODE_PARTY[] = "party"; const char CameraParameters::SCENE_MODE_CANDLELIGHT[] = "candlelight"; +const char CameraParameters::SCENE_MODE_BARCODE[] = "barcode"; // Formats for setPreviewFormat and setPictureFormat. const char CameraParameters::PIXEL_FORMAT_YUV422SP[] = "yuv422sp"; @@ -135,6 +136,7 @@ const char CameraParameters::FOCUS_MODE_AUTO[] = "auto"; 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"; CameraParameters::CameraParameters() : mMap() |