Searched refs:sweep (Results 1 – 15 of 15) sorted by relevance
96 final ChartSweepView sweep = (ChartSweepView) msg.obj; in ChartDataUsageView()97 updateVertAxisBounds(sweep); in ChartDataUsageView()101 sendUpdateAxisDelayed(sweep, true); in ChartDataUsageView()300 public void onSweep(ChartSweepView sweep, boolean sweepDone) {310 public void requestEdit(ChartSweepView sweep) {315 private void sendUpdateAxisDelayed(ChartSweepView sweep, boolean force) { in sendUpdateAxisDelayed() argument316 if (force || !mHandler.hasMessages(MSG_UPDATE_AXIS, sweep)) { in sendUpdateAxisDelayed()318 mHandler.obtainMessage(MSG_UPDATE_AXIS, sweep), DELAY_MILLIS); in sendUpdateAxisDelayed()322 private void clearUpdateAxisDelayed(ChartSweepView sweep) { in clearUpdateAxisDelayed() argument323 mHandler.removeMessages(MSG_UPDATE_AXIS, sweep); in clearUpdateAxisDelayed()[all …]
128 protected void layoutSweep(ChartSweepView sweep) { in layoutSweep() argument132 layoutSweep(sweep, parentRect, childRect); in layoutSweep()133 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); in layoutSweep()136 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { in layoutSweep() argument137 final Rect sweepMargins = sweep.getMargins(); in layoutSweep()140 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) { in layoutSweep()141 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); in layoutSweep()145 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), in layoutSweep()149 parentRect.left += sweepMargins.left + (int) sweep.getPoint(); in layoutSweep()153 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
100 public void onSweep(ChartSweepView sweep, boolean sweepDone); in onSweep() argument101 public void requestEdit(ChartSweepView sweep); in requestEdit() argument214 public void setSweepDrawable(Drawable sweep) { in setSweepDrawable() argument220 if (sweep != null) { in setSweepDrawable()221 sweep.setCallback(this); in setSweepDrawable()222 if (sweep.isStateful()) { in setSweepDrawable()223 sweep.setState(getDrawableState()); in setSweepDrawable()225 sweep.setVisible(getVisibility() == VISIBLE, false); in setSweepDrawable()226 mSweep = sweep; in setSweepDrawable()227 sweep.getPadding(mSweepPadding); in setSweepDrawable()
56 float sweep = FLOAT_PI_DIVIDED_BY_TWO / 2; in initialize() local57 addItem(CameraSettings.KEY_FLASH_MODE, FLOAT_PI_DIVIDED_BY_TWO - sweep, sweep); in initialize()58 addItem(CameraSettings.KEY_EXPOSURE, 3 * FLOAT_PI_DIVIDED_BY_TWO - sweep, sweep); in initialize()59 addItem(CameraSettings.KEY_WHITE_BALANCE, 3 * FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); in initialize()62 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); in initialize()83 hdr.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO, sweep); in initialize()109 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO * 3, sweep); in initialize()
57 float sweep = FLOAT_PI_DIVIDED_BY_TWO / 2; in initialize() local59 addItem(CameraSettings.KEY_VIDEOCAMERA_FLASH_MODE, FLOAT_PI_DIVIDED_BY_TWO - sweep, sweep); in initialize()60 addItem(CameraSettings.KEY_WHITE_BALANCE, 3 * FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); in initialize()62 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO + sweep, sweep); in initialize()86 item.setFixedSlice(FLOAT_PI_DIVIDED_BY_TWO * 3, sweep); in initialize()
87 public void addItem(String prefKey, float center, float sweep) { in addItem() argument103 item.setFixedSlice(center, sweep); in addItem()
41 private float sweep; field in PieItem136 sweep = sw; in setGeometry()141 public void setFixedSlice(float center, float sweep) { in setFixedSlice() argument143 this.sweep = sweep; in setFixedSlice()159 return sweep; in getSweep()
290 float sweep = (float) (PIE_SWEEP - 2 * emptyangle) / items.size(); in layoutItems() local291 float angle = centerAngle - PIE_SWEEP / 2 + emptyangle + sweep / 2; in layoutItems()297 sweep = item.getSweep(); in layoutItems()301 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, in layoutItems()317 float itemstart = angle - sweep / 2; in layoutItems()318 item.setGeometry(itemstart, sweep, inner, outer); in layoutItems()323 angle += sweep; in layoutItems()
249 float sweep = (float) (Math.PI - 2 * emptyangle) / mCounts[level]; in layoutPie() local250 float angle = emptyangle + sweep / 2; in layoutPie()251 mPath = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, outer, inner, mCenter); in layoutPie()270 float itemstart = angle - sweep / 2; in layoutPie()271 item.setGeometry(itemstart, sweep, inner, outer); in layoutPie()272 angle += sweep; in layoutPie()
35 private float sweep; field in PieItem115 sweep = sw; in setGeometry()129 return sweep; in getSweep()
421 private float getCenter(int pos, int count, float sweep) { in getCenter() argument422 return mCenterAngle + (count - 1) * sweep / 2f - pos * sweep; in getCenter()
177 public PieItem makeDialItem(ListPreference pref, int iconId, float center, float sweep) { in makeDialItem() argument
1dictionary=main:en_us,locale=en_US,description=English (US),date ...