diff options
author | Wilhelm Fitzpatrick <rafial@cyngn.com> | 2014-11-14 16:31:35 -0800 |
---|---|---|
committer | Chippa-a <vusal1372@gmail.com> | 2019-10-25 15:55:25 +0300 |
commit | 84b2ffbcf4360332691379a7249a811d3e7c5bb0 (patch) | |
tree | 13e3808b2411f560a5c3291f6070f325f8993920 /res/values/cm_strings.xml | |
parent | 5c9ac149ede33a7999ad3a90ef76235ba77e8106 (diff) | |
download | android_packages_apps_Snap-84b2ffbcf4360332691379a7249a811d3e7c5bb0.tar.gz android_packages_apps_Snap-84b2ffbcf4360332691379a7249a811d3e7c5bb0.tar.bz2 android_packages_apps_Snap-84b2ffbcf4360332691379a7249a811d3e7c5bb0.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
Signed-off-by: Chippa-a <vusal1372@gmail.com>
Diffstat (limited to 'res/values/cm_strings.xml')
-rw-r--r-- | res/values/cm_strings.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 2908dba18..8ce5ba208 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> |