Searched defs:xCenter (Results 1 - 1 of 1) sorted by relevance

/packages/apps/DeskClock/src/com/android/deskclock/
H A DCircleTimerView.java138 int xCenter = getWidth() / 2 + 1;
142 float radius = Math.min(xCenter, yCenter) - mRadiusOffset;
147 canvas.drawCircle (xCenter, yCenter, radius, mPaint);
149 drawRedDot(canvas, 0f, xCenter, yCenter, radius);
158 mArcRect.left = xCenter - radius;
159 mArcRect.right = xCenter + radius;
193 drawRedDot(canvas, redPercent, xCenter, yCenter, radius);
201 Canvas canvas, float degrees, int xCenter, int yCenter, float radius) {
211 canvas.drawCircle(xCenter + (float) (radius * Math.cos(dotRadians)),
200 drawRedDot( Canvas canvas, float degrees, int xCenter, int yCenter, float radius) argument

Completed in 2756 milliseconds