Home
last modified time | relevance | path

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

/frameworks/minikin/include/minikin/
DMinikinFont.h28 class FontFakery; variable
42 const FontFakery& fakery) const = 0;
44 const MinikinPaint& paint, const FontFakery& fakery, in GetHorizontalAdvances()
52 const FontFakery& fakery) const = 0;
55 const FontFakery& fakery) const = 0;
DFont.h42 class FontFakery {
44 FontFakery() : FontFakery(false, false, -1, -1) {} in FontFakery() function
45 FontFakery(bool fakeBold, bool fakeItalic) : FontFakery(fakeBold, fakeItalic, -1, -1) {} in FontFakery() function
46 FontFakery(bool fakeBold, bool fakeItalic, int16_t wghtAdjustment, int8_t italAdjustment) in FontFakery() function
73 inline bool operator==(const FontFakery& o) const { return mBits == o.mBits; }
74 inline bool operator!=(const FontFakery& o) const { return !(*this == o); }
257 FontFakery fakery;
DLayout.h135 FontFakery getFakery(int i) const { return mGlyphs[i].font.fakery; } in getFakery()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.h38 const minikin::FontFakery& fakery) const override;
42 const minikin::FontFakery& fakery,
47 const minikin::FontFakery& fakery) const override;
50 const minikin::FontFakery& fakery) const override;
72 minikin::FontFakery fakery);
DMinikinSkia.cpp50 const minikin::FontFakery& fakery) { in MinikinFontSkia_SetSkiaFont()
60 const minikin::FontFakery& fakery) const { in GetHorizontalAdvance()
74 const minikin::FontFakery& fakery, in GetHorizontalAdvances()
83 const minikin::FontFakery& fakery) const { in GetBounds()
97 const minikin::FontFakery& fakery) const { in GetFontExtent()
172 minikin::FontFakery fakery) { in populateSkFont()
DCanvas.cpp83 MinikinFontSkia::populateSkFont(skfont, minikinFont, minikin::FontFakery()); in drawGlyphs()
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h46 const FontFakery& fakery) const override;
48 const FontFakery& fakery) const override;
50 const FontFakery& fakery) const override;
DFreeTypeMinikinFontForTest.cpp90 const FontFakery& /* fakery */) const { in GetHorizontalAdvance()
97 const FontFakery& /* fakery */) const { in GetBounds()
110 const FontFakery& /* fakery */) const { in GetFontExtent()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp295 static FontFakery computeFakery(FontStyle wanted, FontStyle actual) { in computeFakery()
302 return FontFakery(isFakeBold, isFakeItalic); in computeFakery()
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()
DLayoutCore.cpp57 FontFakery fakery;