Home | History | Annotate | Download | only in widget

Lines Matching defs:sweep

134     protected void layoutSweep(ChartSweepView sweep) {
138 layoutSweep(sweep, parentRect, childRect);
139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom);
142 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) {
143 final Rect sweepMargins = sweep.getMargins();
145 // sweep is always placed along specific dimension
146 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) {
147 parentRect.top += sweepMargins.top + (int) sweep.getPoint();
151 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(),
155 parentRect.left += sweepMargins.left + (int) sweep.getPoint();
159 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(),