Searched refs:mCenter (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | TouchCircleDrawable.java | 67 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/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/ |
D | PieRenderer.java | 68 private Point mCenter; field in PieRenderer 122 mListener.onPieOpened(mCenter.x, mCenter.y); 159 mCenter = new Point(0, 0); in init() 270 mCenter.x = x; in setCenter() 271 mCenter.y = y; in setCenter() 297 Path path = makeSlice(getDegrees(0) - gap, getDegrees(sweep) + gap, 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() 369 canvas.scale(sf, sf, mCenter.x, mCenter.y); in onDraw() 397 canvas.rotate(r, mCenter.x, mCenter.y); in drawItem() [all …]
|
D | PieItem.java | 35 private float mCenter; field in PieItem 59 mCenter = -1; in PieItem() 124 return mCenter; in getCenter()
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | PieRenderer.java | 70 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 …]
|
D | PieItem.java | 38 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/ |
D | SlotView.java | 358 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/ |
D | ScrollController.java | 218 private int mCenter; field in ScrollController.Axis.Item 233 return mCenter; in getCenter() 245 mCenter = (low + high) / 2; in setValue()
|