Lines Matching defs:mTextPaint
103 private TextPaint mTextPaint;
148 mTextPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
150 mTextPaint.density = res.getDisplayMetrics().density;
151 mTextPaint.setCompatibilityScaling(res.getCompatibilityInfo().applicationScale);
209 if (ts != mTextPaint.getTextSize()) {
210 mTextPaint.setTextSize(ts);
273 mTextPaint.setFakeBoldText((need & Typeface.BOLD) != 0);
274 mTextPaint.setTextSkewX((need & Typeface.ITALIC) != 0 ? -0.25f : 0);
276 mTextPaint.setFakeBoldText(false);
277 mTextPaint.setTextSkewX(0);
293 if (mTextPaint.getTypeface() != tf) {
294 mTextPaint.setTypeface(tf);
522 return new StaticLayout(transformed, mTextPaint,
523 (int) Math.ceil(Layout.getDesiredWidth(transformed, mTextPaint)),
747 mTextPaint.setColor(mTextColors.getColorForState(getDrawableState(),
750 mTextPaint.drawableState = getDrawableState();