Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayoutCore.h58 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts()
62 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt()
85 std::vector<FakedFont> mFonts;
DFont.h51 struct FakedFont { struct
52 inline bool operator==(const FakedFont& o) const {
55 inline bool operator!=(const FakedFont& o) const { return !(*this == o); }
DFontCollection.h39 FakedFont fakedFont;
60 FakedFont baseFontFaked(FontStyle style);
DLayout.h37 LayoutGlyph(FakedFont font, uint32_t glyph_id, float x, float y) in LayoutGlyph()
39 FakedFont font;
DFontFamily.h41 FakedFont getClosestMatch(FontStyle style) const;
/frameworks/minikin/libs/minikin/
DFontFamily.cpp146 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch()
157 return FakedFont{bestFont, computeFakery(style, bestFont->style())}; in getClosestMatch()
DFontCollection.cpp481 FakedFont FontCollection::baseFontFaked(FontStyle style) { in baseFontFaked()
DLayoutCore.cpp387 const FakedFont& fakedFont = run.fakedFont; in LayoutPiece()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp740 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp594 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()