am e5dd62e8: am 2fd73a45: Unhide camera metering mode API.

Merge commit 'e5dd62e873448fd8c1fd8e80739b58bda649a6e7'

* commit 'e5dd62e873448fd8c1fd8e80739b58bda649a6e7':
  Unhide camera metering mode API.
This commit is contained in:
Wu-cheng Li
2010-06-11 00:35:06 -07:00
committed by Android Git Automerger
2 changed files with 70 additions and 8 deletions

View File

@@ -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);