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
commitb8f7f42f70790121f954c2ae3d2e7b915808510a (patch)
treeb1021e2ca1cc67ee9416b79b3cd2ca11bbfb38f7 /include/camera
parent1ace4163fa8015c58b28aaa7b0d8d49bdee654d1 (diff)
parent6e46e6f7488ad1f4e6ab762d141790798fe3f2d5 (diff)
downloadframeworks_base-b8f7f42f70790121f954c2ae3d2e7b915808510a.zip
frameworks_base-b8f7f42f70790121f954c2ae3d2e7b915808510a.tar.gz
frameworks_base-b8f7f42f70790121f954c2ae3d2e7b915808510a.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;
};