summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-01-31 14:19:38 +0800
committerWu-cheng Li <wuchengli@google.com>2010-01-31 17:03:10 +0800
commit7eae31cab43a36b6feccf523f212968619abe599 (patch)
treef430871c3730c4b3d05b54a5a7a5384741563c4b /include
parent6c8d2760736a0753dad96b4bb8f98c7d075e6d54 (diff)
downloadframeworks_base-7eae31cab43a36b6feccf523f212968619abe599.zip
frameworks_base-7eae31cab43a36b6feccf523f212968619abe599.tar.gz
frameworks_base-7eae31cab43a36b6feccf523f212968619abe599.tar.bz2
Add float support for set and get in CameraParameters.
bug:2375989 bug:2375987
Diffstat (limited to 'include')
-rw-r--r--include/ui/CameraParameters.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ui/CameraParameters.h b/include/ui/CameraParameters.h
index b9c2bbe..2c29bfb 100644
--- a/include/ui/CameraParameters.h
+++ b/include/ui/CameraParameters.h
@@ -34,8 +34,10 @@ public:
void set(const char *key, const char *value);
void set(const char *key, int value);
+ void setFloat(const char *key, float value);
const char *get(const char *key) const;
int getInt(const char *key) const;
+ float getFloat(const char *key) const;
/* preview-size=176x144 */
void setPreviewSize(int width, int height);