summaryrefslogtreecommitdiffstats
path: root/libs/ui
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-01-27 22:55:14 +0800
committerWu-cheng Li <wuchengli@google.com>2010-01-30 20:36:04 +0800
commit6c8d2760736a0753dad96b4bb8f98c7d075e6d54 (patch)
tree5df1fac94e122b86f92095d697d4da8bb737d210 /libs/ui
parent4c4300c71229638183d814ab8374e09f722910f5 (diff)
downloadframeworks_base-6c8d2760736a0753dad96b4bb8f98c7d075e6d54.zip
frameworks_base-6c8d2760736a0753dad96b4bb8f98c7d075e6d54.tar.gz
frameworks_base-6c8d2760736a0753dad96b4bb8f98c7d075e6d54.tar.bz2
Add focal length and view angle API.
bug:2375989,2375987
Diffstat (limited to 'libs/ui')
-rw-r--r--libs/ui/CameraParameters.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ui/CameraParameters.cpp b/libs/ui/CameraParameters.cpp
index a94f6b9..495e164 100644
--- a/libs/ui/CameraParameters.cpp
+++ b/libs/ui/CameraParameters.cpp
@@ -56,6 +56,9 @@ const char CameraParameters::KEY_FLASH_MODE[] = "flash-mode";
const char CameraParameters::KEY_SUPPORTED_FLASH_MODES[] = "flash-mode-values";
const char CameraParameters::KEY_FOCUS_MODE[] = "focus-mode";
const char CameraParameters::KEY_SUPPORTED_FOCUS_MODES[] = "focus-mode-values";
+const char CameraParameters::KEY_FOCAL_LENGTH[] = "focal-length";
+const char CameraParameters::KEY_HORIZONTAL_VIEW_ANGLE[] = "horizontal-view-angle";
+const char CameraParameters::KEY_VERTICAL_VIEW_ANGLE[] = "vertical-view-angle";
// Values for white balance settings.
const char CameraParameters::WHITE_BALANCE_AUTO[] = "auto";