/aosp14/frameworks/base/core/java/android/text/style/ |
H A D | TypefaceSpan.java | 59 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()
|
H A D | TextAppearanceSpan.java | 67 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() 475 if (mTypeface != null) { in updateMeasureState() 477 styledTypeface = Typeface.create(mTypeface, style); in updateMeasureState()
|
/aosp14/frameworks/base/libs/hwui/hwui/ |
H A D | PaintImpl.cpp | 45 , mTypeface(paint.mTypeface) in Paint() 65 mTypeface = other.mTypeface; in operator =() 82 a.mTypeface == b.mTypeface && a.mAlign == b.mAlign && in operator ==()
|
H A D | MinikinSkia.cpp | 39 : mTypeface(std::move(typeface)) in MinikinFontSkia() 66 ALOGD("width for typeface %d glyph %d = %f", mTypeface->uniqueID(), glyph_id, skWidth); in GetHorizontalAdvance() 106 return mTypeface.get(); in GetSkTypeface() 110 return mTypeface; in RefSkTypeface() 134 std::unique_ptr<SkStreamAsset> stream(mTypeface->openStream(&ttcIndex)); in createFontWithVariation()
|
H A D | Paint.h | 121 void setAndroidTypeface(Typeface* typeface) { mTypeface = typeface; } in setAndroidTypeface() 123 const Typeface* getAndroidTypeface() const { return mTypeface; } in getAndroidTypeface() 180 const Typeface* mTypeface = nullptr; variable
|
H A D | MinikinSkia.h | 75 sk_sp<SkTypeface> mTypeface;
|
/aosp14/frameworks/base/core/tests/coretests/src/android/provider/ |
H A D | FontsContractE2ETest.java | 87 private Typeface mTypeface; field in FontsContractE2ETest.TestCallback 93 mTypeface = typeface; in onTypefaceRetrieved() 102 return mTypeface; in getTypeface()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewPopulateCharacterBoundsTest.java | 53 private Typeface mTypeface; field in TextViewPopulateCharacterBoundsTest 73 mTypeface = Typeface.createFromAsset(mInstrumentation.getTargetContext().getAssets(), in setup() 79 textView.setTypeface(mTypeface); in createTextView()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 75 private Typeface mTypeface; field in Paint 645 mTypeface = null; in reset() 688 mTypeface = paint.mTypeface; in setClassVariablesFrom() 1460 return mTypeface; in getTypeface() 1475 mTypeface = typeface; in setTypeface() 1956 setTypeface(Typeface.createFromTypefaceWithVariation(mTypeface, in setFontVariationSettings() 1963 Typeface targetTypeface = mTypeface == null ? Typeface.DEFAULT : mTypeface; in setFontVariationSettings()
|
/aosp14/frameworks/base/core/java/android/widget/ |
H A D | RadialTimePickerView.java | 140 private final Typeface mTypeface; field in RadialTimePickerView 339 mTypeface = Typeface.create("sans-serif", Typeface.NORMAL); in RadialTimePickerView() 747 drawTextElements(canvas, mTextSize[HOURS], mTypeface, mTextColor[HOURS], mOuterTextHours, in drawHoursClipped() 753 drawTextElements(canvas, mTextSize[HOURS_INNER], mTypeface, mTextColor[HOURS_INNER], in drawHoursClipped() 779 drawTextElements(canvas, mTextSize[MINUTES], mTypeface, mTextColor[MINUTES], mMinutesText, in drawMinutesClipped()
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 56849 Landroid/text/style/TextAppearanceSpan;->mTypeface:Landroid/graphics/Typeface; 56861 Landroid/text/style/TypefaceSpan;->mTypeface:Landroid/graphics/Typeface; 68843 Landroid/widget/RadialTimePickerView;->mTypeface:Landroid/graphics/Typeface;
|