File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10537,13 +10537,15 @@ package android.media {
1053710537 field public static final int QUALITY_HIGH = 1; // 0x1
1053810538 field public static final int QUALITY_LOW = 0; // 0x0
1053910539 field public static final int QUALITY_QCIF = 2; // 0x2
10540+ field public static final int QUALITY_QVGA = 7; // 0x7
1054010541 field public static final int QUALITY_TIME_LAPSE_1080P = 1006; // 0x3ee
1054110542 field public static final int QUALITY_TIME_LAPSE_480P = 1004; // 0x3ec
1054210543 field public static final int QUALITY_TIME_LAPSE_720P = 1005; // 0x3ed
1054310544 field public static final int QUALITY_TIME_LAPSE_CIF = 1003; // 0x3eb
1054410545 field public static final int QUALITY_TIME_LAPSE_HIGH = 1001; // 0x3e9
1054510546 field public static final int QUALITY_TIME_LAPSE_LOW = 1000; // 0x3e8
1054610547 field public static final int QUALITY_TIME_LAPSE_QCIF = 1002; // 0x3ea
10548+ field public static final int QUALITY_TIME_LAPSE_QVGA = 1007; // 0x3ef
1054710549 field public int audioBitRate;
1054810550 field public int audioChannels;
1054910551 field public int audioCodec;
Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ public class CamcorderProfile
8282
8383 /**
8484 * Quality level corresponding to the QVGA (320x240) resolution.
85- * {@hide}
8685 */
8786 public static final int QUALITY_QVGA = 7 ;
8887
@@ -127,7 +126,6 @@ public class CamcorderProfile
127126
128127 /**
129128 * Time lapse quality level corresponding to the QVGA (320 x 240) resolution.
130- * {@hide}
131129 */
132130 public static final int QUALITY_TIME_LAPSE_QVGA = 1007 ;
133131
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ public void setProfile(CamcorderProfile profile) {
299299 setVideoEncodingBitRate (profile .videoBitRate );
300300 setVideoEncoder (profile .videoCodec );
301301 if (profile .quality >= CamcorderProfile .QUALITY_TIME_LAPSE_LOW &&
302- profile .quality <= CamcorderProfile .QUALITY_TIME_LAPSE_1080P ) {
302+ profile .quality <= CamcorderProfile .QUALITY_TIME_LAPSE_QVGA ) {
303303 // Enable time lapse. Also don't set audio for time lapse.
304304 setParameter (String .format ("time-lapse-enable=1" ));
305305 } else {
You can’t perform that action at this time.
0 commit comments