Searched refs:FakedFont (Results 1 – 11 of 11) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | LayoutCore.h | 52 const std::vector<FakedFont>& fonts() const { return mFonts; } in fonts() 57 const FakedFont& fontAt(int glyphPos) const { return mFonts[mFontIndices[glyphPos]]; } in fontAt() 84 std::vector<FakedFont> mFonts;
|
D | Font.h | 238 struct FakedFont { struct 239 inline bool operator==(const FakedFont& o) const { 242 inline bool operator!=(const FakedFont& o) const { return !(*this == o); }
|
D | FontFamily.h | 61 FakedFont getClosestMatch(FontStyle style) const; 62 FakedFont getVariationFamilyAdjustment(FontStyle style) const;
|
D | Layout.h | 39 LayoutGlyph(FakedFont font, uint32_t glyph_id, uint32_t cluster, float x, float y) in LayoutGlyph() 41 FakedFont font;
|
D | FontCollection.h | 158 FakedFont getBestFont(U16StringPiece textBuf, const Run& run, FontStyle style); 178 FakedFont baseFontFaked(FontStyle style);
|
/frameworks/minikin/libs/minikin/ |
D | FontFamily.cpp | 305 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch() 321 return FakedFont{mFonts[bestIndex], computeFakery(style, bestFont->style())}; in getClosestMatch() 324 FakedFont FontFamily::getVariationFamilyAdjustment(FontStyle style) const { in getVariationFamilyAdjustment() 328 return FakedFont{mFonts[0], FontFakery(false, italic, style.weight(), -1)}; in getVariationFamilyAdjustment() 330 return FakedFont{mFonts[0], FontFakery(false, false, style.weight(), italic ? 1 : 0)}; in getVariationFamilyAdjustment() 332 return FakedFont{mFonts[italic ? 1 : 0], FontFakery(false, false, style.weight(), -1)}; in getVariationFamilyAdjustment() 334 return FakedFont{mFonts[0], FontFakery()}; in getVariationFamilyAdjustment()
|
D | FontCollection.cpp | 657 FakedFont font = getFamilyAt(i)->getClosestMatch(paint.fontStyle); in getReferenceExtentForLocale() 684 FakedFont font = family.getClosestMatch(paint.fontStyle); in getReferenceExtentForLocale() 695 FakedFont font = family.getClosestMatch(paint.fontStyle); in getReferenceExtentForLocale() 704 FakedFont font = getFamilyAt(0)->getClosestMatch(paint.fontStyle); in getReferenceExtentForLocale() 864 FakedFont FontCollection::getBestFont(U16StringPiece text, const Run& run, FontStyle style) { in getBestFont() 886 FakedFont FontCollection::baseFontFaked(FontStyle style) { in baseFontFaked()
|
D | LayoutCore.cpp | 319 FakedFont fakedFont = paint.font->getBestFont(substr, run, paint.fontStyle); in LayoutPiece() 501 const FakedFont& fakedFont = layout.fontAt(i); in calculateBounds()
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 865 FakedFont closest = family->getClosestMatch(testCase.wantedStyle); in TEST_F()
|
D | FontCollectionItemizeTest.cpp | 60 FakedFont fakedFont;
|
/frameworks/base/libs/hwui/jni/ |
D | Paint.cpp | 612 minikin::FakedFont baseFont = typeface->fFontCollection->baseFontFaked(typeface->fStyle); in getMetricsInternal()
|