summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-06-11 11:45:12 +0800
committerWu-cheng Li <wuchengli@google.com>2010-06-11 15:29:49 +0800
commit2fd73a452268d2acb6e72a1d23a422085ed3c510 (patch)
tree6b91573ce88e6d3851e522ac542b650ed2695fa3 /core
parentf4f614f5edeeceddf1145df73b30f7066d00d7fa (diff)
downloadframeworks_base-2fd73a452268d2acb6e72a1d23a422085ed3c510.zip
frameworks_base-2fd73a452268d2acb6e72a1d23a422085ed3c510.tar.gz
frameworks_base-2fd73a452268d2acb6e72a1d23a422085ed3c510.tar.bz2
Unhide camera metering mode API.
Change-Id: Ia3ca83e2a0b5b322e5dbf9ae3d5c1d3b89e0fd31
Diffstat (limited to 'core')
-rw-r--r--core/java/android/hardware/Camera.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java
index 025db4a..5c96a44 100644
--- a/core/java/android/hardware/Camera.java
+++ b/core/java/android/hardware/Camera.java
@@ -969,21 +969,18 @@ public class Camera {
/**
* The camera determines the exposure by giving more weight to the
* central part of the scene.
- * @hide
*/
public static final String METERING_MODE_CENTER_WEIGHTED = "center-weighted";
/**
* The camera determines the exposure by averaging the entire scene,
* giving no weighting to any particular area.
- * @hide
*/
public static final String METERING_MODE_FRAME_AVERAGE = "frame-average";
/**
* The camera determines the exposure by a very small area of the scene,
* typically the center.
- * @hide
*/
public static final String METERING_MODE_SPOT = "spot";
@@ -1957,7 +1954,6 @@ public class Camera {
* @return a list of supported metering modes. null if metering mode
* setting is not supported.
* @see #getMeteringMode()
- * @hide
*/
public List<String> getSupportedMeteringModes() {
String str = get(KEY_METERING_MODE + SUPPORTED_VALUES_SUFFIX);
@@ -1973,7 +1969,6 @@ public class Camera {
* @see #METERING_MODE_CENTER_WEIGHTED
* @see #METERING_MODE_FRAME_AVERAGE
* @see #METERING_MODE_SPOT
- * @hide
*/
public String getMeteringMode() {
return get(KEY_METERING_MODE);
@@ -1984,7 +1979,6 @@ public class Camera {
*
* @param value metering mode.
* @see #getMeteringMode()
- * @hide
*/
public void setMeteringMode(String value) {
set(KEY_METERING_MODE, value);