Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp27 MinikinFontSkia::MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize, in MinikinFontSkia() function in android::MinikinFontSkia
43 MinikinFontSkia::unpackPaintFlags(skPaint, paint.paintFlags); in MinikinFontSkia_SetSkiaPaint()
45 MinikinFontSkia::populateSkPaint(skPaint, font, fakery); in MinikinFontSkia_SetSkiaPaint()
48 float MinikinFontSkia::GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint, in GetHorizontalAdvance()
61 void MinikinFontSkia::GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id, in GetBounds()
75 void MinikinFontSkia::GetFontExtent(minikin::MinikinExtent* extent, in GetFontExtent()
87 SkTypeface* MinikinFontSkia::GetSkTypeface() const { in GetSkTypeface()
91 sk_sp<SkTypeface> MinikinFontSkia::RefSkTypeface() const { in RefSkTypeface()
95 const void* MinikinFontSkia::GetFontData() const { in GetFontData()
99 size_t MinikinFontSkia::GetFontSize() const { in GetFontSize()
[all …]
DMinikinSkia.h29 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont {
31 explicit MinikinFontSkia(sk_sp<SkTypeface> typeface, const void* fontData, size_t fontSize,
DMinikinUtils.h73 MinikinFontSkia::populateSkPaint(paint, curFont, layout.getFakery(start)); in forFontRun()
82 MinikinFontSkia::populateSkPaint(paint, curFont, layout.getFakery(start)); in forFontRun()
DTypeface.cpp138 SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(mf)->GetSkTypeface(); in createFromFamilies()
183 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in setRobotoTypefaceForTest()
DMinikinUtils.cpp42 minikinPaint.paintFlags = MinikinFontSkia::packPaintFlags(paint); in prepareMinikinPaint()
/frameworks/base/core/jni/android/graphics/
DFontFamily.cpp132 std::make_shared<MinikinFontSkia>(std::move(face), fontPtr, fontSize, ttcIndex, in addSkTypeface()
DPaint.cpp578 MinikinFontSkia::populateSkPaint(paint, baseFont.font->typeface().get(), baseFont.fakery); in getMetricsInternal()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp57 std::shared_ptr<minikin::MinikinFont> font = std::make_shared<MinikinFontSkia>( in buildFamily()