summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorEmerson Pinter <dev@pinter.com.br>2012-11-27 09:40:35 -0200
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-12-23 23:23:07 -0800
commit15113bdda27fbb75f7f1b40a48af7451910ad605 (patch)
treeeec6178bff4030cc4a9ba1a2cc697db92633373f /api
parent208288646859076fcf9dfda8e64598150bf4fc6a (diff)
downloadframeworks_base-15113bdda27fbb75f7f1b40a48af7451910ad605.zip
frameworks_base-15113bdda27fbb75f7f1b40a48af7451910ad605.tar.gz
frameworks_base-15113bdda27fbb75f7f1b40a48af7451910ad605.tar.bz2
camera: add power mode support
Based on commit 7036d66bec7697160ba1b2e255f1e7fae0c8c435 from CAF, branch ics_chocolate. Change-Id: I8a60668b18980fd5e6f9dd341db5a8a63deb99d0
Diffstat (limited to 'api')
-rw-r--r--api/current.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index 6b893d5..c57a541 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -9804,6 +9804,7 @@ package android.hardware {
method public int getJpegQuality();
method public int getJpegThumbnailQuality();
method public android.hardware.Camera.Size getJpegThumbnailSize();
+ method public java.lang.String getPowerMode();
method public int getMaxExposureCompensation();
method public int getMaxNumDetectedFaces();
method public int getMaxNumFocusAreas();
@@ -9840,6 +9841,7 @@ package android.hardware {
method public java.util.List<java.lang.Integer> getZoomRatios();
method public boolean isAutoExposureLockSupported();
method public boolean isAutoWhiteBalanceLockSupported();
+ method public boolean isPowerModeSupported();
method public boolean isSmoothZoomSupported();
method public boolean isVideoSnapshotSupported();
method public boolean isVideoStabilizationSupported();
@@ -9867,6 +9869,7 @@ package android.hardware {
method public void setMeteringAreas(java.util.List<android.hardware.Camera.Area>);
method public void setPictureFormat(int);
method public void setPictureSize(int, int);
+ method public void setPowerMode(java.lang.String);
method public void setPreviewFormat(int);
method public void setPreviewFpsRange(int, int);
method public deprecated void setPreviewFrameRate(int);
@@ -9906,6 +9909,8 @@ package android.hardware {
field public static final java.lang.String FOCUS_MODE_FIXED = "fixed";
field public static final java.lang.String FOCUS_MODE_INFINITY = "infinity";
field public static final java.lang.String FOCUS_MODE_MACRO = "macro";
+ field public static final java.lang.String LOW_POWER = "Low_Power";
+ field public static final java.lang.String NORMAL_POWER = "Normal_Power";
field public static final int PREVIEW_FPS_MAX_INDEX = 1; // 0x1
field public static final int PREVIEW_FPS_MIN_INDEX = 0; // 0x0
field public static final java.lang.String SCENE_MODE_ACTION = "action";