summaryrefslogtreecommitdiffstats
path: root/res/xml/capture_preferences.xml
diff options
context:
space:
mode:
Diffstat (limited to 'res/xml/capture_preferences.xml')
-rw-r--r--res/xml/capture_preferences.xml154
1 files changed, 154 insertions, 0 deletions
diff --git a/res/xml/capture_preferences.xml b/res/xml/capture_preferences.xml
new file mode 100644
index 000000000..59803aeb8
--- /dev/null
+++ b/res/xml/capture_preferences.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (c) 2016, The Linux Foundation. All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of The Linux Foundation nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+-->
+
+<PreferenceGroup
+ xmlns:camera="http://schemas.android.com/apk/res/org.codeaurora.snapcam"
+ camera:title="@string/pref_camera_settings_category">
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_flashmode_default"
+ camera:entries="@array/pref_camera2_flashmode_entries"
+ camera:entryValues="@array/pref_camera2_flashmode_entryvalues"
+ camera:icons="@array/pref_camera2_flashmode_icons"
+ camera:key="pref_camera2_flashmode_key"
+ camera:labelList="@array/pref_camera2_flashmode_labels"
+ camera:largeIcons="@array/pref_camera2_flashmode_largeicons"
+ camera:singleIcon="@drawable/ic_settings_flash"
+ camera:title="@string/pref_camera_flashmode_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_whitebalance_default"
+ camera:entries="@array/pref_camera2_whitebalance_entries"
+ camera:entryValues="@array/pref_camera2_whitebalance_entryvalues"
+ camera:icons="@array/pref_camera2_whitebalance_icons"
+ camera:key="pref_camera2_whitebalance_key"
+ camera:labelList="@array/pref_camera2_whitebalance_labels"
+ camera:largeIcons="@array/pref_camera2_whitebalance_largeicons"
+ camera:singleIcon="@drawable/ic_settings_lightsource"
+ camera:title="@string/pref_camera_whitebalance_title"/>
+
+ <RecordLocationPreference
+ camera:defaultValue="@string/pref_camera_recordlocation_default"
+ camera:entries="@array/pref_camera2_recordlocation_entries"
+ camera:entryValues="@array/pref_camera2_recordlocation_entryvalues"
+ camera:icons="@array/pref_camera2_recordlocation_icons"
+ camera:key="pref_camera2_recordlocation_key"
+ camera:labelList="@array/pref_camera2_recordlocation_labels"
+ camera:largeIcons="@array/pref_camera2_recordlocation_largeicons"
+ camera:singleIcon="@drawable/ic_settings_location"
+ camera:title="@string/pref_camera_recordlocation_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_jpegquality_default"
+ camera:entries="@array/pref_camera2_jpegquality_entries"
+ camera:entryValues="@array/pref_camera2_jpegquality_entryvalues"
+ camera:key="pref_camera2_jpegquality_key"
+ camera:singleIcon="@drawable/ic_settings_quality"
+ camera:title="@string/pref_camera_jpegquality_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_savepath_default"
+ camera:entries="@array/pref_camera2_savepath_entries"
+ camera:entryValues="@array/pref_camera2_savepath_entryvalues"
+ camera:key="pref_camera2_savepath_key"
+ camera:singleIcon="@drawable/ic_settings_storage"
+ camera:title="@string/pref_camera_savepath_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera2_camera2_default"
+ camera:entries="@array/pref_camera2_camera2_entries"
+ camera:entryValues="@array/pref_camera2_camera2_entryvalues"
+ camera:key="pref_camera2_camera2_key"
+ camera:title="@string/pref_camera2_camera2_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera2_dual_camera_default"
+ camera:dependencyList="@array/pref_camera2_dual_camera_dependencylist"
+ camera:entries="@array/pref_camera2_dual_camera_entries"
+ camera:entryValues="@array/pref_camera2_dual_camera_entryvalues"
+ camera:key="pref_camera2_dual_camera_key"
+ camera:title="@string/pref_camera2_dual_camera_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera2_mono_preview_default"
+ camera:entries="@array/pref_camera2_mono_preview_entries"
+ camera:entryValues="@array/pref_camera2_mono_preview_entryvalues"
+ camera:key="pref_camera2_mono_preview_key"
+ camera:title="@string/pref_camera2_mono_preview_title"/>
+
+ <ListPreference
+ camera:defaultValue="@string/pref_camera2_clearsight_default"
+ camera:entries="@array/pref_camera2_clearsight_entries"
+ camera:entryValues="@array/pref_camera2_clearsight_entryvalues"
+ camera:key="pref_camera2_clearsight_key"
+ camera:title="@string/pref_camera2_clearsight_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_coloreffect_default"
+ camera:entries="@array/pref_camera2_coloreffect_entries"
+ camera:entryValues="@array/pref_camera2_coloreffect_entryvalues"
+ camera:key="pref_camera2_coloreffect_key"
+ camera:largeIcons="@array/pref_camera2_coloreffect_icons"
+ camera:singleIcon="@drawable/ic_settings_filter"
+ camera:thumbnails="@array/pref_camera2_coloreffect_thumbnails"
+ camera:title="@string/pref_camera_coloreffect_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera2_scenemode_default"
+ camera:dependencyList="@array/pref_camera2_scenemode_dependencylist"
+ camera:entries="@array/pref_camera2_scenemode_entries"
+ camera:entryValues="@array/pref_camera2_scenemode_entryvalues"
+ camera:key="pref_camera2_scenemode_key"
+ camera:singleIcon="@drawable/ic_settings_scenemode"
+ camera:thumbnails="@array/pref_camera2_scenemode_thumbnails"
+ camera:title="@string/pref_camera_scenemode_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_redeyereduction_default"
+ camera:entries="@array/pref_camera2_redeyereduction_entries"
+ camera:entryValues="@array/pref_camera2_redeyereduction_entryvalues"
+ camera:key="pref_camera2_redeyereduction_key"
+ camera:singleIcon="@drawable/ic_settings_redeye"
+ camera:title="@string/pref_camera_redeyereduction_title"/>
+
+ <IconListPreference
+ camera:defaultValue="@string/pref_camera_id_default"
+ camera:entries="@array/pref_camera2_id_entries"
+ camera:icons="@array/pref_camera2_id_icons"
+ camera:key="pref_camera2_id_key"
+ camera:labelList="@array/pref_camera2_id_labels"
+ camera:largeIcons="@array/pref_camera2_id_largeicons"
+ camera:title="@string/pref_camera_id_title"/>
+
+ <IconListPreference
+ camera:entries="@array/pref_camera2_picturesize_entries"
+ camera:entryValues="@array/pref_camera2_picturesize_entryvalues"
+ camera:key="pref_camera2_picturesize_key"
+ camera:singleIcon="@drawable/ic_settings_picturesize"
+ camera:title="@string/pref_camera_picturesize_title"/>
+</PreferenceGroup>