diff options
author | Angus Kong <shkong@google.com> | 2011-09-23 18:08:00 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-09-23 20:25:41 +0800 |
commit | 05999715cc38365aa4751a2a355eb1af284573ab (patch) | |
tree | 8fbafe767f4d64bfb57f62feec5b72eaf8b21295 /res/values | |
parent | 022d6d7e809fcd47ebc751deaea84e2d3639069a (diff) | |
download | LegacyCamera-05999715cc38365aa4751a2a355eb1af284573ab.zip LegacyCamera-05999715cc38365aa4751a2a355eb1af284573ab.tar.gz LegacyCamera-05999715cc38365aa4751a2a355eb1af284573ab.tar.bz2 |
Show the real resolution for quality settings.
1. Change the assets.
2. Change the strings from high/low/mms to 1080p/720p/480p.
3. Change the preference from customized string to the real values of
CamcorderProfile.QUALITY_[1080|720|480]P
bug:5141068
Change-Id: I294799bda8e873f828bbf4bd21330591f0859632
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/arrays.xml | 21 | ||||
-rw-r--r-- | res/values/strings.xml | 22 |
2 files changed, 20 insertions, 23 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 8ad433e..854bc22 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -18,21 +18,24 @@ <resources> <!-- Camera Preferences Video Quality entries --> <string-array name="pref_video_quality_entries" translatable="false"> - <item>@string/pref_video_quality_entry_high</item> - <item>@string/pref_video_quality_entry_low</item> - <item>@string/pref_video_quality_entry_youtube</item> + <item>@string/pref_video_quality_entry_1080p</item> + <item>@string/pref_video_quality_entry_720p</item> + <item>@string/pref_video_quality_entry_480p</item> </string-array> <string-array name="pref_video_quality_entryvalues" translatable="false"> - <item>@string/pref_video_quality_high</item> - <item>@string/pref_video_quality_low</item> - <item>@string/pref_video_quality_youtube</item> + <!-- The integer value of CamcorderProfile.QUALITY_1080P --> + <item>6</item> + <!-- The integer value of CamcorderProfile.QUALITY_720P --> + <item>@string/pref_video_quality_default</item> + <!-- The integer value of CamcorderProfile.QUALITY_480P --> + <item>4</item> </string-array> <array name="video_quality_largeicons" translatable="false"> - <item>@drawable/ic_viewfinder_video_quality_high</item> - <item>@drawable/ic_viewfinder_video_quality_low</item> - <item>@drawable/ic_viewfinder_video_quality_youtube</item> + <item>@drawable/ic_viewfinder_video_quality_1080p</item> + <item>@drawable/ic_viewfinder_video_quality_720p</item> + <item>@drawable/ic_viewfinder_video_quality_480p</item> </array> <!-- Camera Preferences Time Lapse Frame Interval entries --> diff --git a/res/values/strings.xml b/res/values/strings.xml index 9ec1baf..4db1938 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -106,20 +106,14 @@ <!-- The Video quality settings in preference [CHAR LIMIT=21] --> <string name="pref_video_quality_title">Video quality</string> - <string name="pref_video_quality_default" translatable="false">high</string> - <!-- Video quality setting entry. Videos will be recorded in high quality. [CHAR LIMIT=24] --> - <string name="pref_video_quality_entry_high">High</string> - <!-- Video quality setting entry. Videos will be recorded in low quality. [CHAR LIMIT=24] --> - <string name="pref_video_quality_entry_low">Low</string> - <!-- Video quality setting entry. Videos will be recorded in low quality and the length is at most 30 seconds. [CHAR LIMIT=24] --> - <string name="pref_video_quality_entry_mms">MMS (Low, 30s)</string> - <!-- Video quality setting entry. Videos will be recorded in high quality and the length is at most 15 minutes. [CHAR LIMIT=24] --> - <string name="pref_video_quality_entry_youtube">YouTube (High, 15m)</string> - - <string name="pref_video_quality_high" translatable="false">high</string> - <string name="pref_video_quality_low" translatable="false">low</string> - <string name="pref_video_quality_mms" translatable="false">mms</string> - <string name="pref_video_quality_youtube" translatable="false">youtube</string> + <!-- The default quality value is 5 (720p) --> + <string name="pref_video_quality_default" translatable="false">5</string> + <!-- Video quality setting entry. Videos will be recorded in 1080p quality. [CHAR LIMIT=24] --> + <string name="pref_video_quality_entry_1080p" translatable="false">HD</string> + <!-- Video quality setting entry. Videos will be recorded in 720p quality. [CHAR LIMIT=24] --> + <string name="pref_video_quality_entry_720p" translatable="false">HD</string> + <!-- Video quality setting entry. Videos will be recorded in 480p quality. [CHAR LIMIT=24] --> + <string name="pref_video_quality_entry_480p" translatable="false">SD</string> <!-- Describes the preference dialog for choosing interval between frame capture for time lapse recording. Appears at top of the dialog. [CHAR LIMIT=30] --> |