Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp33 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, 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.h29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont {
31 MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize,
DMinikinUtils.h75 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
85 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
DTypeface.cpp140 SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(mf)->GetSkTypeface(); in createFromFamilies()
185 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in setRobotoTypefaceForTest()
DMinikinUtils.cpp43 minikinPaint.fontFlags = MinikinFontSkia::packFontFlags(font); in prepareMinikinPaint()
/frameworks/base/native/android/
Dsystem_fonts.cpp258 const android::MinikinFontSkia* minikinFontSkia = in AFontMatcher_match()
259 reinterpret_cast<android::MinikinFontSkia*>(font->typeface().get()); in AFontMatcher_match()
/frameworks/base/core/jni/android/graphics/fonts/
DFont.cpp175 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, in Font_Builder_build()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp133 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, "", ttcIndex, in addSkTypeface()
DPaint.cpp597 MinikinFontSkia::populateSkFont(font, baseFont.font->typeface().get(), baseFont.fakery); in getMetricsInternal()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp58 std::make_shared<MinikinFontSkia>(std::move(typeface), data, st.st_size, fileName, 0, in buildFamily()