summaryrefslogtreecommitdiffstats
path: root/DeviceSettings/res/xml
diff options
context:
space:
mode:
authorXpLoDWilD <xplodgui@gmail.com>2012-05-01 01:53:55 +0200
committerXpLoDWilD <xplodgui@gmail.com>2012-05-01 01:53:55 +0200
commitcac2ee8f89c83c25039bc73ed817bc7b8c994f7e (patch)
treea7885d1146556b621d155a4404cc6b4c5c757ebd /DeviceSettings/res/xml
parent4638ae1ab2f3cb8c04793e12fccd6b4ef36ccf80 (diff)
downloaddevice_samsung_n7000-cac2ee8f89c83c25039bc73ed817bc7b8c994f7e.zip
device_samsung_n7000-cac2ee8f89c83c25039bc73ed817bc7b8c994f7e.tar.gz
device_samsung_n7000-cac2ee8f89c83c25039bc73ed817bc7b8c994f7e.tar.bz2
Add DeviceSettings
Diffstat (limited to 'DeviceSettings/res/xml')
-rw-r--r--DeviceSettings/res/xml/mdnie_preferences.xml64
-rw-r--r--DeviceSettings/res/xml/radio_preferences.xml12
-rw-r--r--DeviceSettings/res/xml/sensors_preferences.xml30
3 files changed, 106 insertions, 0 deletions
diff --git a/DeviceSettings/res/xml/mdnie_preferences.xml b/DeviceSettings/res/xml/mdnie_preferences.xml
new file mode 100644
index 0000000..f433418
--- /dev/null
+++ b/DeviceSettings/res/xml/mdnie_preferences.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+
+ <PreferenceCategory
+ android:title="@string/screen_colors_title">
+
+ <!-- mDNIe Scenario modes -->
+ <com.cyanogenmod.settings.device.mDNIeScenario
+ android:key="mdnie_scenario"
+ android:title="@string/mdnie_scenario_title_head"
+ android:summary="@string/mdnie_scenario_summary_head"
+ android:entries="@array/mdnie_scenario_entries"
+ android:entryValues="@array/mdnie_scenario_entries_values"
+ android:defaultValue="0" />
+
+ <!-- mDNIe Mode -->
+ <com.cyanogenmod.settings.device.mDNIeMode
+ android:key="mdnie_mode"
+ android:title="@string/mdnie_mode_title_head"
+ android:summary="@string/mdnie_mode_summary_head"
+ android:entries="@array/mdnie_mode_entries"
+ android:entryValues="@array/mdnie_mode_entries_values"
+ android:defaultValue="1" />
+
+ <!-- mDNIe Negative mode -->
+ <com.cyanogenmod.settings.device.mDNIeNegative
+ android:key="mdnie_negative"
+ android:title="@string/mdnie_negative_title_head"
+ android:summary="@string/mdnie_negative_summary_head"
+ android:entries="@array/mdnie_negative_entries"
+ android:entryValues="@array/mdnie_negative_entries_values"
+ android:defaultValue="0" />
+
+ <!-- mDNIe Outdoor mode -->
+ <com.cyanogenmod.settings.device.mDNIeOutdoor
+ android:key="mdnie_outdoor"
+ android:title="@string/mdnie_outdoor_title_head"
+ android:summary="@string/mdnie_outdoor_summary_head"
+ android:entries="@array/mdnie_outdoor_entries"
+ android:entryValues="@array/mdnie_outdoor_entries_values"
+ android:defaultValue="0" />
+
+ <!-- Panel gamma -->
+ <com.cyanogenmod.settings.device.PanelGamma
+ android:key="panel_gamma"
+ android:title="@string/panel_gamma_title_head"
+ android:summary="@string/panel_gamma_summary_head"
+ android:entries="@array/panel_gamma_entries"
+ android:entryValues="@array/panel_gamma_entries_values"
+ android:defaultValue="0" />
+
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:title="@string/touchscreen_subcat_title">
+ <com.cyanogenmod.settings.device.TouchscreenSensitivity
+ android:key="touchscreen_sensitivity"
+ android:title="@string/touchscreen_sensitivity_title_head"
+ android:summary="@string/touchscreen_sensitivity_summary_head"
+ android:entries="@array/touchscreen_sensitivity_entries"
+ android:entryValues="@array/touchscreen_sensitivity_entries_values"
+ android:defaultValue="50" />
+ </PreferenceCategory>
+</PreferenceScreen>
diff --git a/DeviceSettings/res/xml/radio_preferences.xml b/DeviceSettings/res/xml/radio_preferences.xml
new file mode 100644
index 0000000..b78ecde
--- /dev/null
+++ b/DeviceSettings/res/xml/radio_preferences.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <!-- Hspa modes -->
+ <com.cyanogenmod.settings.device.Hspa
+ android:key="hspa"
+ android:title="@string/hspa_title_head"
+ android:summary="@string/hspa_summary_head"
+ android:entries="@array/hspa_entries"
+ android:entryValues="@array/hspa_entries_values"
+ android:defaultValue="0" />
+
+</PreferenceScreen>
diff --git a/DeviceSettings/res/xml/sensors_preferences.xml b/DeviceSettings/res/xml/sensors_preferences.xml
new file mode 100644
index 0000000..9029a62
--- /dev/null
+++ b/DeviceSettings/res/xml/sensors_preferences.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+ <PreferenceCategory
+ android:title="@string/gyro_subcat_title">
+ <!-- Use sensor calibration -->
+ <CheckBoxPreference
+ android:key="use_gyro_calibration"
+ android:title="@string/use_gyro_calibration_title_head"
+ android:summary="@string/use_gyro_calibration_summary_head"
+ />
+
+ <!-- Do gyro calibration -->
+ <Preference
+ android:key="calibrate_gyro"
+ android:title="@string/calibrate_gyro_title_head"
+ android:summary="@string/calibrate_gyro_summary_head"
+ />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:title="@string/touchkey_subcat_title">
+ <!-- Touchkey backlight -->
+ <CheckBoxPreference
+ android:key="touchkey_light"
+ android:title="@string/touchkey_light_title_head"
+ android:summary="@string/touchkey_light_summary_head"
+ />
+ </PreferenceCategory>
+</PreferenceScreen>
+