Home
last modified time | relevance | path

Searched refs:fakedFont (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp79 EXPECT_EQ(result[i].fakedFont, resultWithRunMax[i].fakedFont); in itemize()
105 EXPECT_NE(nullptr, run.fakedFont.font); in getFontName()
107 ((FreeTypeMinikinFontForTest*)run.fakedFont.font->typeface().get())->fontPath()); in getFontName()
128 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
129 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
136 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
137 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
144 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
145 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
152 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
[all …]
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp387 const FakedFont& fakedFont = run.fakedFont; in LayoutPiece() local
388 auto it = fontMap.find(fakedFont.font); in LayoutPiece()
393 mFonts.push_back(fakedFont); in LayoutPiece()
394 fontMap.insert(std::make_pair(fakedFont.font, font_ix)); in LayoutPiece()
397 HbFontUniquePtr font(hb_font_create_sub_font(fakedFont.font->baseFont().get())); in LayoutPiece()
400 new SkiaArguments({fakedFont.font->typeface().get(), &paint, fakedFont.fakery}), in LayoutPiece()
417 fakedFont.font->typeface()->GetFontExtent(&verticalExtent, paint, fakedFont.fakery); in LayoutPiece()
528 fakedFont.font->typeface()->GetBounds(&glyphBounds, glyph_ix, paint, in LayoutPiece()
529 fakedFont.fakery); in LayoutPiece()
/frameworks/minikin/include/minikin/
DFontCollection.h39 FakedFont fakedFont; member
/frameworks/base/native/android/
Dsystem_fonts.cpp256 const minikin::Font* font = runs[0].fakedFont.font; in AFontMatcher_match()