diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-05-13 19:31:02 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-05-15 12:40:54 +0800 |
commit | e339c5edbebedf446581f18ad70214007309bf4b (patch) | |
tree | 7d03e881cb3e1300aef948eafb85396a58d38e1c /libs/camera | |
parent | aef87aa90cf3a6cf9098477683b07994697c45fe (diff) | |
download | frameworks_base-e339c5edbebedf446581f18ad70214007309bf4b.zip frameworks_base-e339c5edbebedf446581f18ad70214007309bf4b.tar.gz frameworks_base-e339c5edbebedf446581f18ad70214007309bf4b.tar.bz2 |
Add camera focus distances API.
Applications can use this API to estimate the distance
between the subject and the camera.
bug:1955650
Change-Id: Ie6c8ea4971759cab6c9bcdda2c5ceb5925791c27
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 cfb7ba1..035fa9f 100644 --- a/libs/camera/CameraParameters.cpp +++ b/libs/camera/CameraParameters.cpp @@ -69,8 +69,10 @@ const char CameraParameters::KEY_MAX_ZOOM[] = "max-zoom"; const char CameraParameters::KEY_ZOOM_RATIOS[] = "zoom-ratios"; const char CameraParameters::KEY_ZOOM_SUPPORTED[] = "zoom-supported"; const char CameraParameters::KEY_SMOOTH_ZOOM_SUPPORTED[] = "smooth-zoom-supported"; +const char CameraParameters::KEY_FOCUS_DISTANCES[] = "focus-distances"; const char CameraParameters::TRUE[] = "true"; +const char CameraParameters::INFINITY[] = "Infinity"; // Values for white balance settings. const char CameraParameters::WHITE_BALANCE_AUTO[] = "auto"; |