History log of /packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b654846300f79e9e4c605ce62d09f9a05d232fee 22-Jul-2014 Jeff Sharkey <jsharkey@android.com> Data Usage, materialized!

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
e6c5003278184c202833209164ddf1ae8c083f12 06-Mar-2013 Jeff Sharkey <jsharkey@android.com> Remove guava dependency to speed up build.

Change-Id: I4cee4b6324e72e94c1241e10f3cdc507d65512cd
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
a8106f248c36dd7800927489d4b43e8df30ed808 16-Mar-2012 Jeff Sharkey <jsharkey@android.com> Auto grid lines, lower minimum, disable estimates.

Show automatic grid lines with power-of-two spacing, avoiding ANR
when trying to render thousands of gridlines. Lower minimum chart
height to 50MB to give better view of linear data. Also disable
estimates rendering.

Bug: 5500204, 6005240
Change-Id: Iacfed11b32c0095c9c2d08bee6a1b5e29637de98
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
f9eca2e0e0dc31fde40cc731c50c3f522f578c69 14-Oct-2011 Jeff Sharkey <jsharkey@android.com> Data usage chart fixes.

Always draw first data point at 0. Each point should include full
value of current bucket, instead of lagging behind by one.

Bug: 5404917, 5404861, 5178305
Change-Id: I5fa63bc84cc1f9c0403fb03effd5affd2f01ad4c
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
b98c55bd097e006703352f84f0271dec5181160a 12-Sep-2011 Jeff Sharkey <jsharkey@android.com> Data usage performance, bugfixes.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
54d0af57fd2dca14f0c7c34a48942aa6ecdc3f06 12-Aug-2011 Jeff Sharkey <jsharkey@android.com> Foreground/background network stats pie chart.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
e2afc0f283f58ce60c107643978bfff25ec5d5c1 02-Aug-2011 Jeff Sharkey <jsharkey@android.com> Data usage axis grow/shrink, other fixes.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
2412b0f2489d5fde811d802b39a0a00d861b5ddf 18-Jul-2011 Jeff Sharkey <jsharkey@android.com> Data usage app bars, draw estimated cycle usage.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
ebae659fc786a14a0dc6ceda2af80fc48e46e123 12-Jul-2011 Jeff Sharkey <jsharkey@android.com> Migrate to refactored NetworkStats API.

Change-Id: I76452a67b74df873c88cb9092188e5e4ba83b991
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
f54f435f1f3215b39798c671fc64344d1867de4e 24-Jun-2011 Jeff Sharkey <jsharkey@android.com> More data usage chart iteration, app details.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
52c3f4461b806e4f1ce48455ee2ba0ac05dfdab4 23-Jun-2011 Jeff Sharkey <jsharkey@android.com> Iterate on data usage chart UI.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
8e911d7b1a6817f67480b7677f8d36ab3bfb00f2 15-Jun-2011 Jeff Sharkey <jsharkey@android.com> Data usage app labels, protect system, hide empty.

Derive better labels from PackageManager, including for sharedUid
case. Disable "App settings" button when no ResolveInfo found, and
hide "Restrict" checkbox for system UIDs. Also hide apps with 0
bytes usage.

Change-Id: I4b0a66f6912c02c56bfcbcb5b46f3ae2ba0df504
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
4dfa66001d20d1b461ef15f94887aa050d9295cf 13-Jun-2011 Jeff Sharkey <jsharkey@android.com> First pass at detailed app data usage, policy.

Fragment to show application data usage details, including chart with
inspection ranges. Button that invokes ACTION_MANAGE_NETWORK_USAGE
towards application, and UID-specific policy controls. Fragment is
launched when clicking list items from data usage summary page.

Change-Id: Ie1564aa8af98e1a7083817a997059a5a7b1caa50
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
8a50364a71e7c261b54840210f8bacff5abecb34 10-Jun-2011 Jeff Sharkey <jsharkey@android.com> Iterating on data usage; tabs, scrolling, cycles.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java
ab2d8d3a38857b8c155e6c6393c5821f5a341aae 31-May-2011 Jeff Sharkey <jsharkey@android.com> Checkpoint of data usage UI, graphs and lists.

Chart of network usage over time, with draggable "sweep" bars for
inspection region and warning/limits. Talks with NetworkStatsService
for live data, and updates list of application usage as inspection
region changes.

Change-Id: I2a406e6776daf7d74143c07ec683c10fe711c277
/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java