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
This commit is contained in:
@@ -35,8 +35,11 @@ public interface ChartAxis {
|
||||
/** Convert screen point into raw value. */
|
||||
public long convertToValue(float point);
|
||||
|
||||
/** Build label that describes given raw value. */
|
||||
public void buildLabel(Resources res, SpannableStringBuilder builder, long value);
|
||||
/**
|
||||
* Build label that describes given raw value. If the label is rounded for
|
||||
* display, return the rounded value.
|
||||
*/
|
||||
public long buildLabel(Resources res, SpannableStringBuilder builder, long value);
|
||||
|
||||
/** Return list of tick points for drawing a grid. */
|
||||
public float[] getTickPoints();
|
||||
|
Reference in New Issue
Block a user