History log of /packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
47d00cf15844d7af6788252763b454abc43acab0 12-Oct-2016 Salvador Martinez <dehboxturtle@google.com> Memory Usage by apps no longer shows empty icon

ProcessStatsPreference will now fallback to a
default icon instead of an empty icon. Logging
was added to be able to identify what causes
list to add entries with no text.

Test: Manual, requires installing -> uninstalling an app
Bug: 31812426
Change-Id: Ia1b147ba7a552ec4880776ebf8dba6745154117a
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
2cdafc6be386bb767404e42fc728a1a810aa896a 12-Jun-2015 Jason Monk <jmonk@google.com> Layout refinement for app lists

Make all app lists (or at least all current app lists) use the same
base layout for icon, label, and sizing/padding. This way they
should look the same.

Bug: 21727125
Bug: 21726922
Bug: 21853632
Change-Id: I3cffadb9e7b5184d4209deacd4ea70ec1d4f71b4
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
beb171d2e50f93b5fb78d73b372a4981e13e04ff 21-May-2015 Jason Monk <jmonk@android.com> Unbanish memory screen and new UX

Give memory screen a makeover so that it looks nice enough to be
restored to its rightful home.

Bug: 20694769
Change-Id: I2f6933037b3fbbfb0d9fe5e3ca821ef59e171faa
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
f4db340daeb50572d7e0ab12f4745affae8b567f 07-May-2015 Jason Monk <jmonk@google.com> Consistently use weight to get average mem usage

Rather than just for the labels...

Also update bg mem to be converted to the same memory scale for
the bars. Also undo some bad average calculations that only made
things worse.

Bug: 20694769
Change-Id: I676803bf76d336355441891e768ba3c228dbfbca
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
1de522323fc2b20b86f59819d819708cafdbd2ab 07-May-2015 Jason Monk <jmonk@google.com> Updates/fixes to memory settings

- Update memory states to be Good performance, Ok performance, etc.
- Update header info to be based on history rather than
instantaneous
- Color memory bar differently based on state
- Fix run frequency bucketing to be correct
- Show dialog for selecting duration, and fix duration selection
- Update process naming to:
- If process name is "anything:xxxx" then show "Xxxx"
- If process name is "com.app.package.interface" then show "Interface"
- If process name is the package name then show the app name
- Otherwise fallback to the process name string

Bug: 20694769
Change-Id: Ic1fab28bfd2422bde84dd10bd305a4cc34be98cf
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
2583fc1e069d0a54df46258d360499492d7e86d2 25-Mar-2015 Jason Monk <jmonk@google.com> Move process stats screen into memory screen.

- Move process stats from developer options to top level
settings item.
- Some minor UI changes to the top of the page
- Major UI updates to detail page, now shows info with processes
as pref categories and services as prefs, with a way to kill
them (taken from Running Services page).
- Some major refactorings in code, in attempt to make it more
usable
- Added color bar on per app basis to visualize the avg/max
relationship
- Updated the way avg is calculated across multiple entries in
ProcStatsPackageEntry to be more accurate
- Change the way max memory is calculated in
ProcStatsPackageEntry to be less accurate but more useful

Bug: 19443802
Change-Id: Ia6aaabe42c415c50997a09bfb814a6f6e5731772
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
9a23adf69dc53126c9858b19760eab5b67c23b97 18-Mar-2015 John Spurlock <jspurlock@google.com> Settings: Remove all unused imports.

Change-Id: Iebfa52cb849d69974c94902b0b020893cf5618a3
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
b94079a704ef9ca144ca94885d655b2befabcf45 31-Jan-2015 Dianne Hackborn <hackbod@google.com> Make proc stats UI app-centric instead of process-centric.

The UI now shows a much simpler overview of memory use for
the current measured duration, computing the weighted RAM
user per application. (This is done basically by rolling up
each individual process into an app that can contain multiple
processes, and using the recently introduced weighted RAM for
all data processing.)

The details screen is updated to reflect this new design,
showing an overview of a particular application, which
separate entries for each process running for that app.

Change-Id: I47d79c30086d733eb37440a6c21b18a92b767d01
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
7253df35a09d8d61ececedbb66179171802e42a7 03-Sep-2014 Elliott Hughes <enh@google.com> Start cleaning up percentage formatting in Settings.

This fixes some of the percentage formatting issues, but there are
still about ten strings with hard-coded %%s in them.

Bug: 15476051
Change-Id: I668b6b16e598425f6006f6de0005c980f613f5b2
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
200cca4c1d849ba4c62674fcfd32c621805b2bd4 26-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix icon size for Data Usage / Battery Stats / Process Stats

- remove padding from app_percentage_item and apply it correctly
on its containers
- wrap app_percentage_item into preference_app_percentage for having
correct padding o nProcessStatsPreference and PowerGaugePreference

Change-Id: I290c92959f51a33a1edb49435cd0bd1e6cd9afa3
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
0ec4251d12cdce0dfbc9cb3d9f46e33acf20af3f 19-Jun-2014 Fabrice Di Meglio <fdimeglio@google.com> Make Process Stats more beautiful

- update padding layouts for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I1813eec92a97e4cd9adb4a9c9852c8cd03c38a05
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
5635594c38fb319e050054e42109eb736f274acc 30-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10948509: Crash in procstats when there is no data

Also make us much better about determining which app to blame for
a particular running process, organize the display of services by
their owning app, apply some new heuristics for deciding what goes
in the process list so that we can still display interesting processes
when we haven't collected pss data for them yet, etc.

Change-Id: I7e87225d3dabc66cf3ff020b5db48401b14aaf47
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
04486738342fa5e11a78df836efe34b85bee125a 05-Sep-2013 Dianne Hackborn <hackbod@google.com> Add details screen to proc stats.

Lets you see the actual RAM use and % running time, a list of
all of the services that are associated with it (kind-of, not
working correctly for those that share processes), and most
importantly a glorious FORCE STOP button.

Change-Id: I34ac30c88f1187227a8a7809ae103118c8b9a865
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
c9e4bd111664705959716629c2535c085e6c7cd6 09-Aug-2013 Dianne Hackborn <hackbod@google.com> Improve process stats UI.

Now roll up multiple process stats to have at least a
day of data, change the visualization to have the bars show
"weight" (duration*pss) and the text the percent of total
time running, add label to show how much time the stats
are over.

Change-Id: I73763cb6a66d03d856ea4bf517eac0fe39c79c52
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java
c6d658e37d7c0ab2d264fff4850ea20823669558 08-Aug-2013 Dianne Hackborn <hackbod@google.com> Initial rough stab at a proc stats UI.

You see procs, and you see some stats.

Change-Id: I91c86d198fd5e64a41c72901e150466b3c602caf
/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java