Home
last modified time | relevance | path

Searched refs:mCenter (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCircleDrawable.java67 private Point mCenter; field in TouchCircleDrawable
114 mCenter = p; in setCenter()
122 return mCenter; in getCenter()
130 if (w == INVALID || h == INVALID || mCenter == null) { in draw()
135 canvas.drawCircle(mCenter.x, mCenter.y, mBackgroundRadius, mBackgroundPaint); in draw()
137 canvas.drawCircle(mCenter.x, mCenter.y, mColorRadius, mColorPaint); in draw()
176 if (mCenter != null) { in updateIconBounds()
178 mCenter.x - mIconDrawableSize/2, mCenter.y - mIconDrawableSize/2, in updateIconBounds()
179 mCenter.x + mIconDrawableSize/2, mCenter.y + mIconDrawableSize/2); in updateIconBounds()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DBalanceSeekBar.java68 if (progress != mCenter
69 && progress > mCenter - mSnapThreshold
70 && progress < mCenter + mSnapThreshold) {
71 progress = mCenter;
74 final float balance = (progress - mCenter) * 0.01f;
98 private int mCenter; field in BalanceSeekBar
137 mCenter = max / 2; in setMax()
/packages/apps/Settings/src/com/android/settings/accessibility/
DBalanceSeekBar.java68 if (progress != mCenter
69 && progress > mCenter - mSnapThreshold
70 && progress < mCenter + mSnapThreshold) {
71 progress = mCenter;
74 final float balance = (progress - mCenter) * 0.01f;
98 private int mCenter; field in BalanceSeekBar
137 mCenter = max / 2; in setMax()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java70 private Point mCenter; field in PieRenderer
122 mListener.onPieOpened(mCenter.x, mCenter.y);
157 mCenter = new Point(0, 0); in init()
268 mCenter.x = x; in setCenter()
269 mCenter.y = y; in setCenter()
297 outer, inner, mCenter); in layoutItems()
309 int y = mCenter.y - (int) (r * Math.sin(angle)) - h / 2; in layoutItems()
310 x = mCenter.x + x - w / 2; in layoutItems()
368 canvas.scale(sf, sf, mCenter.x, mCenter.y); in onDraw()
396 canvas.rotate(r, mCenter.x, mCenter.y); in drawItem()
[all …]
DPieItem.java38 private float mCenter; field in PieItem
63 mCenter = -1; in PieItem()
141 mCenter = center; in setFixedSlice()
146 return mCenter; in getCenter()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSlotView.java358 private RelativePosition mCenter; field in SlotView.ScatteringAnimation
361 mCenter = center; in ScatteringAnimation()
367 (mCenter.getX() - target.centerX()) * (1 - mProgress), in apply()
368 (mCenter.getY() - target.centerY()) * (1 - mProgress), in apply()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java218 private int mCenter; field in ScrollController.Axis.Item
233 return mCenter; in getCenter()
245 mCenter = (low + high) / 2; in setValue()