Home
last modified time | relevance | path

Searched refs:styledTypeface (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java464 final Typeface styledTypeface; in updateMeasureState() local
469 styledTypeface = Typeface.create(mTypeface, style); in updateMeasureState()
480 styledTypeface = Typeface.create(mFamilyName, style); in updateMeasureState()
482 styledTypeface = Typeface.defaultFromStyle(style); in updateMeasureState()
484 styledTypeface = Typeface.create(tf, style); in updateMeasureState()
487 styledTypeface = null; in updateMeasureState()
490 if (styledTypeface != null) { in updateMeasureState()
495 readyTypeface = ds.setTypeface(Typeface.create(styledTypeface, weight, italic)); in updateMeasureState()
497 readyTypeface = styledTypeface; in updateMeasureState()
DTypefaceSpan.java171 final Typeface styledTypeface = Typeface.create(family, style); in applyFontFamily() local
172 int fake = style & ~styledTypeface.getStyle(); in applyFontFamily()
181 paint.setTypeface(styledTypeface); in applyFontFamily()