Lines Matching refs:mTextPaint
154 private TextPaint mTextPaint;
222 mTextPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
225 mTextPaint.density = res.getDisplayMetrics().density;
226 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale);
323 if (ts != mTextPaint.getTextSize()) {
324 mTextPaint.setTextSize(ts);
387 mTextPaint.setFakeBoldText((need & Typeface.BOLD) != 0);
388 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0);
390 mTextPaint.setFakeBoldText(false);
391 mTextPaint.setTextSkewX(0);
407 if (mTextPaint.getTypeface() != tf) {
408 mTextPaint.setTypeface(tf);
895 return new StaticLayout(transformed, mTextPaint,
896 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)),
1253 mTextPaint.setColor(mTextColors.getColorForState(drawableState, 0));
1255 mTextPaint.drawableState = drawableState;
1420 // so ignore the size/color/style stored this.mTextPaint.