summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2015-12-06 10:30:28 -0800
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-07 15:05:29 -0800
commitfe1043717bca62c00f0da3f49528071ab05de282 (patch)
treedcfc6fd50605514e767765706441ce3c32e019e2 /res
parentfe6984064d0546d113d88107311719c5b4e7ab40 (diff)
downloadandroid_packages_apps_Snap-fe1043717bca62c00f0da3f49528071ab05de282.tar.gz
android_packages_apps_Snap-fe1043717bca62c00f0da3f49528071ab05de282.tar.bz2
android_packages_apps_Snap-fe1043717bca62c00f0da3f49528071ab05de282.zip
Snap: Add ability to set the tap-to-focus duration to 0 sec
Setting a tap-to-focus duration of 0 seconds allows for a quick, manual refocus of the subject without interfering with the exposure. This is particularly useful when recording videos. [mikeioannina]: Adapted to Snap Change-Id: Ie3d92e50f755c938e9725438ba5baad0d0985485 Signed-off-by: Sultanxda <sultanxda@gmail.com>
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_arrays.xml4
-rw-r--r--res/values/cm_strings.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml
index 7a1aeded0..1a44ad17c 100644
--- a/res/values/cm_arrays.xml
+++ b/res/values/cm_arrays.xml
@@ -27,6 +27,7 @@
<!-- Touch focus duration -->
<string-array name="pref_camera_focustime_duration_entries" translatable="false">
+ <item>@string/pref_camera_focustime_entry_0</item>
<item>@string/pref_camera_focustime_entry_5</item>
<item>@string/pref_camera_focustime_entry_10</item>
<item>@string/pref_camera_focustime_entry_15</item>
@@ -37,12 +38,13 @@
<!-- Stored in milliseconds -->
<string-array name="pref_camera_focustime_duration_values" translatable="false">
+ <item>200</item>
<item>5000</item>
<item>10000</item>
<item>15000</item>
<item>20000</item>
<item>30000</item>
- <item>0</item>
+ <item>0x7FFFFFFF</item>
</string-array>
<!-- Shutter speed -->
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index c0ddc5a37..03b14afec 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -200,6 +200,7 @@
<string name="pref_camera_focustime_title">Touch focus duration</string>
<string name="pref_camera_focustime_default" translatable="false">5000</string>
+ <string name="pref_camera_focustime_entry_0">0s</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_15">15s</string>