History log of /packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a478a1e50677bca2af396aeb64bfa0ce45607328 05-May-2012 Gilles Debunne <debunne@google.com> Removed the no longer needed font size span flag fix

Related to bug 6448052

A text replacement (as opposed to a deletion) should (and will) not removei
the EXCLUSIVE_EXCLUSIVE spans that have limits identical to the replaced
range of charcters.

Change-Id: Iefaeab9e5119e7223ef6800c55ff0c741976e138
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
58a904ad2eae26a88f82f23c9679cc2bab73b42b 18-Apr-2012 Gilles Debunne <debunne@google.com> Data usage limit label font size fixed

Bug 6326750

The font size around the text was removed when its content is replaced.
This is WAI since the spans created from <font> html tags have a
SPAN_EXCLUSIVE_EXCLUSIVE flag. These are removed when their length
becomes 0. The bug came from a recent enforcement of this constraint.

The fix is to change the flags of these AbsoluteSizeSpan spans.

This CL also changes the code to avoid the creation of the int[] array.

Change-Id: Ib58270bb9d1cf0c7609ba1e36d6c0cca841300db
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
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/ChartDataUsageView.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/ChartDataUsageView.java
f3871fb2b232cd22469ccc66415f82de4995894e 04-Feb-2012 Jeff Sharkey <jsharkey@android.com> Linear bytes scale, time ticks on first week day.

Move bytes to linear instead of logarithmic scale. Also render time
ticks on first week day based on locale. Also enable testing of
specific IMSI through setprop.

Bug: 5452612, 5829693
Change-Id: I13200cf58a39bfe0ac343e1f83165e899867641b
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
77dae91726864c2c88ac317aff6bd086ca468e54 03-Feb-2012 Jeff Sharkey <jsharkey@android.com> Unify shorthand for byte-based units.

Change-Id: I32f998b5ee1f5416c9cceafd124fd34b7433be42
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
461842a8c0000ebc1351ec7fe30b0f820b769ccf 26-Sep-2011 Jeff Sharkey <jsharkey@android.com> Data usage strings, sweep touches, fixes.

Change strings around limiting background data. Move limit/warning
sweeps above inspection sweeps, and teach about additional neighbors
on different axis.

Guard against DialogFragment.show(), fix pie chart to draw edges, and
remove data usage from battery UI.

Bug: 5341374, 5337650, 5337385, 5319465, 5236335
Change-Id: Iea8c2a2ab405b645d85abe34a0178d4b8874cdd5
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java
a53188fe5aa09918dd7b5a9ff79ba050a2bfc4c2 14-Sep-2011 Jeff Sharkey <jsharkey@android.com> Data usage: precise editing, restrict help, D-pad.

Introduce dialogs for precise editing of network policy warning/limit
values, triggered by click on sweep labels. Show up to 999MB before
rounding to GB, and round to nearest 5MB value when dragging. Partial
D-pad navigation around chart controls. Fix jumping when relayout
during drag, and fix sweep overlap bug.

When restricting data without limited networks, show dialog help to
guide user towards network limit. When reloading chart data, try
restoring to nearest cycle.

Bug: 5289641, 5111701, 5226078
Change-Id: Ic59dee6496c480a64dc56f8534acf4d81b50bca7
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.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/ChartDataUsageView.java
5d70679c02a57416eac46581d7242e2382e4b973 09-Sep-2011 Jeff Sharkey <jsharkey@android.com> Larger touch targets, snap to persisted value.

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
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.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/ChartDataUsageView.java
55d18a57e45e11f657346cbaa7fd454f92775229 28-Aug-2011 Jeff Sharkey <jsharkey@android.com> Data usage UI fixes; sweeps, combined history.

Fix sweep z-order so that limit are always above inspection range,
and draw shadows behind sweep labels. Narrower margins for sweeps
with labels; push labels to keep from overlapping.

Generous touch targets on sweeps, and delegate touches to neighboring
sweep if nearer. Refresh sweep layout during axis zoom, and don't
allow zoom below default minimum. Let inspection sweeps move beyond
valid data ranges. Draw less-frequent tick marks when working with
large axis ranges.

Remove Wi-Fi policies but continue showing historical data. Write
NetworkPolicy if modified during read, and snapshot when async write
requested.

Handle combined UID histories for "Android OS."

Bug: 5191421, 5092579, 5225988, 5221101, 5221065, 5221005, 5150906, 5058025
Change-Id: Id51652e8a10bb90e1345f7a8af01bd70cb8ac677
/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java