summaryrefslogtreecommitdiffstats
path: root/CrespoParts/res/xml
diff options
context:
space:
mode:
authorRobert Burns <burnsra@gmail.com>2012-01-09 17:45:34 +0100
committerKalimochoAz <calimochoazucarado@gmail.com>2012-01-09 17:45:40 +0100
commit8bd8d9965bc415c858159b8a8f3f9a5ea5bc075f (patch)
tree1d8bf64210535a8eca67b9a41a0fe669dddab7ed /CrespoParts/res/xml
parent7659938515fa237a4b65c0e1adc992e5c54a485c (diff)
downloaddevice_samsung_crespo-8bd8d9965bc415c858159b8a8f3f9a5ea5bc075f.zip
device_samsung_crespo-8bd8d9965bc415c858159b8a8f3f9a5ea5bc075f.tar.gz
device_samsung_crespo-8bd8d9965bc415c858159b8a8f3f9a5ea5bc075f.tar.bz2
Readded CrespoParts with more options
Change-Id: I7a388e5ebc33ba2fb7b5f009c843fae12693c9dd
Diffstat (limited to 'CrespoParts/res/xml')
-rwxr-xr-xCrespoParts/res/xml/display_preferences.xml15
-rw-r--r--CrespoParts/res/xml/general_preferences.xml32
-rw-r--r--CrespoParts/res/xml/main.xml58
-rwxr-xr-xCrespoParts/res/xml/sound_preferences.xml68
-rwxr-xr-xCrespoParts/res/xml/touch_preferences.xml21
-rw-r--r--CrespoParts/res/xml/wm8994_settings.xml72
6 files changed, 266 insertions, 0 deletions
diff --git a/CrespoParts/res/xml/display_preferences.xml b/CrespoParts/res/xml/display_preferences.xml
new file mode 100755
index 0000000..9772b20
--- /dev/null
+++ b/CrespoParts/res/xml/display_preferences.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+
+ <!-- Color tuning -->
+ <com.cyanogenmod.settings.device.ColorTuningPreference
+ android:key="color_tuning"
+ android:title="@string/color_tuning_title_head"
+ android:summary="@string/color_tuning_summary_head" />
+ <com.cyanogenmod.settings.device.GammaTuningPreference
+ android:key="gamma_tuning"
+ android:title="@string/gamma_tuning_title_head"
+ android:summary="@string/gamma_tuning_summary_head" />
+
+</PreferenceScreen>
diff --git a/CrespoParts/res/xml/general_preferences.xml b/CrespoParts/res/xml/general_preferences.xml
new file mode 100644
index 0000000..44c0b9c
--- /dev/null
+++ b/CrespoParts/res/xml/general_preferences.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- General settings -->
+ <PreferenceCategory android:key="category_battery"
+ android:title="@string/category_battery_title">
+
+ <CheckBoxPreference android:key="deepidle"
+ android:title="@string/cpu_deepidle_title_head"
+ android:summary="@string/cpu_deepidle_summary_head" />
+ </PreferenceCategory>
+
+ <!-- Touch key backlight timeout -->
+ <PreferenceCategory android:key="category_touchkey"
+ android:title="@string/category_touchkey_title">
+ <ListPreference
+ android:key="backlight_timeout"
+ android:title="@string/backlight_timeout_title_head"
+ android:summary="@string/backlight_timeout_summary_head"
+ android:entries="@array/backlight_timeout_entries"
+ android:entryValues="@array/backlight_timeout_entries_values"
+ android:defaultValue="5" />
+ <ListPreference
+ android:key="blink_timeout"
+ android:title="@string/blink_timeout_title_head"
+ android:summary="@string/blink_timeout_summary_head"
+ android:entries="@array/blink_timeout_entries"
+ android:entryValues="@array/blink_timeout_entries_values"
+ android:defaultValue="5" />
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/CrespoParts/res/xml/main.xml b/CrespoParts/res/xml/main.xml
new file mode 100644
index 0000000..224cffd
--- /dev/null
+++ b/CrespoParts/res/xml/main.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <PreferenceCategory
+ android:title="@string/category_screen_title">
+ <!-- Color tuning -->
+ <com.cyanogenmod.settings.device.ColorTuningPreference
+ android:key="color_tuning"
+ android:title="@string/color_tuning_title_head"
+ android:summary="@string/color_tuning_summary_head" />
+ <com.cyanogenmod.settings.device.GammaTuningPreference
+ android:key="gamma_tuning"
+ android:title="@string/gamma_tuning_title_head"
+ android:summary="@string/gamma_tuning_summary_head" />
+ </PreferenceCategory>
+
+ <!-- WM8994 Control [TESTING] -->
+ <PreferenceScreen android:key="wm8994_settings"
+ android:title="@string/wm8994_settings_title_head"
+ android:summary="@string/wm8994_settings_summary_head">
+ <intent android:action="android.intent.action.MAIN"
+ android:targetPackage="com.cyanogenmod.settings.device"
+ android:targetClass="com.cyanogenmod.settings.device.WM8994ControlActivity" />
+ </PreferenceScreen>
+
+ <PreferenceCategory
+ android:title="@string/category_touchkey_title">
+ <!-- Touch key backlight timeout -->
+ <ListPreference
+ android:key="backlight_timeout"
+ android:title="@string/backlight_timeout_title_head"
+ android:summary="@string/backlight_timeout_summary_head"
+ android:entries="@array/backlight_timeout_entries"
+ android:entryValues="@array/backlight_timeout_entries_values"
+ android:defaultValue="5" />
+ <ListPreference
+ android:key="blink_timeout"
+ android:title="@string/blink_timeout_title_head"
+ android:summary="@string/blink_timeout_summary_head"
+ android:entries="@array/blink_timeout_entries"
+ android:entryValues="@array/blink_timeout_entries_values"
+ android:defaultValue="5" />
+ </PreferenceCategory>
+
+ <PreferenceCategory
+ android:key="category_radio"
+ android:title="@string/category_radio_title">
+ <!-- UMTS/HSDPA/HSUPA settings -->
+ <ListPreference
+ 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="23" />
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/CrespoParts/res/xml/sound_preferences.xml b/CrespoParts/res/xml/sound_preferences.xml
new file mode 100755
index 0000000..f1007c6
--- /dev/null
+++ b/CrespoParts/res/xml/sound_preferences.xml
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+
+ <CheckBoxPreference android:key="pref_wm8994_control_enable"
+ android:title="@string/pref_wm8994_control_enable_title"
+ android:summary="@string/pref_wm8994_control_enable_summary" />
+
+ <!-- Internal speaker options -->
+ <PreferenceCategory android:key="wm8994_internal_speaker_category"
+ android:title="@string/category_wm8994_internal_speaker">
+
+ <CheckBoxPreference android:key="pref_wm8994_speaker_tuning"
+ android:title="@string/pref_wm8994_speaker_tuning_title"
+ android:summary="@string/pref_wm8994_speaker_tuning_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- Signal Processing -->
+ <PreferenceCategory android:key="wm8994_signal_processing_category"
+ android:title="@string/category_wm8994_signal_processing">
+
+ <CheckBoxPreference android:key="pref_wm8994_mono_downmix"
+ android:title="@string/pref_wm8994_mono_downmix_title"
+ android:summary="@string/pref_wm8994_mono_downmix_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_stereo_expansion"
+ android:title="@string/pref_wm8994_stereo_expansion_title"
+ android:summary="@string/pref_wm8994_stereo_expansion_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- D/AC, A/DC -->
+ <PreferenceCategory android:key="wm8994_dac_config_category"
+ android:title="@string/category_wm8994_dac_config">
+
+ <CheckBoxPreference android:key="pref_wm8994_dac_direct"
+ android:title="@string/pref_wm8994_dac_direct_title"
+ android:summary="@string/pref_wm8994_dac_direct_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_dac_osr128"
+ android:title="@string/pref_wm8994_dac_osr128_title"
+ android:summary="@string/pref_wm8994_dac_osr128_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_adc_osr128"
+ android:title="@string/pref_wm8994_adc_osr128_title"
+ android:summary="@string/pref_wm8994_adc_osr128_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- Codec settings -->
+ <PreferenceCategory android:key="wm8994_codec_optimization_category"
+ android:title="@string/category_wm8994_codec_optimization">
+
+ <CheckBoxPreference android:key="pref_wm8994_fll_tuning"
+ android:title="@string/pref_wm8994_fll_tuning_title"
+ android:summary="@string/pref_wm8994_fll_tuning_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>
diff --git a/CrespoParts/res/xml/touch_preferences.xml b/CrespoParts/res/xml/touch_preferences.xml
new file mode 100755
index 0000000..21f2e16
--- /dev/null
+++ b/CrespoParts/res/xml/touch_preferences.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+
+ <!-- Touch key backlight timeout -->
+ <ListPreference
+ android:key="backlight_timeout"
+ android:title="@string/backlight_timeout_title_head"
+ android:summary="@string/backlight_timeout_summary_head"
+ android:entries="@array/backlight_timeout_entries"
+ android:entryValues="@array/backlight_timeout_entries_values"
+ android:defaultValue="5" />
+ <ListPreference
+ android:key="blink_timeout"
+ android:title="@string/blink_timeout_title_head"
+ android:summary="@string/blink_timeout_summary_head"
+ android:entries="@array/blink_timeout_entries"
+ android:entryValues="@array/blink_timeout_entries_values"
+ android:defaultValue="5" />
+
+</PreferenceScreen>
diff --git a/CrespoParts/res/xml/wm8994_settings.xml b/CrespoParts/res/xml/wm8994_settings.xml
new file mode 100644
index 0000000..984fd61
--- /dev/null
+++ b/CrespoParts/res/xml/wm8994_settings.xml
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- General settings -->
+ <PreferenceCategory android:key="general_category"
+ android:title="@string/general_sound_title">
+
+ <CheckBoxPreference android:key="pref_wm8994_control_enable"
+ android:title="@string/pref_wm8994_control_enable_title"
+ android:summary="@string/pref_wm8994_control_enable_summary" />
+ </PreferenceCategory>
+
+ <!-- Internal speaker options -->
+ <PreferenceCategory android:key="wm8994_internal_speaker_category"
+ android:title="@string/category_wm8994_internal_speaker">
+
+ <CheckBoxPreference android:key="pref_wm8994_speaker_tuning"
+ android:title="@string/pref_wm8994_speaker_tuning_title"
+ android:summary="@string/pref_wm8994_speaker_tuning_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- Signal Processing -->
+ <PreferenceCategory android:key="wm8994_signal_processing_category"
+ android:title="@string/category_wm8994_signal_processing">
+
+ <CheckBoxPreference android:key="pref_wm8994_mono_downmix"
+ android:title="@string/pref_wm8994_mono_downmix_title"
+ android:summary="@string/pref_wm8994_mono_downmix_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_stereo_expansion"
+ android:title="@string/pref_wm8994_stereo_expansion_title"
+ android:summary="@string/pref_wm8994_stereo_expansion_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- D/AC, A/DC -->
+ <PreferenceCategory android:key="wm8994_dac_config_category"
+ android:title="@string/category_wm8994_dac_config">
+
+ <CheckBoxPreference android:key="pref_wm8994_dac_direct"
+ android:title="@string/pref_wm8994_dac_direct_title"
+ android:summary="@string/pref_wm8994_dac_direct_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_dac_osr128"
+ android:title="@string/pref_wm8994_dac_osr128_title"
+ android:summary="@string/pref_wm8994_dac_osr128_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ <CheckBoxPreference android:key="pref_wm8994_adc_osr128"
+ android:title="@string/pref_wm8994_adc_osr128_title"
+ android:summary="@string/pref_wm8994_adc_osr128_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+ <!-- Codec settings -->
+ <PreferenceCategory android:key="wm8994_codec_optimization_category"
+ android:title="@string/category_wm8994_codec_optimization">
+
+ <CheckBoxPreference android:key="pref_wm8994_fll_tuning"
+ android:title="@string/pref_wm8994_fll_tuning_title"
+ android:summary="@string/pref_wm8994_fll_tuning_summary"
+ android:dependency="pref_wm8994_control_enable" />
+
+ </PreferenceCategory>
+
+</PreferenceScreen>