summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-09-29 16:39:31 -0700
committerRomain Guy <romainguy@google.com>2011-09-29 16:39:31 -0700
commit0c9c14b7864fddc7d5822d5db866ef0cc7a6d08a (patch)
treeb6d20c1b6929a3bcea29a413afce1a6af7e0b710 /res
parent8fc853b19a369f56f20c4dfa109e618af7796eff (diff)
downloadpackages_apps_Settings-0c9c14b7864fddc7d5822d5db866ef0cc7a6d08a.zip
packages_apps_Settings-0c9c14b7864fddc7d5822d5db866ef0cc7a6d08a.tar.gz
packages_apps_Settings-0c9c14b7864fddc7d5822d5db866ef0cc7a6d08a.tar.bz2
Add developer setting to force hardware acceleration
Change-Id: I1bb3da7db4602ce7cbdfb46799c5114ce63ffed2
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml5
-rw-r--r--res/xml/development_prefs.xml5
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 5444ff0..e0e0819 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3474,6 +3474,11 @@ found in the list of installed applications.</string>
<!-- UI debug setting: show cpu usage summary [CHAR LIMIT=50] -->
<string name="show_cpu_usage_summary">Screen overlay showing current CPU usage</string>
+ <!-- UI debug setting: force hardware acceleration to render apps [CHAR LIMIT=25] -->
+ <string name="force_hw_ui">Force hardware acceleration</string>
+ <!-- UI debug setting: force hardware acceleration summary [CHAR LIMIT=50] -->
+ <string name="force_hw_ui_summary">Render applications using the GPU</string>
+
<!-- UI debug setting: scaling factor for window animations [CHAR LIMIT=25] -->
<string name="window_animation_scale_title">Window animation scale</string>
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 76e50aa..68e24c4 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -85,6 +85,11 @@
android:title="@string/show_cpu_usage"
android:summary="@string/show_cpu_usage_summary"/>
+ <CheckBoxPreference
+ android:key="force_hw_ui"
+ android:title="@string/force_hw_ui"
+ android:summary="@string/force_hw_ui_summary"/>
+
<ListPreference
android:key="window_animation_scale"
android:title="@string/window_animation_scale_title"