summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorSultanxda <sultanxda@gmail.com>2015-12-08 18:51:56 -0800
committerChippa-a <vusal1372@gmail.com>2019-10-25 15:55:25 +0300
commitac1179e2c3356bb8eee2f91d62f8dd09f3801d20 (patch)
treee2a886193e5982e27ef9540e1d086dc790be672f /res
parenta794821f1f1a87368b5b52c23fbcb469ba28673e (diff)
downloadandroid_packages_apps_Snap-ac1179e2c3356bb8eee2f91d62f8dd09f3801d20.tar.gz
android_packages_apps_Snap-ac1179e2c3356bb8eee2f91d62f8dd09f3801d20.tar.bz2
android_packages_apps_Snap-ac1179e2c3356bb8eee2f91d62f8dd09f3801d20.zip
Snap: Separate default focus time between camera/video
For the camera, the user expects a default tap-to-focus duration of 3 seconds with exposure locking. For the camcorder, however, the user expects a tap-to-focus duration of 0 seconds with no exposure locking, as the rapid change in exposure while recording would negatively impact the video. Separate the tap-to-focus option to reflect the recommended defaults. [mikeioannina]: Adapted to Snap Change-Id: I75bc0610f5d301c9728b4bc104b86e0fab5493fb Signed-off-by: Sultanxda <sultanxda@gmail.com>
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml1
-rwxr-xr-xres/xml/video_preferences.xml2
2 files changed, 2 insertions, 1 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 5b8ddf306..1f7992239 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -111,6 +111,7 @@
<!-- 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_video_focustime_default" translatable="false">200</string>
<string name="pref_camera_focustime_entry_0">0s</string>
<string name="pref_camera_focustime_entry_3">3s</string>
diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml
index 134ecabf1..d42ad9d59 100755
--- a/res/xml/video_preferences.xml
+++ b/res/xml/video_preferences.xml
@@ -191,7 +191,7 @@
camera:entryValues="@array/pref_video_focusmode_entryvalues" />
<ListPreference
camera:key="pref_camera_video_focustime_key"
- camera:defaultValue="@string/pref_camera_focustime_default"
+ camera:defaultValue="@string/pref_camera_video_focustime_default"
camera:title="@string/pref_camera_focustime_title"
camera:entries="@array/pref_camera_focustime_duration_entries"
camera:entryValues="@array/pref_camera_focustime_duration_values" />