summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-05-28 16:43:38 +0800
committerWu-cheng Li <wuchengli@google.com>2010-05-31 16:41:14 +0800
commit00e21f8eb57a7ae2c19516aa0290ab4fb5f251c2 (patch)
tree12e2663859af09d98e0c22b02b5d8cd50bb740ab
parent770492cb2b19f6a36ad748cd05fbedfbb9a67dfa (diff)
downloadframeworks_base-00e21f8eb57a7ae2c19516aa0290ab4fb5f251c2.zip
frameworks_base-00e21f8eb57a7ae2c19516aa0290ab4fb5f251c2.tar.gz
frameworks_base-00e21f8eb57a7ae2c19516aa0290ab4fb5f251c2.tar.bz2
Add javadoc for camera scene modes.
Change-Id: Iab596a6fb77107ffc04fa59d84e18f8e064e336a
-rw-r--r--core/java/android/hardware/Camera.java62
1 files changed, 61 insertions, 1 deletions
diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java
index 46e1f89..54aa363 100644
--- a/core/java/android/hardware/Camera.java
+++ b/core/java/android/hardware/Camera.java
@@ -825,21 +825,81 @@ public class Camera {
*/
public static final String FLASH_MODE_TORCH = "torch";
- // Values for scene mode settings.
+ /**
+ * Scene mode is off.
+ */
public static final String SCENE_MODE_AUTO = "auto";
+
+ /**
+ * Take photos of fast moving objects. Same as {@link
+ * #SCENE_MODE_SPORTS}.
+ */
public static final String SCENE_MODE_ACTION = "action";
+
+ /**
+ * Take people pictures.
+ */
public static final String SCENE_MODE_PORTRAIT = "portrait";
+
+ /**
+ * Take pictures on distant objects.
+ */
public static final String SCENE_MODE_LANDSCAPE = "landscape";
+
+ /**
+ * Take photos at night.
+ */
public static final String SCENE_MODE_NIGHT = "night";
+
+ /**
+ * Take people pictures at night.
+ */
public static final String SCENE_MODE_NIGHT_PORTRAIT = "night-portrait";
+
+ /**
+ * Take photos in a theater. Flash light is off.
+ */
public static final String SCENE_MODE_THEATRE = "theatre";
+
+ /**
+ * Take pictures on the beach.
+ */
public static final String SCENE_MODE_BEACH = "beach";
+
+ /**
+ * Take pictures on the snow.
+ */
public static final String SCENE_MODE_SNOW = "snow";
+
+ /**
+ * Take sunset photos.
+ */
public static final String SCENE_MODE_SUNSET = "sunset";
+
+ /**
+ * Avoid blurry pictures (for example, due to hand shake).
+ */
public static final String SCENE_MODE_STEADYPHOTO = "steadyphoto";
+
+ /**
+ * For shooting firework displays.
+ */
public static final String SCENE_MODE_FIREWORKS = "fireworks";
+
+ /**
+ * Take photos of fast moving objects. Same as {@link
+ * #SCENE_MODE_ACTION}.
+ */
public static final String SCENE_MODE_SPORTS = "sports";
+
+ /**
+ * Take indoor low-light shot.
+ */
public static final String SCENE_MODE_PARTY = "party";
+
+ /**
+ * Capture the naturally warm color of scenes lit by candles.
+ */
public static final String SCENE_MODE_CANDLELIGHT = "candlelight";
/**