Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DLayoutCore.h57 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts()
61 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt()
83 std::vector<FakedFont> mFonts;
DFont.h54 struct FakedFont { struct
55 inline bool operator==(const FakedFont& o) const {
58 inline bool operator!=(const FakedFont& o) const { return !(*this == o); }
DLayout.h37 LayoutGlyph(FakedFont font, uint32_t glyph_id, float x, float y) in LayoutGlyph()
39 FakedFont font;
DFontCollection.h169 FakedFont getBestFont(U16StringPiece textBuf, const Run& run, FontStyle style);
187 FakedFont baseFontFaked(FontStyle style);
DFontFamily.h63 FakedFont getClosestMatch(FontStyle style) const;
/frameworks/minikin/libs/minikin/
DBoundsCache.cpp32 const FakedFont& font = layoutPiece.fontAt(i); in getBounds()
DFontFamily.cpp153 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch()
166 return FakedFont{mFonts[bestIndex], computeFakery(style, bestFont->style())}; in getClosestMatch()
DFontCollection.cpp628 FakedFont FontCollection::getBestFont(U16StringPiece text, const Run& run, FontStyle style) { in getBestFont()
649 FakedFont FontCollection::baseFontFaked(FontStyle style) { in baseFontFaked()
DMeasuredText.cpp220 const FakedFont& font = layoutPiece.fontAt(i); in operator ()()
DLayoutCore.cpp388 FakedFont fakedFont = paint.font->getBestFont(substr, run, paint.fontStyle); in LayoutPiece()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp778 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()
DFontCollectionItemizeTest.cpp60 FakedFont fakedFont;
/frameworks/base/libs/hwui/jni/
DPaint.cpp574 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()