Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFont.cpp38 return std::shared_ptr<Font>(new Font(std::move(mTypeface), FontStyle(mWeight, mSlant), in build()
39 prepareFont(mTypeface), mLocaleListId)); in build()
42 HbFontUniquePtr font = prepareFont(mTypeface); in build()
50 return std::shared_ptr<Font>(new Font(std::move(mTypeface), FontStyle(mWeight, mSlant), in build()
56 if (mTypeface) return mTypeface; in typeface()
58 return mTypeface; in typeface()
65 mBaseFont = prepareFont(mTypeface); in baseFont()
70 if (mTypeface) return; in initTypefaceLocked()
72 mTypeface = mTypefaceLoader(mTypefaceMetadataReader); in initTypefaceLocked()
/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/base/libs/hwui/hwui/
DPaintImpl.cpp44 , mTypeface(paint.mTypeface) in Paint()
63 mTypeface = other.mTypeface; in operator =()
79 a.mTypeface == b.mTypeface && a.mAlign == b.mAlign && in operator ==()
DMinikinSkia.cpp36 : 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.h119 void setAndroidTypeface(Typeface* typeface) { mTypeface = typeface; } in setAndroidTypeface()
121 const Typeface* getAndroidTypeface() const { return mTypeface; } in getAndroidTypeface()
170 const Typeface* mTypeface = nullptr; variable
DMinikinSkia.h75 sk_sp<SkTypeface> mTypeface;
/frameworks/minikin/include/minikin/
DFont.h73 Builder(const std::shared_ptr<MinikinFont>& typeface) : mTypeface(typeface) {} in Builder()
105 std::shared_ptr<MinikinFont> mTypeface;
150 : mTypeface(std::move(typeface)), in Font()
169 mutable std::shared_ptr<MinikinFont> mTypeface GUARDED_BY(mTypefaceMutex);
/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
637 mTypeface = null; in reset()
680 mTypeface = paint.mTypeface; in setClassVariablesFrom()
1452 return mTypeface; in getTypeface()
1467 mTypeface = typeface; in setTypeface()
1948 setTypeface(Typeface.createFromTypefaceWithVariation(mTypeface, in setFontVariationSettings()
1955 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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt60172 Landroid/text/style/TextAppearanceSpan;->mTypeface:Landroid/graphics/Typeface;
60184 Landroid/text/style/TypefaceSpan;->mTypeface:Landroid/graphics/Typeface;
72166 Landroid/widget/RadialTimePickerView;->mTypeface:Landroid/graphics/Typeface;