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
committerArne Coucheron <arco68@gmail.com>2018-01-26 01:07:45 +0100
commit17f201708fd3e905a3aad71f687201226f53ac4b (patch)
tree2a08092f1e89e44db82958edd2978a8c254e0042 /res/values/cm_strings.xml
parent1ae5e1cd54103f010ac6f4b636a0ad0807d42422 (diff)
downloadandroid_packages_apps_Snap-17f201708fd3e905a3aad71f687201226f53ac4b.tar.gz
android_packages_apps_Snap-17f201708fd3e905a3aad71f687201226f53ac4b.tar.bz2
android_packages_apps_Snap-17f201708fd3e905a3aad71f687201226f53ac4b.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.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 26ed0f261..9d539e9a1 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -16,6 +16,22 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- 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">(<xliff:g id="ratio" example="16:9">%1$s</xliff:g>) <xliff:g id="pixels">%2$1.1f</xliff:g> megapixels</string>
+
<!-- Settings screen, scene mode -->
<string name="pref_camera_scenemode_entry_antimotionblur">Motion blur reduction</string>
<string name="pref_camera_scenemode_entry_aqua">Aqua</string>