summaryrefslogtreecommitdiffstats
path: root/include/camera
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-08-30 14:06:16 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-08-30 14:06:16 -0700
commitf015774f9d5a8b7af547ccad92d98b5cfd4009fb (patch)
treec4edb42e1fbd37cf602ba79a089cd3bbe557961d /include/camera
parentdd0f7a7127fdb04863b4ad66d2b846ee94358314 (diff)
parentfabf86f788260b19ae59e472843164c3bf44e259 (diff)
downloadframeworks_av-f015774f9d5a8b7af547ccad92d98b5cfd4009fb.zip
frameworks_av-f015774f9d5a8b7af547ccad92d98b5cfd4009fb.tar.gz
frameworks_av-f015774f9d5a8b7af547ccad92d98b5cfd4009fb.tar.bz2
am 6e46e6f7: am 7ec7b997: Remove camera metering mode API.
Merge commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5' * commit '6e46e6f7488ad1f4e6ab762d141790798fe3f2d5': Remove camera metering mode API.
Diffstat (limited to 'include/camera')
-rw-r--r--include/camera/CameraParameters.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/camera/CameraParameters.h b/include/camera/CameraParameters.h
index a5c7874..7c5371a 100644
--- a/include/camera/CameraParameters.h
+++ b/include/camera/CameraParameters.h
@@ -286,13 +286,6 @@ public:
// Example value: "yuv420sp" or PIXEL_FORMAT_XXX constants. Read only.
static const char KEY_VIDEO_FRAME_FORMAT[];
- // Metering mode. This affects how camera determines exposure.
- // Example value: "spot" or METERING_MODE_XXX constants. Read/write.
- static const char KEY_METERING_MODE[];
- // Supported metering modes.
- // Example value: "center-weighted,frame-average,spot". Read only.
- static const char KEY_SUPPORTED_METERING_MODES[];
-
// Value for KEY_ZOOM_SUPPORTED or KEY_SMOOTH_ZOOM_SUPPORTED.
static const char TRUE[];
@@ -394,16 +387,6 @@ public:
// focus, applications should change the focus mode to other modes.
static const char FOCUS_MODE_CONTINUOUS[];
- // The camera determines the exposure by giving more weight to the
- // central part of the scene.
- static const char METERING_MODE_CENTER_WEIGHTED[];
- // The camera determines the exposure by averaging the entire scene,
- // giving no weighting to any particular area.
- static const char METERING_MODE_FRAME_AVERAGE[];
- // The camera determines the exposure by a very small area of the scene,
- // typically the center.
- static const char METERING_MODE_SPOT[];
-
private:
DefaultKeyedVector<String8,String8> mMap;
};