summaryrefslogtreecommitdiffstats
path: root/res/values/cm_strings.xml
diff options
context:
space:
mode:
authorWilhelm Fitzpatrick <rafial@cyngn.com>2014-11-14 16:31:35 -0800
committerSteve Kondik <steve@cyngn.com>2016-11-02 12:24:52 -0700
commitc76e6d8a2768487407fd5db3d1e917bc35f22c80 (patch)
tree0b8c0e1d21e79dc90560f8b4d8f49724fb39d84d /res/values/cm_strings.xml
parente4351681fcb22d2b08562bf14ebeb32573e41d7f (diff)
downloadandroid_packages_apps_Snap-c76e6d8a2768487407fd5db3d1e917bc35f22c80.tar.gz
android_packages_apps_Snap-c76e6d8a2768487407fd5db3d1e917bc35f22c80.tar.bz2
android_packages_apps_Snap-c76e6d8a2768487407fd5db3d1e917bc35f22c80.zip
CameraNext: dynamically generate available photo resolutions
Instead of depending on a large matching table, generated the list of picture sizes to show to the user directly from the supported list returned by the camera. The list is filtered to remove uselessly small resolutions on modern devices, to group resolutions by aspect ratio, and to filter out fairly similar sizes. Change-Id: I47a67a89786543baec133cf7e71df9819793ebac
Diffstat (limited to 'res/values/cm_strings.xml')
-rw-r--r--res/values/cm_strings.xml73
1 files changed, 15 insertions, 58 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 2dbc886c9..9e99dd5cc 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -16,64 +16,21 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
- <!-- Settings screen, dialog choice for 20.7 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_20_7mp">20.7M pixels</string>
- <!-- Settings screen, dialog choice for 18 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_18mp">18M pixels</string>
- <!-- Settings screen, dialog choice for 16 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_16mp">16M pixels</string>
- <!-- Settings screen, dialog choice for 15.9 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_15_9mp_wide">15.9M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 12.8 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_12_8mp">12.8M pixels</string>
- <!-- Settings screen, dialog choice for 12.7 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_12_7mp">12.7M pixels</string>
- <!-- Settings screen, dialog choice for 12 megapixels picture size [CHAR LIMIT=20] -->
- <string name="pref_camera_picturesize_entry_12mp">12M pixels</string>
- <!-- Settings screen, dialog choice for 11.9 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_11_9mp">11.9M pixels</string>
- <!-- Settings screen, dialog choice for 11.5 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_11_5mp">11.5M pixels</string>
- <!-- Settings screen, dialog choice for 10.4 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_10_4mp">10.4M pixels</string>
- <!-- Settings screen, dialog choice for 10 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_10mp">10M pixels</string>
- <!-- Settings screen, dialog choice for 9.7 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_9_7mp_wide">9.7M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 9 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_9mp">9M pixels</string>
- <!-- Settings screen, dialog choice for 8.2 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_8_2mp_wide">8.2M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 7.7 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_7_7mp">7.7M pixels</string>
- <!-- Settings screen, dialog choice for 6.4 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_6_4mp">6.4M pixels</string>
- <!-- Settings screen, dialog choice for 6 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_6mp_wide">6M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 4.5 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_4_5mp">4.5M pixels</string>
- <!-- Settings screen, dialog choice for 4 megapixels picture size [CHAR LIMIT=20] -->
- <string name="pref_camera_picturesize_entry_4mp">4M pixels</string>
- <!-- Settings screen, dialog choice for 3.7 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_3_7mp_wide">3.7M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 2.5 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_2_5mp">2.5M pixels</string>
- <!-- Settings screen, dialog choice for 2.1 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_2_1mp_wide">2.1M pixels (16:9)</string>
- <!-- Settings screen, dialog choice for 1.9 megapixels picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_1_9mp">1.9M pixels</string>
- <!-- Settings screen, dialog choice for WXGA picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_wxga">WXGA</string>
- <!-- Settings screen, dialog choice for XGA picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_xga">XGA</string>
- <!-- Settings screen, dialog choice for SVGA picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_svga">SVGA</string>
- <!-- Settings screen, dialog choice for nHD picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_nhd_wide">nHD (16:9)</string>
- <!-- Settings screen, dialog choice for WVGA picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_wvga">WVGA</string>
- <!-- Settings screen, dialog choice for WQVGA picture size [CHAR LIMIT=15] -->
- <string name="pref_camera_picturesize_entry_wqvga">WQVGA</string>
+ <!-- common aspect ratios -->
+ <string name="pref_camera_aspectratio_43" translatable="false">4:3</string>
+ <string name="pref_camera_aspectratio_32" translatable="false">3:2</string>
+ <string name="pref_camera_aspectratio_1610" translatable="false">16:10</string>
+ <string name="pref_camera_aspectratio_53" translatable="false">5:3</string>
+ <string name="pref_camera_aspectratio_169" translatable="false">16:9</string>
+ <string name="pref_camera_aspectratio_11" translatable="false">1:1</string>
+ <!-- aspect ratio greater than 16:9, so "widescreen" or "cinematic" -->
+ <string name="pref_camera_aspectratio_wide">Wide</string>
+
+ <!-- format for entries in the picture size menu. Parameter one is aspect ratio
+ parameter two is size in megapixels, e.g. "(4:3) 12.1 megapixels"
+ NOTE: for Chinese (zh) and Korean (ko) the pixel number (parameter two)
+ will be multiplied by 100 as those languages want to count by ten thousands -->
+ <string name="pref_camera_megapixel_format">(%1$s) %2$1.1f megapixels</string>
<!-- Settings screen, scene mode -->
<string name="pref_camera_scenemode_entry_antimotionblur">Motion blur reduction</string>