Skip to content

Commit dd79b4c

Browse files
psanketiAndroid (Google) Code Review
authored andcommitted
Merge "Expose video stabilization API" into ics-mr1
2 parents 62015f5 + d47823e commit dd79b4c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/current.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9366,13 +9366,15 @@ package android.hardware {
93669366
method public java.util.List<android.hardware.Camera.Size> getSupportedVideoSizes();
93679367
method public java.util.List<java.lang.String> getSupportedWhiteBalance();
93689368
method public float getVerticalViewAngle();
9369+
method public boolean getVideoStabilization();
93699370
method public java.lang.String getWhiteBalance();
93709371
method public int getZoom();
93719372
method public java.util.List<java.lang.Integer> getZoomRatios();
93729373
method public boolean isAutoExposureLockSupported();
93739374
method public boolean isAutoWhiteBalanceLockSupported();
93749375
method public boolean isSmoothZoomSupported();
93759376
method public boolean isVideoSnapshotSupported();
9377+
method public boolean isVideoStabilizationSupported();
93769378
method public boolean isZoomSupported();
93779379
method public void remove(java.lang.String);
93789380
method public void removeGpsData();
@@ -9404,6 +9406,7 @@ package android.hardware {
94049406
method public void setRecordingHint(boolean);
94059407
method public void setRotation(int);
94069408
method public void setSceneMode(java.lang.String);
9409+
method public void setVideoStabilization(boolean);
94079410
method public void setWhiteBalance(java.lang.String);
94089411
method public void setZoom(int);
94099412
method public void unflatten(java.lang.String);

core/java/android/hardware/Camera.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3256,7 +3256,6 @@ public boolean isVideoSnapshotSupported() {
32563256
* disable video stabilization.
32573257
* @see #isVideoStabilizationSupported()
32583258
* @see #getVideoStabilization()
3259-
* @hide
32603259
*/
32613260
public void setVideoStabilization(boolean toggle) {
32623261
set(KEY_VIDEO_STABILIZATION, toggle ? TRUE : FALSE);
@@ -3269,7 +3268,6 @@ public void setVideoStabilization(boolean toggle) {
32693268
* @return true if video stabilization is enabled
32703269
* @see #isVideoStabilizationSupported()
32713270
* @see #setVideoStabilization(boolean)
3272-
* @hide
32733271
*/
32743272
public boolean getVideoStabilization() {
32753273
String str = get(KEY_VIDEO_STABILIZATION);
@@ -3283,7 +3281,6 @@ public boolean getVideoStabilization() {
32833281
* @return true if video stabilization is supported
32843282
* @see #setVideoStabilization(boolean)
32853283
* @see #getVideoStabilization()
3286-
* @hide
32873284
*/
32883285
public boolean isVideoStabilizationSupported() {
32893286
String str = get(KEY_VIDEO_STABILIZATION_SUPPORTED);

0 commit comments

Comments
 (0)