Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DTypefaceSpan.java59 private final Typeface mTypeface; field in TypefaceSpan
87 mTypeface = LeakyTypefaceStorage.readTypefaceFromParcel(src); in TypefaceSpan()
92 mTypeface = typeface; in TypefaceSpan()
120 LeakyTypefaceStorage.writeTypefaceToParcel(mTypeface, dest); in writeToParcelInternal()
142 return mTypeface; in getTypeface()
156 if (mTypeface != null) { in updateTypeface()
157 paint.setTypeface(mTypeface); in updateTypeface()
DTextAppearanceSpan.java67 private final Typeface mTypeface; field in TextAppearanceSpan
118 mTypeface = a.getFont(com.android.internal.R.styleable.TextAppearance_fontFamily); in TextAppearanceSpan()
120 mTypeface = null; in TextAppearanceSpan()
122 if (mTypeface != null) { in TextAppearanceSpan()
216 mTypeface = null; in TextAppearanceSpan()
249 mTypeface = LeakyTypefaceStorage.readTypefaceFromParcel(src); in TextAppearanceSpan()
302 LeakyTypefaceStorage.writeTypefaceToParcel(mTypeface, dest); in writeToParcelInternal()
384 return mTypeface; in getTypeface()
467 if (mTypeface != null) { in updateMeasureState()
469 styledTypeface = Typeface.create(mTypeface, style); in updateMeasureState()
/frameworks/minikin/include/minikin/
DFont.h67 Builder(const std::shared_ptr<MinikinFont>& typeface) : mTypeface(typeface) {} in Builder()
94 std::shared_ptr<MinikinFont> mTypeface;
105 mTypeface = o.mTypeface;
112 inline const std::shared_ptr<MinikinFont>& typeface() const { return mTypeface; } in typeface()
121 : mTypeface(std::move(typeface)), mStyle(style), mBaseFont(std::move(baseFont)) {} in Font()
126 std::shared_ptr<MinikinFont> mTypeface; variable
/frameworks/base/libs/hwui/hwui/
DPaintImpl.cpp43 , mTypeface(paint.mTypeface) in Paint()
61 mTypeface = other.mTypeface; in operator =()
76 a.mTypeface == b.mTypeface && a.mAlign == b.mAlign && in operator ==()
DMinikinSkia.cpp37 , mTypeface(std::move(typeface)) in MinikinFontSkia()
63 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); in GetHorizontalAdvance()
103 return mTypeface.get(); in GetSkTypeface()
107 return mTypeface; in RefSkTypeface()
131 std::unique_ptr<SkStreamAsset> stream(mTypeface->openStream(&ttcIndex)); in createFontWithVariation()
DPaint.h113 void setAndroidTypeface(Typeface* typeface) { mTypeface = typeface; } in setAndroidTypeface()
115 const Typeface* getAndroidTypeface() const { return mTypeface; } in getAndroidTypeface()
160 const Typeface* mTypeface = nullptr; variable
DMinikinSkia.h70 sk_sp<SkTypeface> mTypeface;
/frameworks/minikin/libs/minikin/
DFontFamily.cpp43 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), prepareFont(mTypeface)); in build()
46 HbFontUniquePtr font = prepareFont(mTypeface); in build()
54 return Font(std::move(mTypeface), FontStyle(mWeight, mSlant), std::move(font)); in build()
/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/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java95 private Typeface_Delegate mTypeface; field in Paint_Delegate
130 Typeface_Delegate typeface = mTypeface; in getFonts()
907 if (delegate.mTypeface != typefaceDelegate) { in nSetTypeface()
908 delegate.mTypeface = typefaceDelegate; in nSetTypeface()
1144 for (Font font : delegate.mTypeface.getFonts(delegate.mFontVariant)) { in nHasGlyph()
1231 if (mTypeface != paint.mTypeface) { in set()
1232 mTypeface = paint.mTypeface; in set()
1272 if (mTypeface != defaultTypeface) { in reset()
1273 mTypeface = defaultTypeface; in reset()
/frameworks/base/graphics/java/android/graphics/
DPaint.java74 private Typeface mTypeface; field in Paint
599 mTypeface = null; in reset()
642 mTypeface = paint.mTypeface; in setClassVariablesFrom()
1406 return mTypeface; in getTypeface()
1421 mTypeface = typeface; in setTypeface()
1902 setTypeface(Typeface.createFromTypefaceWithVariation(mTypeface, in setFontVariationSettings()
1909 Typeface targetTypeface = mTypeface == null ? Typeface.DEFAULT : mTypeface; in setFontVariationSettings()
/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()
746 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped()
752 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped()
778 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt70872 Landroid/text/style/TextAppearanceSpan;->mTypeface:Landroid/graphics/Typeface;
70884 Landroid/text/style/TypefaceSpan;->mTypeface:Landroid/graphics/Typeface;
83272 Landroid/widget/RadialTimePickerView;->mTypeface:Landroid/graphics/Typeface;