Home
last modified time | relevance | path

Searched refs:sweep (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java96 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() argument
316 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() argument
323 mHandler.removeMessages(MSG_UPDATE_AXIS, sweep); in clearUpdateAxisDelayed()
[all …]
DChartView.java128 protected void layoutSweep(ChartSweepView sweep) { in layoutSweep() argument
132 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() argument
137 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()
DChartSweepView.java100 public void onSweep(ChartSweepView sweep, boolean sweepDone); in onSweep() argument
101 public void requestEdit(ChartSweepView sweep); in requestEdit() argument
214 public void setSweepDrawable(Drawable sweep) { in setSweepDrawable() argument
220 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()
/packages/apps/Camera/src/com/android/camera/
DPhotoController.java56 float sweep = FLOAT_PI_DIVIDED_BY_TWO / 2; in initialize() local
57 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()
DVideoController.java57 float sweep = FLOAT_PI_DIVIDED_BY_TWO / 2; in initialize() local
59 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()
DPieController.java87 public void addItem(String prefKey, float center, float sweep) { in addItem() argument
103 item.setFixedSlice(center, sweep); in addItem()
/packages/apps/Camera/src/com/android/camera/ui/
DPieItem.java41 private float sweep; field in PieItem
136 sweep = sw; in setGeometry()
141 public void setFixedSlice(float center, float sweep) { in setFixedSlice() argument
143 this.sweep = sweep; in setFixedSlice()
159 return sweep; in getSweep()
DPieRenderer.java290 float sweep = (float) (PIE_SWEEP - 2 * emptyangle) / items.size(); in layoutItems() local
291 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()
/packages/apps/Browser/src/com/android/browser/view/
DPieMenu.java249 float sweep = (float) (Math.PI - 2 * emptyangle) / mCounts[level]; in layoutPie() local
250 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()
DPieItem.java35 private float sweep; field in PieItem
115 sweep = sw; in setGeometry()
129 return sweep; in getSweep()
/packages/apps/Gallery2/src/com/android/camera/ui/
DPieRenderer.java421 private float getCenter(int pos, int count, float sweep) { in getCenter() argument
422 return mCenterAngle + (count - 1) * sweep / 2f - pos * sweep; in getCenter()
/packages/apps/Gallery2/src/com/android/camera/
DPieController.java177 public PieItem makeDialItem(ListPreference pref, int iconId, float center, float sweep) { in makeDialItem() argument
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz