Home
last modified time | relevance | path

Searched refs:mTypeface (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java33 private final String mTypeface; field in TextAppearanceSpan
73 mTypeface = family; in TextAppearanceSpan()
79 mTypeface = "sans"; in TextAppearanceSpan()
83 mTypeface = "serif"; in TextAppearanceSpan()
87 mTypeface = "monospace"; in TextAppearanceSpan()
91 mTypeface = null; in TextAppearanceSpan()
115 mTypeface = family; in TextAppearanceSpan()
123 mTypeface = src.readString(); in TextAppearanceSpan()
157 dest.writeString(mTypeface); in writeToParcelInternal()
179 return mTypeface; in getFamily()
[all …]
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp29 minikin::MinikinFont(typeface->uniqueID()), mTypeface(std::move(typeface)), mFontData(fontData), in MinikinFontSkia()
52 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); in GetHorizontalAdvance()
71 return mTypeface.get(); in GetSkTypeface()
75 return mTypeface; in RefSkTypeface()
99 SkStreamAsset* stream = mTypeface->openStream(&ttcIndex); in createFontWithVariation()
DMinikinSkia.h58 sk_sp<SkTypeface> mTypeface;
/frameworks/support/emoji/core/src/android/support/text/emoji/
DMetadataRepo.java64 private final Typeface mTypeface; field in MetadataRepo
73 mTypeface = null; in MetadataRepo()
87 mTypeface = typeface; in MetadataRepo()
148 return mTypeface; in getTypeface()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractE2ETest.java87 private Typeface mTypeface; field in FontsContractE2ETest.TestCallback
93 mTypeface = typeface; in onTypefaceRetrieved()
102 return mTypeface; in getTypeface()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java84 private Typeface_Delegate mTypeface; field in Paint_Delegate
882 if (delegate.mTypeface != typefaceDelegate || delegate.mNativeTypeface != typeface) { in nSetTypeface()
883 delegate.mTypeface = Typeface_Delegate.getDelegate(typeface); in nSetTypeface()
1180 if (mTypeface != paint.mTypeface || mNativeTypeface != paint.mNativeTypeface) { in set()
1181 mTypeface = paint.mTypeface; in set()
1222 mTypeface = Typeface_Delegate.getDelegate(Typeface.sDefaults[0].native_instance); in reset()
1243 if (mTypeface != null) { in updateFontObject()
1245 List<Font> fonts = mTypeface.getFonts(mFontVariant); in updateFontObject()
/frameworks/support/design/src/android/support/design/widget/
DTextInputLayout.java136 private Typeface mTypeface; field in TextInputLayout
296 if ((mTypeface != null && !mTypeface.equals(typeface)) in setTypeface()
297 || (mTypeface == null && typeface != null)) { in setTypeface()
298 mTypeface = typeface; in setTypeface()
315 return mTypeface; in getTypeface()
627 if (mTypeface != null) { in setErrorEnabled()
628 mErrorView.setTypeface(mTypeface); in setErrorEnabled()
784 if (mTypeface != null) { in setCounterEnabled()
785 mCounterView.setTypeface(mTypeface); in setCounterEnabled()
/frameworks/base/graphics/java/android/graphics/
DPaint.java72 private Typeface mTypeface; field in Paint
520 mTypeface = null; in reset()
558 mTypeface = paint.mTypeface; in setClassVariablesFrom()
1172 return mTypeface; in getTypeface()
1190 mTypeface = typeface; in setTypeface()
1596 setTypeface(Typeface.createFromTypefaceWithVariation(mTypeface, in setFontVariationSettings()
1603 Typeface targetTypeface = mTypeface == null ? Typeface.DEFAULT : mTypeface; in setFontVariationSettings()
/frameworks/support/compat/tests/java/android/support/v4/provider/
DFontsContractCompatTest.java115 private Typeface mTypeface; field in FontsContractCompatTest.TestCallback
121 mTypeface = typeface; in onTypefaceRetrieved()
130 return mTypeface; in getTypeface()
/frameworks/base/core/java/android/widget/
DRadialTimePickerView.java139 private final Typeface mTypeface; field in RadialTimePickerView
338 mTypeface = Typeface.create("sans-serif", Typeface.NORMAL); in RadialTimePickerView()
744 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped()
750 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped()
776 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()