summaryrefslogtreecommitdiffstats
path: root/res/xml/development_prefs.xml
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-01-07 11:20:49 -0800
committerRomain Guy <romainguy@google.com>2013-01-07 11:25:10 -0800
commit70618480d95b0c0b9a8a55d47f9233b2111b4c6f (patch)
tree78f5206a0e6ee7e1b5fa63710d0ec70618a2a837 /res/xml/development_prefs.xml
parentae2a22db7fa8eb4f59a98b739e35c668cd23f680 (diff)
downloadpackages_apps_Settings-70618480d95b0c0b9a8a55d47f9233b2111b4c6f.tar.gz
packages_apps_Settings-70618480d95b0c0b9a8a55d47f9233b2111b4c6f.tar.bz2
packages_apps_Settings-70618480d95b0c0b9a8a55d47f9233b2111b4c6f.zip
Change "track frame time property" to a list preference
The preference can now be used to disable GPU profiling, expose profiling data to dumpsys gfxinfo or display that data on screen. Change-Id: Ib77e9695445fae4a7419667716e92bcc196437df
Diffstat (limited to 'res/xml/development_prefs.xml')
-rw-r--r--res/xml/development_prefs.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index e67aad143..616e9586e 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -183,10 +183,12 @@
android:title="@string/show_cpu_usage"
android:summary="@string/show_cpu_usage_summary"/>
- <CheckBoxPreference
+ <ListPreference
android:key="track_frame_time"
android:title="@string/track_frame_time"
- android:summary="@string/track_frame_time_summary"/>
+ android:persistent="false"
+ android:entries="@array/track_frame_time_entries"
+ android:entryValues="@array/track_frame_time_values" />
<ListPreference
android:key="enable_opengl_traces"