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 | 09a2ab9dfe5c8fe74703b9894d930b1b1dbf0c11 (patch) | |
tree | 0852633ee4e6626010e54c3344fee7483a76cb12 /camera | |
parent | ea10bc6158caa9f595c85a3dc3517d88ee989001 (diff) | |
download | frameworks_av-09a2ab9dfe5c8fe74703b9894d930b1b1dbf0c11.zip frameworks_av-09a2ab9dfe5c8fe74703b9894d930b1b1dbf0c11.tar.gz frameworks_av-09a2ab9dfe5c8fe74703b9894d930b1b1dbf0c11.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 'camera')
-rw-r--r-- | camera/CameraParameters.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/camera/CameraParameters.cpp b/camera/CameraParameters.cpp index cfb7ba1..035fa9f 100644 --- a/camera/CameraParameters.cpp +++ b/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"; |