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
This commit is contained in:
@@ -112,12 +112,18 @@ public class ChartView extends FrameLayout {
|
||||
|
||||
parentRect.set(mContent);
|
||||
|
||||
if (child instanceof ChartNetworkSeriesView || child instanceof ChartGridView) {
|
||||
if (child instanceof ChartNetworkSeriesView) {
|
||||
// series are always laid out to fill entire graph area
|
||||
// TODO: handle scrolling for series larger than content area
|
||||
Gravity.apply(params.gravity, width, height, parentRect, childRect);
|
||||
child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
|
||||
|
||||
} else if (child instanceof ChartGridView) {
|
||||
// Grid uses some extra room for labels
|
||||
Gravity.apply(params.gravity, width, height, parentRect, childRect);
|
||||
child.layout(childRect.left, childRect.top, childRect.right,
|
||||
childRect.bottom + child.getPaddingBottom());
|
||||
|
||||
} else if (child instanceof ChartSweepView) {
|
||||
layoutSweep((ChartSweepView) child, parentRect, childRect);
|
||||
child.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
|
||||
@@ -154,5 +160,4 @@ public class ChartView extends FrameLayout {
|
||||
parentRect, childRect);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user