summaryrefslogtreecommitdiffstats
path: root/GNexusParts/res
diff options
context:
space:
mode:
Diffstat (limited to 'GNexusParts/res')
-rw-r--r--GNexusParts/res/values/arrays.xml13
-rw-r--r--GNexusParts/res/values/strings.xml4
-rw-r--r--GNexusParts/res/xml/overclock_preferences.xml11
3 files changed, 28 insertions, 0 deletions
diff --git a/GNexusParts/res/values/arrays.xml b/GNexusParts/res/values/arrays.xml
new file mode 100644
index 0000000..9dc3111
--- /dev/null
+++ b/GNexusParts/res/values/arrays.xml
@@ -0,0 +1,13 @@
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <string-array name="gpu_overclock_entries">
+ <item>307,2 MHz (default)</item>
+ <item>384,0 MHz</item>
+ <item>512,0 MHz</item>
+ </string-array>
+
+ <string-array name="gpu_overclock_values" translatable="false">
+ <item>0</item>
+ <item>1</item>
+ <item>2</item>
+ </string-array>
+</resources>
diff --git a/GNexusParts/res/values/strings.xml b/GNexusParts/res/values/strings.xml
index 5bc261d..01902a5 100644
--- a/GNexusParts/res/values/strings.xml
+++ b/GNexusParts/res/values/strings.xml
@@ -48,4 +48,8 @@
<string name="hspa_title_head">HSPA</string>
<string name="hspa_summary_head">Enable HSDPA/HSUPA</string>
+ <string name="category_speed_title">GPU</string>
+ <string name="category_gpu_title">GPU</string>
+ <string name="gpu_overclock_title">Clock Speed</string>
+
</resources>
diff --git a/GNexusParts/res/xml/overclock_preferences.xml b/GNexusParts/res/xml/overclock_preferences.xml
new file mode 100644
index 0000000..551275b
--- /dev/null
+++ b/GNexusParts/res/xml/overclock_preferences.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <ListPreference
+ android:key="gpu_overclock"
+ android:title="@string/gpu_overclock_title"
+ android:entries="@array/gpu_overclock_entries"
+ android:entryValues="@array/gpu_overclock_values"
+ android:defaultValue="0" />
+
+</PreferenceScreen>