Lines Matching defs:canvas
147 protected void onDraw(Canvas canvas) {
165 canvas.clipRect(getPaddingLeft(), getPaddingTop(),
170 float charWidth = charState.draw(canvas, currentDrawPosition, charHeight, yPosition,
644 * Draw this char to the canvas.
648 public float draw(Canvas canvas, float currentDrawPosition, int charHeight, float yPosition,
656 canvas.save();
658 canvas.translate(centerX, currYPosition);
659 canvas.scale(currentTextSizeFactor, currentTextSizeFactor);
660 canvas.drawText(Character.toString(whichChar), 0, 0, mDrawPaint);
661 canvas.restore();
664 canvas.save();
666 canvas.translate(centerX, yPosition);
667 canvas.drawCircle(0, 0, mDotSize / 2 * currentDotSizeFactor, mDrawPaint);
668 canvas.restore();