Searched refs:MinikinFontSkia (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/libs/hwui/hwui/ |
D | MinikinSkia.cpp | 37 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 …]
|
D | MinikinSkia.h | 31 class ANDROID_API MinikinFontSkia : public minikin::MinikinFont { 33 MinikinFontSkia(sk_sp<SkTypeface> typeface, int sourceId, const void* fontData, size_t fontSize,
|
D | MinikinUtils.h | 81 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun() 91 MinikinFontSkia::populateSkFont(skfont, curFont, layout.getFakery(start)); in forFontRun()
|
D | Typeface.cpp | 147 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()
|
D | MinikinUtils.cpp | 47 minikinPaint.fontFlags = MinikinFontSkia::packFontFlags(font); in prepareMinikinPaint()
|
D | Canvas.cpp | 83 MinikinFontSkia::populateSkFont(skfont, minikinFont, minikin::FontFakery()); in drawGlyphs()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | Font.cpp | 128 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/ |
D | UnderlineTest.cpp | 74 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, fileName, 0, in buildFamily()
|
D | TypefaceTests.cpp | 64 std::make_shared<MinikinFontSkia>(std::move(typeface), 0, data, st.st_size, fileName, 0, in buildFamily()
|
/frameworks/base/libs/hwui/tests/common/ |
D | TestUtils.cpp | 187 …SkTypeface* skTypeface = reinterpret_cast<const MinikinFontSkia*>(minikinFont.get())->GetSkTypefac… in defaultFont()
|
/frameworks/base/native/android/ |
D | system_fonts.cpp | 324 const android::MinikinFontSkia* minikinFontSkia = in AFontMatcher_match() 325 reinterpret_cast<android::MinikinFontSkia*>(font->baseTypeface().get()); in AFontMatcher_match()
|
/frameworks/base/libs/hwui/jni/ |
D | FontFamily.cpp | 137 std::make_shared<MinikinFontSkia>(std::move(face), fonts::getNewSourceId(), fontPtr, in addSkTypeface()
|
D | Paint.cpp | 615 MinikinFontSkia::populateSkFont(font, baseFont.typeface().get(), baseFont.fakery); in getMetricsInternal()
|