Merge "Add three new developer settings" into jb-dev

This commit is contained in:
Romain Guy
2012-04-27 15:29:59 -07:00
committed by Android (Google) Code Review
3 changed files with 104 additions and 37 deletions

View File

@@ -3593,11 +3593,21 @@
<!-- UI debug setting: show screen updates summary [CHAR LIMIT=50] -->
<string name="show_screen_updates_summary">Flash areas of screen when they update</string>
<!-- UI debug setting: show where screen updates happen with GPU rendering? [CHAR LIMIT=25] -->
<string name="show_hw_screen_updates">Show GPU screen updates</string>
<!-- UI debug setting: show GPU rendering screen updates summary [CHAR LIMIT=50] -->
<string name="show_hw_screen_updates_summary">Flash areas of screen when they update with the GPU</string>
<!-- UI debug setting: disable use of overlays? [CHAR LIMIT=25] -->
<string name="disable_overlays">Disable overlays</string>
<!-- UI debug setting: disable use of overlays summary [CHAR LIMIT=50] -->
<string name="disable_overlays_summary">Don\'t use overlays for screen compositing</string>
<!-- UI debug setting: show layout bounds information [CHAR LIMIT=25] -->
<string name="debug_layout">Show layout bounds</string>
<!-- UI debug setting: show layout bounds information summary [CHAR LIMIT=50] -->
<string name="debug_layout_summary">Display information about boumds, padding, etc.</string>
<!-- UI debug setting: show how CPU is being used? [CHAR LIMIT=25] -->
<string name="show_cpu_usage">Show CPU usage</string>
<!-- UI debug setting: show cpu usage summary [CHAR LIMIT=50] -->
@@ -3608,6 +3618,11 @@
<!-- UI debug setting: force hardware acceleration summary [CHAR LIMIT=50] -->
<string name="force_hw_ui_summary">Use 2D hardware acceleration in applications</string>
<!-- UI debug setting: profile time taken by hardware acceleration to render apps [CHAR LIMIT=25] -->
<string name="track_frame_time">Profile GPU rendering</string>
<!-- UI debug setting: profile hardware acceleration summary [CHAR LIMIT=50] -->
<string name="track_frame_time_summary">Measure rendering time in adb shell dumpsys gfxinfo</string>
<!-- UI debug setting: scaling factor for window animations [CHAR LIMIT=25] -->
<string name="window_animation_scale_title">Window animation scale</string>

View File

@@ -88,6 +88,11 @@
android:title="@string/show_touches"
android:summary="@string/show_touches_summary"/>
<CheckBoxPreference
android:key="debug_layout"
android:title="@string/debug_layout"
android:summary="@string/debug_layout_summary"/>
<CheckBoxPreference
android:key="show_screen_updates"
android:title="@string/show_screen_updates"
@@ -108,6 +113,16 @@
android:title="@string/force_hw_ui"
android:summary="@string/force_hw_ui_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="track_frame_time"
android:title="@string/track_frame_time"
android:summary="@string/track_frame_time_summary"/>
<ListPreference
android:key="window_animation_scale"
android:title="@string/window_animation_scale_title"