Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp33 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, in MinikinFontSkia() function in android::MinikinFontSkia
50 MinikinFontSkia::unpackFontFlags(skFont, paint.fontFlags); in MinikinFontSkia_SetSkiaFont()
52 MinikinFontSkia::populateSkFont(skFont, font, fakery); in MinikinFontSkia_SetSkiaFont()
55 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, in GetHorizontalAdvance()
68 void MinikinFontSkia::GetHorizontalAdvances(uint16_t* glyph_ids, uint32_t count, in GetHorizontalAdvances()
77 void MinikinFontSkia::GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id, in GetBounds()
91 void MinikinFontSkia::GetFontExtent(minikin::MinikinExtent* extent, in GetFontExtent()
102 SkTypeface* MinikinFontSkia::GetSkTypeface() const { in GetSkTypeface()
106 sk_sp<SkTypeface> MinikinFontSkia::RefSkTypeface() const { in RefSkTypeface()
110 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.h78 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
88 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
DTypeface.cpp142 SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(mf)->GetSkTypeface(); in createFromFamilies()
189 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, kRobotoFont, in setRobotoTypefaceForTest()
DMinikinUtils.cpp44 minikinPaint.fontFlags = MinikinFontSkia::packFontFlags(font); in prepareMinikinPaint()
DCanvas.cpp155 MinikinFontSkia::populateSkFont(skfont, minikinFont, minikin::FontFakery()); in drawGlyphs()
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp126 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->typeface().get()); in Font_Builder_clone()
140 std::shared_ptr<minikin::MinikinFont> newMinikinFont = std::make_shared<MinikinFontSkia>( in Font_Builder_clone()
158 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->typeface().get()); in Font_getGlyphBounds()
178 MinikinFontSkia* minikinSkia = static_cast<MinikinFontSkia*>(font->font->typeface().get()); in Font_getFontMetrics()
466 return std::make_shared<MinikinFontSkia>(std::move(face), getNewSourceId(), fontPtr, fontSize, in createMinikinFontSkia()
/frameworks/base/native/android/
Dsystem_fonts.cpp336 const android::MinikinFontSkia* minikinFontSkia = in AFontMatcher_match()
337 reinterpret_cast<android::MinikinFontSkia*>(font->typeface().get()); in AFontMatcher_match()
/frameworks/base/libs/hwui/jni/
DFontFamily.cpp135 std::make_shared<MinikinFontSkia>(std::move(face), fonts::getNewSourceId(), fontPtr, in addSkTypeface()
DPaint.cpp577 MinikinFontSkia::populateSkFont(font, baseFont.font->typeface().get(), baseFont.fakery); in getMetricsInternal()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp60 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, fileName, 0, in buildFamily()