Lines Matching refs:mPaint
37 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
46 mPaint.setColor(Color.GRAY);
47 mPaint.setStyle(Paint.Style.STROKE);
48 canvas.drawRect(0, 0, 64, 64, mPaint);
49 canvas.drawLine(0, 0, 64, 64, mPaint);
50 canvas.drawLine(0, 64, 64, 0, mPaint);
52 mPaint.setColor(Color.RED);
53 mPaint.setStyle(Paint.Style.FILL);
59 canvas.drawText(src.length/2 + "", x, y, mPaint);
68 mPaint.setStrokeWidth(4);
70 mPaint.setTextSize(40);
71 mPaint.setTextAlign(Paint.Align.CENTER);
72 mFontMetrics = mPaint.getFontMetrics();