protected void layoutSweep(ChartSweepView sweep) { final Rect parentRect = new Rect(mContent); final Rect childRect = new Rect(); layoutSweep(sweep, parentRect, childRect); sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); }