diff options
author | Sultanxda <sultanxda@gmail.com> | 2015-09-08 21:32:48 -0700 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2017-01-04 21:57:45 +0200 |
commit | b82082a43cf3153a0dec9f288d8c358b9b39703a (patch) | |
tree | 87666890b207c154a970be3b571f91f389d663f3 /res | |
parent | 677af41f0ff8c273e6a6bebb999f2baca98c66e5 (diff) | |
download | android_packages_apps_Snap-b82082a43cf3153a0dec9f288d8c358b9b39703a.tar.gz android_packages_apps_Snap-b82082a43cf3153a0dec9f288d8c358b9b39703a.tar.bz2 android_packages_apps_Snap-b82082a43cf3153a0dec9f288d8c358b9b39703a.zip |
SnapdragonCamera: Add focus-mode option to camcorder
User can now control the focus mode used while recording video.
Change-Id: I340c01a3f88314de67ca024279672276eff453ed
Signed-off-by: Sultanxda <sultanxda@gmail.com>
Diffstat (limited to 'res')
-rw-r--r-- | res/values/arrays.xml | 5 | ||||
-rw-r--r-- | res/values/cm_arrays.xml | 16 | ||||
-rw-r--r-- | res/xml/video_preferences.xml | 7 |
3 files changed, 23 insertions, 5 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 2a86e0943..642bd4824 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -794,11 +794,6 @@ <item>auto</item> </string-array> - <string-array name="pref_video_focusmode_default_array" translatable="false"> - <item>continuous-video</item> - <item>auto</item> - </string-array> - <!-- Icons for exposure compensation --> <array name="pref_camera_exposure_icons" translatable="false"> <item>@drawable/ic_exposure_n3</item> diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index d3414355d..7a1aeded0 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -92,4 +92,20 @@ <item>30</item> </string-array> + <!-- Default focus mode setting.--> + <string-array name="pref_video_focusmode_default_array" translatable="false"> + <item>continuous-video</item> + <item>auto</item> + </string-array> + + <!-- Camcorder Preferences focus mode dialog box entries --> + <string-array name="pref_video_focusmode_entries" translatable="false"> + <item>@string/pref_camera_focusmode_entry_auto</item> + <item>@string/pref_camera_focusmode_entry_continuous</item> + </string-array> + + <string-array name="pref_video_focusmode_entryvalues" translatable="false"> + <item>auto</item> + <item>continuous-video</item> + </string-array> </resources> diff --git a/res/xml/video_preferences.xml b/res/xml/video_preferences.xml index a1902adfa..2d148163c 100644 --- a/res/xml/video_preferences.xml +++ b/res/xml/video_preferences.xml @@ -195,6 +195,13 @@ camera:entries="@array/pref_camera_video_rotation_entries" camera:entryValues="@array/pref_camera_video_rotation_entryvalues" /> <IconListPreference + camera:key="pref_camera_video_focusmode_key" + camera:defaultValue="@array/pref_video_focusmode_default_array" + camera:title="@string/pref_camera_focusmode_title" + camera:singleIcon="@drawable/ic_settings_focus" + camera:entries="@array/pref_video_focusmode_entries" + camera:entryValues="@array/pref_video_focusmode_entryvalues" /> + <IconListPreference camera:key="pref_power_shutter" camera:defaultValue="@string/pref_camera_power_shutter_default" camera:title="@string/pref_camera_power_shutter_title" |