Lines Matching refs:mTextPaint
38 private Paint mTextPaint;
85 mTextPaint = new Paint();
86 mTextPaint.setAntiAlias(true);
88 mTextPaint.setTextSize(16 * getResources().getDisplayMetrics().density);
89 mTextPaint.setColor(0xFF000000);
109 mTextPaint.setTextSize(size);
119 mTextPaint.setColor(color);
147 result = (int) mTextPaint.measureText(mText) + getPaddingLeft()
168 mAscent = (int) mTextPaint.ascent();
174 result = (int) (-mAscent + mTextPaint.descent()) + getPaddingTop()
192 canvas.drawText(mText, getPaddingLeft(), getPaddingTop() - mAscent, mTextPaint);