summaryrefslogtreecommitdiffstats
path: root/res/layout/data_usage_item.xml
Commit message (Collapse)AuthorAgeFilesLines
* Data usage performance, bugfixes.Jeff Sharkey2011-09-121-3/+1
| | | | | | | | | | | | | | | | | Optimize launch times by removing unneeded extra work, including reloading data and tightening chart invalidation. Fix invalidation storm when sweeps overlap. Move chart history into loader instead of blocking main thread. Disable "Split 4G" mode until telephony support is ready, and combine any existing split policies. Async loading of application details. Remove alpha transitions to speed up on some hardware. Hide menus in detail mode. Delay kicking off force-poll. Fix inset padding on large devices. Bug: 5284321, 5273918, 5263056 Change-Id: I746d79c05e2a6ea97bbdbdc5d807e208328d1373
* Larger touch targets, snap to persisted value.Jeff Sharkey2011-09-081-0/+25
| | | | | | | | | | | | | Extend ListView content to screen edges, and use InsetBoundsDrawable to draw separator and divider with expected padding. Sweep touch targets are now much larger. Snap sweep to persisted value, and fix NFE when parsing label value. Bug: 5274249 Bug: 5262865 Bug: 5242857 Change-Id: Ifa0f3e622767d5b4dc85a73d6340207e6038a429
* Unify data/power layout, confirm disable, round.Jeff Sharkey2011-09-021-57/+0
| | | | | | | | | | Share consistent layout between data usage and battery usage. Show confirmation dialog before disabling mobile data. Round warning/limit sweep values to match displayed label. Suppress fade when switching data usage tabs. Bug: 5208510, 5058157, 5038589, 5252816 Change-Id: I3c76f3397445d2d3b173666a41672871df4c61af
* Foreground/background network stats pie chart.Jeff Sharkey2011-08-151-2/+2
| | | | | | | | | | | | Load foreground/background network stats, showing combined in chart series, and also separated in pie chart. Padding to match spec, updated action bar tabs, and limit width for wide devices. Also clear UI options for requesting fragments. Move to action bar overflow menu instead of custom icon. Show detail chart data outside current inspection range. Bug: 5106163, 5143670, 5163064, 5162671, 5148713, 5129036, 5096626 Change-Id: I548fef209e1f714f70ee6bf7098dbdb881692df4
* Data usage app icons and details, chart labels.Jeff Sharkey2011-08-041-1/+9
| | | | | | | | | Add app icons into both summary list and details pane. Also show list of all applications merged under a UID. Draw dates on chart axis, and avoid flashing policy sweeps when switching networks in detail mode. Bug: 5087283, 5038812 Change-Id: I1dcd03ca85b517f8726452af8a46b4be9b3d20f1
* Data usage fit and finish.Jeff Sharkey2011-07-271-4/+6
| | | | | | | | | | | | | | | | | | Show time range and data summary based on current sweep selection for both network and app details. Fix animations by opting-out of parent hierarchy animation, since it fights with ListView. Switch to using NPMS "restrict background" instead of overloading setBackgroundDataSetting(), and hide app background checkbox when global background is restricted. Limit sweeps to valid historical data, and activate sweeps on touch instead of requiring separate tap. Fix z-order and avoid animating sweeps. Align all elements along vertical edge, and fix item layout to handle long app title. Bug: 4979025, 5058107, 5038590, 5079887, 5058108, 5058026, 5037381 Change-Id: Ib45b61ff2a62303f47aa3f47f88d2e688fe4d076
* Data usage app bars, draw estimated cycle usage.Jeff Sharkey2011-07-171-14/+22
| | | | | | | | | | Show application list with normalized percentage data usage as horizontal bar chart. Draw estimated usage for remainder of cycle to reinforce log scale, and break out received/sent when showing app details. Bug: 5038591, 4948713, 4818025 Change-Id: Ib71e73d4f692adc7fe8ae87edd0cec2a8f3976d3
* Iterate on data usage chart UI.Jeff Sharkey2011-06-231-0/+39
Switched to inflating chart views from XML, using attributes for configuration. Start using drawable assets for chart components instead of manually painting. Include hand-cut assets, and animate between states when touched to invoke. Clamp sweeps to valid chart ranges and prepare for sweep labels. Bug: 4768483, 4598460 Change-Id: Ic660c35bec826eb5e3f6a1dde3cc04d8c437ef2b