Searched refs:xCenter (Results 1 – 4 of 4) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerCircleView.kt | 96 val xCenter = width / 2 in onDraw() constant 98 val radius = min(xCenter, yCenter) - mRadiusOffset in onDraw() 109 canvas.drawCircle(xCenter.toFloat(), yCenter.toFloat(), radius, mPaint) in onDraw() 118 canvas.drawCircle(xCenter.toFloat(), yCenter.toFloat(), radius, mPaint) in onDraw() 127 mArcRect.left = xCenter - radius in onDraw() 128 mArcRect.right = xCenter + radius in onDraw() 145 val dotX = xCenter + (radius * cos(dotAngleRadians)).toFloat() in onDraw()
|
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
D | StopwatchCircleView.kt | 102 val xCenter: Int = getWidth() / 2 in onDraw() constant 104 val radius = min(xCenter, yCenter) - mRadiusOffset in onDraw() 114 canvas.drawCircle(xCenter.toFloat(), yCenter.toFloat(), radius, mPaint) in onDraw() 131 mArcRect.left = xCenter - radius in onDraw() 132 mArcRect.right = xCenter + radius in onDraw() 156 val dotX = xCenter + (radius * cos(dotAngleRadians)).toFloat() in onDraw()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | ZoomedCropRegion.java | 40 int xCenter = sensor.width() / 2; in get() local 44 return new Rect(xCenter - xDelta, yCenter - yDelta, xCenter + xDelta, yCenter + yDelta); in get()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | AutoFocusHelper.java | 213 int xCenter = sensor.width() / 2; in cropRegionForZoom() local 217 return new Rect(xCenter - xDelta, yCenter - yDelta, xCenter + xDelta, yCenter + yDelta); in cropRegionForZoom()
|