diff options
author | jt1134 <jt1134@gmail.com> | 2013-01-12 07:35:45 +0100 |
---|---|---|
committer | Chippa-a <vusal1372@gmail.com> | 2019-10-25 15:55:25 +0300 |
commit | 3d818573ea89729f43aee04a08ffd329c3a294da (patch) | |
tree | 4307c44e8bfd90e9fd047842ed7644176ca709ae /res/values | |
parent | d8447450778d33262aebd7f7ed4346a8832f192e (diff) | |
download | android_packages_apps_Snap-3d818573ea89729f43aee04a08ffd329c3a294da.tar.gz android_packages_apps_Snap-3d818573ea89729f43aee04a08ffd329c3a294da.tar.bz2 android_packages_apps_Snap-3d818573ea89729f43aee04a08ffd329c3a294da.zip |
Snap: Add touch-to-focus timeout duration settings
Change-Id: Ib2c2c152a52b2616dd0da6f071f572d34fe64065
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/cm_arrays.xml | 16 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 9 |
2 files changed, 25 insertions, 0 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index b308c083e..3e700a68f 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -24,4 +24,20 @@ <item>@string/setting_off</item> <item>@string/setting_on</item> </array> + + <!-- Touch focus duration --> + <string-array name="pref_camera_focustime_duration_entries" translatable="false"> + <item>@string/pref_camera_focustime_entry_3</item> + <item>@string/pref_camera_focustime_entry_5</item> + <item>@string/pref_camera_focustime_entry_10</item> + <item>@string/pref_camera_focustime_entry_infinite</item> + </string-array> + + <!-- Stored in milliseconds --> + <string-array name="pref_camera_focustime_duration_values" translatable="false"> + <item>3000</item> + <item>5000</item> + <item>10000</item> + <item>0</item> + </string-array> </resources> diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 4263cbfc6..6b2ec335c 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -91,4 +91,13 @@ <string name="pref_camera_max_brightness_title">Bright screen</string> <string name="pref_camera_max_brightness_default" translatable="false">off</string> + <!-- Touch focus duration --> + <string name="pref_camera_focustime_title">Touch focus duration</string> + <string name="pref_camera_focustime_default" translatable="false">3000</string> + + <string name="pref_camera_focustime_entry_3">3s</string> + <string name="pref_camera_focustime_entry_5">5s</string> + <string name="pref_camera_focustime_entry_10">10s</string> + <string name="pref_camera_focustime_entry_infinite">Infinite</string> + </resources> |