Searched refs:yCenter (Results 1 – 2 of 2) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | CircleTimerView.java | 144 int yCenter = getHeight() / 2; in onDraw() local 147 float radius = Math.min(xCenter, yCenter) - mRadiusOffset; in onDraw() 159 canvas.drawCircle (xCenter, yCenter, radius, mPaint); in onDraw() 161 drawRedDiamond(canvas, 0f, xCenter, yCenter, radius); in onDraw() 168 mArcRect.top = yCenter - radius; in onDraw() 169 mArcRect.bottom = yCenter + radius; in onDraw() 205 drawRedDiamond(canvas, redPercent, xCenter, yCenter, radius); in onDraw() 213 Canvas canvas, float degrees, int xCenter, int yCenter, float radius) { in drawRedDiamond() argument 225 yCenter + (float) (radius * Math.sin(diamondRadians))); in drawRedDiamond()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | CountingTimerView.java | 584 int yCenter = getHeight() / 2; in onDraw() local 587 float textYstart = yCenter + mTextHeight/2 - (mTextHeight * FONT_VERTICAL_OFFSET); in onDraw()
|