summaryrefslogtreecommitdiffstats
path: root/res/layout/data_usage_header.xml
Commit message (Collapse)AuthorAgeFilesLines
* Data Usage, materialized!Jeff Sharkey2014-07-221-11/+19
| | | | | | | | | | | | Asset drop so Data Usage matches new Material spec. Removes time dimension sweeps, so we now summarize the entire visible axis. Fix time axis labels to not draw outside clip bounds. Remove pie chart. No more checkboxes in menus. Telephony items like roaming are moved back to cellular settings. Start wiring up multi-SIM support. Bug: 15760500, 16019700, 16289924, 16303795 Change-Id: Ie8f4821962319bb82ff4bc2f13f1f66ba1bdfe65
* Fix padding in DataUsageSummary layoutsFabrice Di Meglio2014-06-171-1/+3
| | | | | | - make it consistent with the rest of the Settings App Change-Id: Ia0ae31dcea1f4d9f6e477edce076197193fbbb82
* Make Settings app aware of layout directionFabrice Di Meglio2012-07-241-4/+4
| | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: I696c0f66a16640af767da3c05b5d300fd2284ecb
* Avoid animation flashing and fix padding.Jeff Sharkey2012-05-041-4/+4
| | | | | Bug: 6446203 Change-Id: Icea64d5d30d894a6438af9278bc2d10b8b921d29
* Show data restricted apps, unify strings.Jeff Sharkey2012-04-131-11/+0
| | | | | | | | | | Always show apps with background data restricted, even when not used in selected time period. Combine measurement disclaimer into single string, and only show for mobile networks. Unify limit dialog string. Bug: 6007276, 5505010, 5495020, 5456087 Change-Id: I0ec307b330838dc9528d7e63e0ac1edd14ba122c
* Add disclaimer string.Jeff Sharkey2011-10-101-1/+9
| | | | | Bug: 5337015 Change-Id: Iabeb8490ed51f77e98f3c5317e31d30e4e780178
* Data usage performance, bugfixes.Jeff Sharkey2011-09-121-2/+0
| | | | | | | | | | | | | | | | | 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/+2
| | | | | | | | | | | | | 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
* More TabWidget and padding tweaks to match spec.Jeff Sharkey2011-08-181-1/+3
| | | | | | | Also fix NPE in UserDictionarySettings. Bug: 5184822 Change-Id: I082981c3bcf9b1e6575dcf9f42495a17f0ec8672
* Foreground/background network stats pie chart.Jeff Sharkey2011-08-151-4/+4
| | | | | | | | | | | | 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-0/+2
| | | | | | | | | 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 axis grow/shrink, other fixes.Jeff Sharkey2011-08-011-0/+12
| | | | | | | | | | | | | | | | When dragging vertical sweeps near edges, grow or shrink axis scale to give users access to larger limits. Triggers 10% for each 250ms that user continues holding. Change axis math to support arbitrary ranges beyond [0,5GB]. Show "empty" message when no application details found. Added strings that didn't appear in default language. Better sweep margins using dip instead of scale units. Format time ranges in local time instead of UTC. Only show dashed estimate when it would reach near warning or limit. Extend app usage series until "now" when buckets missing. Bug: 5096685, 5092538, 5058158, 5058114, 5058024, 4643457 Change-Id: I45cf33f7f3baeba1bfa5b21f31cb0a12006f62fa
* Data usage fit and finish.Jeff Sharkey2011-07-271-18/+9
| | | | | | | | | | | | | | | | | | 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
* Fix animation bugs, stop disabled sweep touches.Jeff Sharkey2011-06-241-6/+11
| | | | | | | | | | | Change sweep drawables to crossfade correctly between states, and work around 4946591 by nesting container one level deeper. Also wait until first layout pass is finished before applying LayoutTransition. Prevent touches from reaching sweeps when chart is disabled. Also bring back log scale for data. Change-Id: I2194714ab075fd32525681119f30427c1b96fc50
* More data usage chart iteration, app details.Jeff Sharkey2011-06-231-1/+4
| | | | | | | | | | | Moved app details back into single Fragment to support animations and template tabs. Show the network in background behind app details chart series to match designs. Clamping sweeps at axis boundaries. Bug: 4813014, 4598460, 4818029 Change-Id: I72c0b21ee1d595e4da31d293ae0dab9e801041f3
* Cycle day editor and other confirmation dialogs.Jeff Sharkey2011-06-141-1/+3
| | | | | | | Create dialog to edit "cycle day" when data usage resets. Also added dialogs to confirm enabling limit and restricting an application. Change-Id: I1e08b17fabd1fcfc2f260807a61435d0ff1a8627
* Iterating on data usage; tabs, scrolling, cycles.Jeff Sharkey2011-06-101-0/+49
Added ActionBar items to control complexity of data surfaced; checked state causes tabs to be shown/hidden for "Mobile", "2G-3G", "4G", and "Wi-Fi" network templates. Loading historical stats and policy from system services based on selected tab. Change entire body under tabs to scroll, treating network options and chart as ListView headers. Teach chart sweep to disable intercept to play with ListView, and draw sweep disabled as dashed line. Hijacking Preference views for toggles to offer consistency. No policy updates are persisted yet. Based on available historical network stats and policy cycle reset day, build list of user-selectable cycles. Wired up chart to display cycle data and reset inspection region to last week of available data. Change-Id: Ia561578276fa23908b745fbc06a6ef828d9ccc2e