summaryrefslogtreecommitdiffstats
path: root/res/values/arrays.xml
diff options
context:
space:
mode:
authorNipun Kwatra <nkwatra@google.com>2010-09-12 00:25:48 -0700
committerNipun Kwatra <nkwatra@google.com>2010-09-13 15:23:56 -0700
commit035376721081f70aaf41d3da31aa50b479624ef0 (patch)
tree8cee2fc55009c9876352c9fe08c9693a708cd23c /res/values/arrays.xml
parent430d55def5d87aa9f35d135eac319eb905912693 (diff)
downloadLegacyCamera-035376721081f70aaf41d3da31aa50b479624ef0.zip
LegacyCamera-035376721081f70aaf41d3da31aa50b479624ef0.tar.gz
LegacyCamera-035376721081f70aaf41d3da31aa50b479624ef0.tar.bz2
Filter out unsupported time lapse resolutions.
- Filtering out unsupported resolutions. - Added getSupportedTimeLapseProfiles() to find the list of supported time lapse profiles. - added CamcorderProfile quality level values to the pref_video_time_lapse_quality_entryvalues in arrays.xml - removed getVideoTimeLapseQuality as can use the quality values directly. - Use the newly added time lapse profiles for setting resolution values. Change-Id: I0776a38e0a9bd19fff772878869e1c0504aadc8d
Diffstat (limited to 'res/values/arrays.xml')
-rw-r--r--res/values/arrays.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 3907823..0d0879a 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -47,12 +47,14 @@
<item>@string/pref_video_time_lapse_quality_entry_1080p</item>
</string-array>
+ <!-- These values correspond to the quality level integers defined
+ in CamcorderProfile.java. E.g. QUALITY_TIME_LAPSE_480P = 1004 -->
<string-array name="pref_video_time_lapse_quality_entryvalues" translatable="false">
- <item>low</item>
- <item>high</item>
- <item>480p</item>
- <item>720p</item>
- <item>1080p</item>
+ <item>1000</item>
+ <item>1001</item>
+ <item>1004</item>
+ <item>1005</item>
+ <item>1006</item>
</string-array>
<array name="video_time_lapse_quality_icons" translatable="false">