Home
last modified time | relevance | path

Searched refs:xCenter (Results 1 – 4 of 4) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerCircleView.kt96 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/
DStopwatchCircleView.kt102 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/
DZoomedCropRegion.java40 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/
DAutoFocusHelper.java213 int xCenter = sensor.width() / 2; in cropRegionForZoom() local
217 return new Rect(xCenter - xDelta, yCenter - yDelta, xCenter + xDelta, yCenter + yDelta); in cropRegionForZoom()