Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java94 final ChartSweepView sweep = (ChartSweepView) msg.obj; in ChartDataUsageView()
95 updateVertAxisBounds(sweep); in ChartDataUsageView()
99 sendUpdateAxisDelayed(sweep, true); in ChartDataUsageView()
280 private void sendUpdateAxisDelayed(ChartSweepView sweep, boolean force) { in sendUpdateAxisDelayed() argument
281 if (force || !mHandler.hasMessages(MSG_UPDATE_AXIS, sweep)) { in sendUpdateAxisDelayed()
283 mHandler.obtainMessage(MSG_UPDATE_AXIS, sweep), DELAY_MILLIS); in sendUpdateAxisDelayed()
287 private void clearUpdateAxisDelayed(ChartSweepView sweep) { in clearUpdateAxisDelayed() argument
288 mHandler.removeMessages(MSG_UPDATE_AXIS, sweep); in clearUpdateAxisDelayed()
293 public void onSweep(ChartSweepView sweep, boolean sweepDone) {
295 clearUpdateAxisDelayed(sweep);
[all …]
DChartView.java134 protected void layoutSweep(ChartSweepView sweep) { in layoutSweep() argument
138 layoutSweep(sweep, parentRect, childRect); in layoutSweep()
139 sweep.layout(childRect.left, childRect.top, childRect.right, childRect.bottom); in layoutSweep()
142 protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect) { in layoutSweep() argument
143 final Rect sweepMargins = sweep.getMargins(); in layoutSweep()
146 if (sweep.getFollowAxis() == ChartSweepView.VERTICAL) { in layoutSweep()
147 parentRect.top += sweepMargins.top + (int) sweep.getPoint(); in layoutSweep()
151 Gravity.apply(SWEEP_GRAVITY, parentRect.width(), sweep.getMeasuredHeight(), in layoutSweep()
155 parentRect.left += sweepMargins.left + (int) sweep.getPoint(); in layoutSweep()
159 Gravity.apply(SWEEP_GRAVITY, sweep.getMeasuredWidth(), parentRect.height(), in layoutSweep()
DChartSweepView.java101 public void onSweep(ChartSweepView sweep, boolean sweepDone); in onSweep() argument
102 public void requestEdit(ChartSweepView sweep); in requestEdit() argument
216 public void setSweepDrawable(Drawable sweep) { in setSweepDrawable() argument
222 if (sweep != null) { in setSweepDrawable()
223 sweep.setCallback(this); in setSweepDrawable()
224 if (sweep.isStateful()) { in setSweepDrawable()
225 sweep.setState(getDrawableState()); in setSweepDrawable()
227 sweep.setVisible(getVisibility() == VISIBLE, false); in setSweepDrawable()
228 mSweep = sweep; in setSweepDrawable()
229 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMatrixUtils.java71 private static void sweep(final int row, final float[][] squareMatrix0, in sweep() method in MatrixUtils
114 sweep(i, squareMatrix, inverseMatrix, size); in inverse()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1402373178, ...