summaryrefslogtreecommitdiffstats
path: root/res/xml/capture_preferences.xml
diff options
context:
space:
mode:
authorByunghun Jeon <bjeon@codeaurora.org>2016-05-10 16:59:33 -0700
committerSteve Kondik <steve@cyngn.com>2016-08-25 21:55:20 -0700
commit9cd5721ea88d24549a2946e1aaaef04993bc94d6 (patch)
tree5cace1ebb46725b06e76340b2e902ffc682d8903 /res/xml/capture_preferences.xml
parent56881f01e46cd33506b7d8a9ee1a7e66165c4519 (diff)
downloadandroid_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.zip
android_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.tar.gz
android_packages_apps_Snap-9cd5721ea88d24549a2946e1aaaef04993bc94d6.tar.bz2
SnapdragonCamera: Add video to Camera2 module
Add video to Camera2 module and combine the UI Change-Id: I0bcd86eb6b95fe2180856780ddd794682259e799
Diffstat (limited to 'res/xml/capture_preferences.xml')
-rw-r--r--res/xml/capture_preferences.xml68
1 files changed, 68 insertions, 0 deletions
diff --git a/res/xml/capture_preferences.xml b/res/xml/capture_preferences.xml
index 5e9235e..697770b 100644
--- a/res/xml/capture_preferences.xml
+++ b/res/xml/capture_preferences.xml
@@ -190,4 +190,72 @@
camera:entries="@array/pref_camera2_makeup_entries"
camera:entryValues="@array/pref_camera2_makeup_entryvalues"
camera:title="@string/pref_camera2_makeup_title"/>
+
+ <IconListPreference
+ camera:entries="@array/pref_camera2_video_quality_entries"
+ camera:entryValues="@array/pref_camera2_video_quality_entryvalues"
+ camera:key="pref_camera2_video_quality_key"
+ camera:singleIcon="@drawable/ic_settings_quality"
+ camera:title="@string/pref_video_quality_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_video_duration_default"
+ camera:entries="@array/pref_camera2_video_duration_entries"
+ camera:entryValues="@array/pref_camera2_video_duration_entryvalues"
+ camera:key="pref_camera2_video_duration_key"
+ camera:singleIcon="@drawable/ic_settings_duration"
+ camera:title="@string/pref_camera_video_duration_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_videoencoder_default"
+ camera:entries="@array/pref_camera2_videoencoder_entries"
+ camera:entryValues="@array/pref_camera2_videoencoder_entryvalues"
+ camera:key="pref_camera2_videoencoder_key"
+ camera:title="@string/pref_camera_videoencoder_title"/>
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_audioencoder_default"
+ camera:entries="@array/pref_camera2_audioencoder_entries"
+ camera:entryValues="@array/pref_camera2_audioencoder_entryvalues"
+ camera:key="pref_camera2_audioencoder_key"
+ camera:title="@string/pref_camera_audioencoder_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_dis_default"
+ camera:entries="@array/pref_camera2_dis_entries"
+ camera:entryValues="@array/pref_camera2_dis_entryvalues"
+ camera:key="pref_camera2_dis_key"
+ camera:singleIcon="@drawable/ic_eis_menu"
+ camera:title="@string/pref_camera_dis_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_noise_reduction_default"
+ camera:entries="@array/pref_camera2_noise_reduction_entries"
+ camera:entryValues="@array/pref_camera2_noise_reduction_entryvalues"
+ camera:key="pref_camera2_noise_reduction_key"
+ camera:title="@string/pref_camera_noise_reduction_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_video_flashmode_default"
+ camera:entries="@array/pref_camera2_video_flashmode_entries"
+ camera:entryValues="@array/pref_camera2_video_flashmode_entryvalues"
+ camera:icons="@array/video_flashmode_icons"
+ camera:key="pref_camera2_video_flashmode_key"
+ camera:labelList="@array/pref_camera2_video_flashmode_labels"
+ camera:largeIcons="@array/video_flashmode_largeicons"
+ camera:singleIcon="@drawable/ic_settings_flash"
+ camera:title="@string/pref_camera_flashmode_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera_video_rotation_default"
+ camera:entries="@array/pref_camera2_video_rotation_entries"
+ camera:entryValues="@array/pref_camera2_video_rotation_entryvalues"
+ camera:key="pref_camera2_video_rotation_key"
+ camera:title="@string/pref_camera_video_rotation_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_video_time_lapse_frame_interval_default"
+ camera:entries="@array/pref_camera2_video_time_lapse_frame_interval_entries"
+ camera:entryValues="@array/pref_camera2_video_time_lapse_frame_interval_entryvalues"
+ camera:key="pref_camera2_video_time_lapse_frame_interval_key"
+ camera:title="@string/pref_video_time_lapse_frame_interval_title"/>
</PreferenceGroup>