summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/widget/ChartAxis.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-09-11 17:29:49 -0700
committerJeff Sharkey <jsharkey@android.com>2011-09-12 15:48:24 -0700
commitb98c55bd097e006703352f84f0271dec5181160a (patch)
tree425802e5c226e5f1df41b18ebbf0208360632b2b /src/com/android/settings/widget/ChartAxis.java
parenta3fb4572dd8dea59ceb3cbc8907fb71a92df4290 (diff)
downloadpackages_apps_Settings-b98c55bd097e006703352f84f0271dec5181160a.zip
packages_apps_Settings-b98c55bd097e006703352f84f0271dec5181160a.tar.gz
packages_apps_Settings-b98c55bd097e006703352f84f0271dec5181160a.tar.bz2
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
Diffstat (limited to 'src/com/android/settings/widget/ChartAxis.java')
-rw-r--r--src/com/android/settings/widget/ChartAxis.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/settings/widget/ChartAxis.java b/src/com/android/settings/widget/ChartAxis.java
index d3d499c..515fe66 100644
--- a/src/com/android/settings/widget/ChartAxis.java
+++ b/src/com/android/settings/widget/ChartAxis.java
@@ -26,9 +26,9 @@ import android.text.SpannableStringBuilder;
public interface ChartAxis {
/** Set range of raw values this axis should cover. */
- public void setBounds(long min, long max);
+ public boolean setBounds(long min, long max);
/** Set range of screen points this axis should cover. */
- public void setSize(float size);
+ public boolean setSize(float size);
/** Convert raw value into screen point. */
public float convertToPoint(long value);