Searched defs:sweep (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Camera/src/com/android/camera/ |
H A D | PieController.java | 87 public void addItem(String prefKey, float center, float sweep) { argument 102 // use center and sweep to determine layout 103 item.setFixedSlice(center, sweep);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartView.java | 129 protected void layoutSweep(ChartSweepView sweep) { argument 133 layoutSweep(sweep, parentRect, childRect); 134 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); 137 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { argument 138 final Rect sweepMargins = sweep.getMargins(); 140 // sweep is always placed along specific dimension 141 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) { 142 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); 146 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), 150 parentRect.left += sweepMargins.left + (int) sweep [all...] |
H A D | ChartDataUsageView.java | 96 final ChartSweepView sweep = (ChartSweepView) msg.obj; 97 updateVertAxisBounds(sweep); 100 // we keep dispatching repeating updates until sweep is dropped 101 sendUpdateAxisDelayed(sweep, true); 258 // since we just changed axis, make sweep recalculate its value 300 public void onSweep(ChartSweepView sweep, boolean sweepDone) { 310 public void requestEdit(ChartSweepView sweep) { 315 private void sendUpdateAxisDelayed(ChartSweepView sweep, boolean force) { argument 316 if (force || !mHandler.hasMessages(MSG_UPDATE_AXIS, sweep)) { 318 mHandler.obtainMessage(MSG_UPDATE_AXIS, sweep), DELAY_MILLI 322 clearUpdateAxisDelayed(ChartSweepView sweep) argument [all...] |
H A D | ChartSweepView.java | 100 public void onSweep(ChartSweepView sweep, boolean sweepDone); argument 101 public void requestEdit(ChartSweepView sweep); argument 214 public void setSweepDrawable(Drawable sweep) { argument 220 if (sweep != null) { 221 sweep.setCallback(this); 222 if (sweep.isStateful()) { 223 sweep.setState(getDrawableState()); 225 sweep.setVisible(getVisibility() == VISIBLE, false); 226 mSweep = sweep; 227 sweep [all...] |
/packages/apps/Browser/src/com/android/browser/view/ |
H A D | PieItem.java | 35 private float sweep; field in class:PieItem 115 sweep = sw; 129 return sweep;
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PieItem.java | 41 private float sweep; field in class:PieItem 136 sweep = sw; 141 public void setFixedSlice(float center, float sweep) { argument 143 this.sweep = sweep; 159 return sweep;
|
Completed in 68 milliseconds