summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2013-02-25 16:21:58 -0800
committerRomain Guy <romainguy@google.com>2013-02-25 16:21:58 -0800
commit6b24c458139091836486cce774a2e1255668e001 (patch)
tree07c67083a154dc54938760260c3cbfe2876a39c2 /res/xml
parent1022e801bac5bbb17c6aeccf1384a5a21fdeb836 (diff)
downloadpackages_apps_Settings-6b24c458139091836486cce774a2e1255668e001.zip
packages_apps_Settings-6b24c458139091836486cce774a2e1255668e001.tar.gz
packages_apps_Settings-6b24c458139091836486cce774a2e1255668e001.tar.bz2
Add non-rectangular clip debug setting
This change also reorganizes settings a little bit. A new section called "Hardware accelerated rendering" now hosts all the 2D/GPU related settings. Change-Id: Ife2d466b94d69310c2056c3dcf5c13737319f989
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/development_prefs.xml80
1 files changed, 46 insertions, 34 deletions
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index c199b1d..6fbbbf4 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -104,30 +104,15 @@
android:title="@string/debug_drawing_category">
<CheckBoxPreference
- android:key="debug_layout"
- android:title="@string/debug_layout"
- android:summary="@string/debug_layout_summary"/>
-
- <CheckBoxPreference
- android:key="show_hw_screen_udpates"
- android:title="@string/show_hw_screen_updates"
- android:summary="@string/show_hw_screen_updates_summary"/>
-
- <CheckBoxPreference
- android:key="show_hw_layers_udpates"
- android:title="@string/show_hw_layers_updates"
- android:summary="@string/show_hw_layers_updates_summary"/>
-
- <CheckBoxPreference
- android:key="show_hw_overdraw"
- android:title="@string/show_hw_overdraw"
- android:summary="@string/show_hw_overdraw_summary"/>
-
- <CheckBoxPreference
android:key="show_screen_updates"
android:title="@string/show_screen_updates"
android:summary="@string/show_screen_updates_summary"/>
+ <CheckBoxPreference
+ android:key="debug_layout"
+ android:title="@string/debug_layout"
+ android:summary="@string/debug_layout_summary"/>
+
<ListPreference
android:key="window_animation_scale"
android:title="@string/window_animation_scale_title"
@@ -149,27 +134,54 @@
android:entries="@array/animator_duration_scale_entries"
android:entryValues="@array/animator_duration_scale_values" />
+ <ListPreference
+ android:key="overlay_display_devices"
+ android:title="@string/overlay_display_devices_title"
+ android:persistent="false"
+ android:entries="@array/overlay_display_devices_entries"
+ android:entryValues="@array/overlay_display_devices_values" />
+
+ </PreferenceCategory>
+
+ <PreferenceCategory android:key="debug_hw_drawing_category"
+ android:title="@string/debug_hw_drawing_category">
+
+ <CheckBoxPreference
+ android:key="force_hw_ui"
+ android:title="@string/force_hw_ui"
+ android:summary="@string/force_hw_ui_summary"/>
+
<CheckBoxPreference
- android:key="disable_overlays"
- android:title="@string/disable_overlays"
- android:summary="@string/disable_overlays_summary"/>
+ android:key="show_hw_screen_udpates"
+ android:title="@string/show_hw_screen_updates"
+ android:summary="@string/show_hw_screen_updates_summary"/>
<CheckBoxPreference
- android:key="force_hw_ui"
- android:title="@string/force_hw_ui"
- android:summary="@string/force_hw_ui_summary"/>
+ android:key="show_hw_layers_udpates"
+ android:title="@string/show_hw_layers_updates"
+ android:summary="@string/show_hw_layers_updates_summary"/>
<CheckBoxPreference
- android:key="force_msaa"
- android:title="@string/force_msaa"
- android:summary="@string/force_msaa_summary"/>
+ android:key="show_hw_overdraw"
+ android:title="@string/show_hw_overdraw"
+ android:summary="@string/show_hw_overdraw_summary"/>
<ListPreference
- android:key="overlay_display_devices"
- android:title="@string/overlay_display_devices_title"
- android:persistent="false"
- android:entries="@array/overlay_display_devices_entries"
- android:entryValues="@array/overlay_display_devices_values" />
+ android:key="show_non_rect_clip"
+ android:title="@string/show_non_rect_clip"
+ android:persistent="false"
+ android:entries="@array/show_non_rect_clip_entries"
+ android:entryValues="@array/show_non_rect_clip_values" />
+
+ <CheckBoxPreference
+ android:key="force_msaa"
+ android:title="@string/force_msaa"
+ android:summary="@string/force_msaa_summary"/>
+
+ <CheckBoxPreference
+ android:key="disable_overlays"
+ android:title="@string/disable_overlays"
+ android:summary="@string/disable_overlays_summary"/>
</PreferenceCategory>