Proc stats UI improvements.

Now have a chart showing the memory state, and text showing the
current memory state.  Trying to do better at picking the application
to blame for a process hosting multiple apps.  Start of infrastructure
for more detailed reporting.

Change-Id: I93ca7ecf2fd0bc01e3be8d28b80212ac78fe7607
This commit is contained in:
Dianne Hackborn
2013-08-09 16:17:27 -07:00
parent 53083ab2bb
commit a582a05195
7 changed files with 263 additions and 31 deletions

View File

@@ -1149,4 +1149,16 @@
<item>Always allow</item>
</string-array>
<!-- [CHAR LIMIT=30] Labels for memory states -->
<string-array name="ram_states">
<!-- Normal desired memory state. -->
<item>normal</item>
<!-- Moderate memory state, not as good as normal. -->
<item>moderate</item>
<!-- Memory is running low. -->
<item>low</item>
<!-- Memory is critical. -->
<item>critical</item>
</string-array>
</resources>

View File

@@ -3557,7 +3557,10 @@
<!-- [CHAR LIMIT=NONE] Label for amount of memory use -->
<string name="app_memory_use">Memory use</string>
<!-- [CHAR LIMIT=NONE] Label for process stats, duration of time the stats are over -->
<string name="process_stats_total_duration">Over <xliff:g id="time">%1$s</xliff:g></string>
<string name="process_stats_total_duration">Stats over <xliff:g id="time">%1$s</xliff:g></string>
<!-- [CHAR LIMIT=NONE] Label for process stats, duration of time the stats are over -->
<string name="process_stats_memory_status">Device memory is currently
<xliff:g id="memstate">%1$s</xliff:g></string>
<!-- Voice input/output settings --><skip />
<!-- Title of setting on main settings screen. This item will take the user to the screen to tweak settings related to speech functionality -->