diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-07-01 18:56:09 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-07-01 18:56:55 -0700 |
commit | eddc4fe89c020cbfedd5531cc2c13782034a8158 (patch) | |
tree | 7aba9ad50c71db70fecf9b14cf140879b15370e1 /res | |
parent | f5f40108adb39a05c5d779a73aa644d4c155116d (diff) | |
download | packages_apps_settings-eddc4fe89c020cbfedd5531cc2c13782034a8158.zip packages_apps_settings-eddc4fe89c020cbfedd5531cc2c13782034a8158.tar.gz packages_apps_settings-eddc4fe89c020cbfedd5531cc2c13782034a8158.tar.bz2 |
Move the main interesting DevTools settings into the main settings app.
These are in the "development" section of the settings app, expanding
on ADB and other stuff that is already there.
Change-Id: I61a4955df0c548dcf1f39be46d21e8b8d02e454a
Diffstat (limited to 'res')
-rw-r--r-- | res/values/arrays.xml | 60 | ||||
-rw-r--r-- | res/values/strings.xml | 42 | ||||
-rw-r--r-- | res/xml/development_prefs.xml | 57 |
3 files changed, 159 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml index c0578fa..8a7d9a3 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -613,6 +613,66 @@ <item>Always use HDCP checking</item> </string-array> + <!-- Titles for window animation scale preference. [CHAR LIMIT=35] --> + <string-array name="window_animation_scale_entries"> + <item>Animation off</item> + <item>Animation scale .5x</item> + <item>Animation scale 1x</item> + <item>Animation scale 1.5x</item> + <item>Animation scale 2x</item> + <item>Animation scale 5x</item> + <item>Animation scale 10x</item> + </string-array> + + <!-- Values for window animation scale preference. --> + <string-array name="window_animation_scale_values" translatable="false" > + <item>0</item> + <item>.5</item> + <item>1</item> + <item>1.5</item> + <item>2</item> + <item>5</item> + <item>10</item> + </string-array> + + <!-- Titles for transition animation scale preference. [CHAR LIMIT=35] --> + <string-array name="transition_animation_scale_entries"> + <item>Animation off</item> + <item>Animation scale .5x</item> + <item>Animation scale 1x</item> + <item>Animation scale 1.5x</item> + <item>Animation scale 2x</item> + <item>Animation scale 5x</item> + <item>Animation scale 10x</item> + </string-array> + + <!-- Values for transition animation scale preference. --> + <string-array name="transition_animation_scale_values" translatable="false" > + <item>0</item> + <item>.5</item> + <item>1</item> + <item>1.5</item> + <item>2</item> + <item>5</item> + <item>10</item> + </string-array> + + <!-- Titles for app process limit preference. [CHAR LIMIT=35] --> + <string-array name="app_process_limit_entries"> + <item>No app process limit</item> + <item>Max 1 app process</item> + <item>Max 2 app processes</item> + <item>Max 3 app processes</item> + </string-array> + + <!-- Values for app process limit preference. --> + <string-array name="app_process_limit_values" translatable="false" > + <item>0</item> + <item>1</item> + <item>2</item> + <item>3</item> + </string-array> + <!-- Match this with the constants in VpnProfile. --> <skip /> <!-- Short names for each VPN type, not really translatable. [CHAR LIMIT=20] --> <string-array name="vpn_types" translatable="false"> diff --git a/res/values/strings.xml b/res/values/strings.xml index 93a7720..95b6f69 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -3408,6 +3408,48 @@ found in the list of installed applications.</string> <!-- HDCP checking dialog title, used for debug purposes only. [CHAR LIMIT=25] --> <string name="hdcp_checking_dialog_title">Set HDCP checking behavior</string> + <!-- Preference category for user interface debugging development settings. [CHAR LIMIT=25] --> + <string name="debug_ui_category">User interface</string> + + <!-- UI debug setting: always enable strict mode? [CHAR LIMIT=25] --> + <string name="strict_mode">Strict mode enabled</string> + <!-- UI debug setting: show strict mode summary [CHAR LIMIT=50] --> + <string name="strict_mode_summary">Flash screen when apps do long operations + on main thread</string> + + <!-- UI debug setting: show pointer location? [CHAR LIMIT=25] --> + <string name="pointer_location">Pointer location</string> + <!-- UI debug setting: show pointer location summary [CHAR LIMIT=50] --> + <string name="pointer_location_summary">Screen overlay showing current touch data</string> + + <!-- UI debug setting: show where screen updates happen? [CHAR LIMIT=25] --> + <string name="show_screen_updates">Show screen updates</string> + <!-- 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 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] --> + <string name="show_cpu_usage_summary">Screen overlay showing current CPU usage</string> + + <!-- UI debug setting: scaling factor for window animations [CHAR LIMIT=25] --> + <string name="window_animation_scale_title">Window animation scale</string> + + <!-- UI debug setting: scaling factor for transition animations [CHAR LIMIT=25] --> + <string name="transition_animation_scale_title">Transition animation scale</string> + + <!-- Preference category for application debugging development settings. [CHAR LIMIT=25] --> + <string name="debug_applications_category">Applications</string> + + <!-- UI debug setting: immediately destroy activities? [CHAR LIMIT=25] --> + <string name="immediately_destroy_activities">Immediately destroy activities</string> + <!-- UI debug setting: immediately destroy activities summary [CHAR LIMIT=50] --> + <string name="immediately_destroy_activities_summary">Destroy every activity as soon as + the user leaves it</string> + + <!-- UI debug setting: limit number of running application processes [CHAR LIMIT=25] --> + <string name="app_process_limit_title">Application process limit</string> + <!-- Activity title for network data usage summary. [CHAR LIMIT=25] --> <string name="data_usage_summary_title">Data usage</string> <!-- Title for option to pick visible time range from a list available usage periods. [CHAR LIMIT=25] --> diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index 292206a..a73e7d1 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -38,4 +38,61 @@ android:dialogTitle="@string/hdcp_checking_dialog_title" android:entries="@array/hdcp_checking_titles" android:entryValues="@array/hdcp_checking_values" /> + + <PreferenceCategory android:key="debug_ui_category" + android:title="@string/debug_ui_category"> + + <CheckBoxPreference + android:key="strict_mode" + android:title="@string/strict_mode" + android:summary="@string/strict_mode_summary"/> + + <CheckBoxPreference + android:key="pointer_location" + android:title="@string/pointer_location" + android:summary="@string/pointer_location_summary"/> + + <CheckBoxPreference + android:key="show_screen_updates" + android:title="@string/show_screen_updates" + android:summary="@string/show_screen_updates_summary"/> + + <CheckBoxPreference + android:key="show_cpu_usage" + android:title="@string/show_cpu_usage" + android:summary="@string/show_cpu_usage_summary"/> + + <ListPreference + android:key="window_animation_scale" + android:title="@string/window_animation_scale_title" + android:persistent="false" + android:entries="@array/window_animation_scale_entries" + android:entryValues="@array/window_animation_scale_values" /> + + <ListPreference + android:key="transition_animation_scale" + android:title="@string/transition_animation_scale_title" + android:persistent="false" + android:entries="@array/transition_animation_scale_entries" + android:entryValues="@array/transition_animation_scale_values" /> + + </PreferenceCategory> + + <PreferenceCategory android:key="debug_applications_category" + android:title="@string/debug_applications_category"> + + <CheckBoxPreference + android:key="immediately_destroy_activities" + android:title="@string/immediately_destroy_activities" + android:summary="@string/immediately_destroy_activities_summary"/> + + <ListPreference + android:key="app_process_limit" + android:title="@string/app_process_limit_title" + android:persistent="false" + android:entries="@array/app_process_limit_entries" + android:entryValues="@array/app_process_limit_values" /> + + </PreferenceCategory> + </PreferenceScreen> |