History log of /packages/apps/Settings/src/com/android/settings/widget/InvertedChartAxis.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
76c5ed4f35e0d824d1b36dc2f371762b1e2b9abe 09-Apr-2012 Jeff Sharkey <jsharkey@android.com> Migrate to @Override to remove warnings.

Bug: 6303344

Change-Id: I8f17edc3b12d50cedab2c5f555c63bc07d85bca2
/packages/apps/Settings/src/com/android/settings/widget/InvertedChartAxis.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/InvertedChartAxis.java
28130d96385d7d7b17992b45fb5d124836d85880 03-Sep-2011 Jeff Sharkey <jsharkey@android.com> Unify data/power layout, confirm disable, round.

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
/packages/apps/Settings/src/com/android/settings/widget/InvertedChartAxis.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/InvertedChartAxis.java
ec3be8a4a5efa0e98aeefbf22bb876d09f08a023 09-Jul-2011 Jeff Sharkey <jsharkey@android.com> Draw vertical data usage sweep labels.

Using template string, ask axis to build label for sweeps. Also
clean up margins exposed to parent view, since we offset when label
is larger than sweep drawable.

Bug: 4598460
Change-Id: If71bc8ec8c952023325c80b9bc00b63c23609c7a
/packages/apps/Settings/src/com/android/settings/widget/InvertedChartAxis.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/InvertedChartAxis.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/InvertedChartAxis.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/InvertedChartAxis.java