Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp37 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, in MinikinFontSkia() function in android::MinikinFontSkia
54 MinikinFontSkia::unpackFontFlags(skFont, paint.fontFlags); in MinikinFontSkia_SetSkiaFont()
56 MinikinFontSkia::populateSkFont(skFont, font, fakery); in MinikinFontSkia_SetSkiaFont()
59 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, in GetHorizontalAdvance()
72 void MinikinFontSkia::GetHorizontalAdvances(uint16_t* glyph_ids, uint32_t count, in GetHorizontalAdvances()
81 void MinikinFontSkia::GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id, in GetBounds()
95 void MinikinFontSkia::GetFontExtent(minikin::MinikinExtent* extent, in GetFontExtent()
106 SkTypeface* MinikinFontSkia::GetSkTypeface() const { in GetSkTypeface()
110 sk_sp<SkTypeface> MinikinFontSkia::RefSkTypeface() const { in RefSkTypeface()
114 const void* MinikinFontSkia::GetFontData() const { in GetFontData()
[all …]
DMinikinSkia.h31 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont {
33 MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, size_t fontSize,
DMinikinUtils.h81 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
91 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
DTypeface.cpp147 SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(mf)->GetSkTypeface(); in createFromFamilies()
196 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, kRobotoFont, in setRobotoTypefaceForTest()
DMinikinUtils.cpp47 minikinPaint.fontFlags = MinikinFontSkia::packFontFlags(font); in prepareMinikinPaint()
DCanvas.cpp83 MinikinFontSkia::populateSkFont(skfont, minikinFont, minikin::FontFakery()); in drawGlyphs()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp128 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_Builder_clone()
142 std::shared_ptr<minikin::MinikinFont> newMinikinFont = std::make_shared<MinikinFontSkia>( in Font_Builder_clone()
160 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_getGlyphBounds()
180 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->baseTypeface().get()); in Font_getFontMetrics()
468 return std::make_shared<MinikinFontSkia>(std::move(face), getNewSourceId(), fontPtr, fontSize, in createMinikinFontSkia()
/frameworks/base/libs/hwui/tests/unit/
DUnderlineTest.cpp74 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, fileName, 0, in buildFamily()
DTypefaceTests.cpp64 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, fileName, 0, in buildFamily()
/frameworks/base/libs/hwui/tests/common/
DTestUtils.cpp187 …SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(minikinFont.get())->GetSkTypefac… in defaultFont()
/frameworks/base/native/android/
Dsystem_fonts.cpp324 const android::MinikinFontSkia* minikinFontSkia = in AFontMatcher_match()
325 reinterpret_cast<android::MinikinFontSkia*>(font->baseTypeface().get()); in AFontMatcher_match()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp137 std::make_shared<MinikinFontSkia>(std::move(face), fonts::getNewSourceId(), fontPtr, in addSkTypeface()
DPaint.cpp615 MinikinFontSkia::populateSkFont(font, baseFont.typeface().get(), baseFont.fakery); in getMetricsInternal()