diff options
Diffstat (limited to 'AdvancedDisplay/res/values')
-rw-r--r-- | AdvancedDisplay/res/values/arrays.xml | 106 | ||||
-rw-r--r-- | AdvancedDisplay/res/values/config.xml | 58 | ||||
-rw-r--r-- | AdvancedDisplay/res/values/custom_attrs.xml | 27 | ||||
-rw-r--r-- | AdvancedDisplay/res/values/strings.xml | 33 |
4 files changed, 224 insertions, 0 deletions
diff --git a/AdvancedDisplay/res/values/arrays.xml b/AdvancedDisplay/res/values/arrays.xml new file mode 100644 index 0000000..cff1afa --- /dev/null +++ b/AdvancedDisplay/res/values/arrays.xml @@ -0,0 +1,106 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012-2013 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <string-array name="mdnie_scenario_entries"> + <item>CyanogenMod (Default)</item> + <item>UI</item> + <item>Video</item> + <item>Video Warm</item> + <item>Video Cold</item> + <item>Camera</item> + <item>Navigation</item> + <item>Gallery</item> + <item>VT</item> + </string-array> + + <string-array name="mdnie_scenario_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + <item>7</item> + <item>8</item> + </string-array> + + <string-array name="mdnie_mode_entries"> + <item>Dynamic (Default)</item> + <item>Standard</item> + <item>Natural</item> + <item>Movie</item> + </string-array> + + <string-array name="mdnie_mode_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + </string-array> + + <string-array name="mdnie_negative_entries"> + <item>Normal</item> + <item>Inverted</item> + </string-array> + + <string-array name="mdnie_negative_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + </string-array> + + <string-array name="touchkey_timeout_entries"> + <item>Never</item> + <item>1 second</item> + <item>2 seconds</item> + <item>3 seconds (Default)</item> + <item>4 seconds</item> + <item>5 seconds</item> + <item>6 seconds</item> + </string-array> + + <string-array name="touchkey_timeout_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + <item>4</item> + <item>5</item> + <item>6</item> + </string-array> + + <string-array name="led_fade_entries"> + <item>Blinking</item> + <item>Fading</item> + </string-array> + + <string-array name="led_fade_entries_values" translatable="false"> + <item>0</item> + <item>1</item> + </string-array> + + <string-array name="hspa_entries"> + <item>UMTS Only</item> + <item>HSDPA Only</item> + <item>HSDPA + HSUPA</item> + </string-array> + + <string-array name="hspa_entries_values" translatable="false"> + <item>21</item> + <item>22</item> + <item>23</item> + </string-array> +</resources> diff --git a/AdvancedDisplay/res/values/config.xml b/AdvancedDisplay/res/values/config.xml new file mode 100644 index 0000000..5e4be8f --- /dev/null +++ b/AdvancedDisplay/res/values/config.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2013 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<!-- These resources are around just to allow their values to be customized + for different hardware and product builds. --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <!-- Vibrator Tuning --> + <bool name="has_vibrator_tuning">true</bool> + <string name="vibrator_sysfs_file" translatable="false">"/sys/vibrator/pwm_val"</string> + <string name="intensity_max_value" translatable="false">100</string> + <string name="intensity_warning_threshold" translatable="false">75</string> + <string name="intensity_default_value" translatable="false">50</string> + <string name="intensity_min_value" translatable="false">0</string> + + <!-- S-Pen --> + <string name="spen_sysfs_file" translatable="false">"/sys/class/sec/sec_epen"</string> + <string name="spen_powersaving_sysfs_file" translatable="false">"/sys/class/sec/sec_epen/epen_saving_mode"</string> + + <!-- Audio Tuning --> + <bool name="has_incall_audio_tuning">false</bool> + <bool name="has_output_audio_tuning">false</bool> + + <string name="incall_max_value" translatable="false">10</string> + <string name="incall_warning_threshold" translatable="false">9</string> + <string name="incall_default_value" translatable="false">5</string> + <string name="incall_min_value" translatable="false">1</string> + <string name="audioout_max_value" translatable="false">63</string> + <string name="audioout_warning_threshold" translatable="false">60</string> + <string name="audioout_default_value" translatable="false">50</string> + <string name="audioout_min_value" translatable="false">0</string> + + <!-- HSPA --> + <bool name="has_hspa">true</bool> + + <!-- Touchkey --> + <bool name="has_touchkey">true</bool> + + <!-- MDNIE --> + <string name="mdnie_cabc_sysfs_file" translatable="false">"/sys/class/lcd/panel/power_reduce"</string> + <string name="mdnie_scenario_sysfs_file" translatable="false">"/sys/class/mdnie/mdnie/scenario"</string> + <string name="mdnie_mode_sysfs_file" translatable="false">"/sys/class/mdnie/mdnie/mode"</string> + <string name="mdnie_negative_sysfs_file" translatable="false">"/sys/class/mdnie/mdnie/negative"</string> + +</resources> diff --git a/AdvancedDisplay/res/values/custom_attrs.xml b/AdvancedDisplay/res/values/custom_attrs.xml new file mode 100644 index 0000000..b856986 --- /dev/null +++ b/AdvancedDisplay/res/values/custom_attrs.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2013, The ChameleonOS Open Source Project +** +** Licensed under the Apache License, Version 2.0 (the "License"); +** you may not use this file except in compliance with the License. +** You may obtain a copy of the License at +** +** http://www.apache.org/licenses/LICENSE-2.0 +** +** Unless required by applicable law or agreed to in writing, software +** distributed under the License is distributed on an "AS IS" BASIS, +** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +** See the License for the specific language governing permissions and +** limitations under the License. +*/ +--> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + + <declare-styleable name="SeekBarPreference"> + <attr name="min" format="integer" /> + <attr name="unitsLeft" format="string" /> + <attr name="unitsRight" format="string" /> + </declare-styleable> + +</resources>
\ No newline at end of file diff --git a/AdvancedDisplay/res/values/strings.xml b/AdvancedDisplay/res/values/strings.xml new file mode 100644 index 0000000..d7438f4 --- /dev/null +++ b/AdvancedDisplay/res/values/strings.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2012-2013 The CyanogenMod Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <string name="app_name">Advanced Display</string> + + <string name="defaults_button">Reset to default</string> + + <!-- Screen Preference --> + <string name="category_screen_title">Screen</string> + <string name="screen_colors_title">Colors</string> + + <!-- mDNIe --> + <string name="mdnie_scenario_title_head">Scenario</string> + <string name="mdnie_scenario_summary_head">Set the mDNIe Scenario</string> + <string name="mdnie_mode_title_head">Mode</string> + <string name="mdnie_mode_summary_head">Set the mDNIe Mode</string> + <string name="mdnie_negative_title_head">Negative Mode</string> + <string name="mdnie_negative_summary_head">Enable/Disable inverted colors</string> + +</resources> |