Searched refs:getAdjustedTypeface (Results 1 – 3 of 3) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | FontTest.cpp | 167 std::shared_ptr<Font> newFont = Font::Builder(font->getAdjustedTypeface(700, -1)).build(); in TEST() 190 std::shared_ptr<Font> newFont = Font::Builder(font->getAdjustedTypeface(-1, 0)).build(); in TEST() 213 std::shared_ptr<Font> newFont = Font::Builder(font->getAdjustedTypeface(500, 1)).build(); in TEST() 232 auto minikinFontBase = font->getAdjustedTypeface(-1, -1); in TEST() 237 auto minikinFontBase = font->getAdjustedTypeface(400, -1); in TEST() 246 std::shared_ptr<Font> newFont = Font::Builder(font->getAdjustedTypeface(700, -1)).build(); in TEST() 247 auto minikinFontBase = newFont->getAdjustedTypeface(500, -1); in TEST() 256 auto minikinFontBase = font->getAdjustedTypeface(-1, 1); in TEST() 265 std::shared_ptr<Font> newFont = Font::Builder(font->getAdjustedTypeface(-1, 1)).build(); in TEST() 266 auto minikinFontBase = newFont->getAdjustedTypeface(-1, 0); in TEST() [all …]
|
/frameworks/minikin/include/minikin/ |
D | Font.h | 170 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 190 const std::shared_ptr<MinikinFont>& getAdjustedTypeface(int wght, int ital) const; 249 return font->getAdjustedTypeface(fakery.wghtAdjustment(), fakery.italAdjustment()); in typeface()
|
/frameworks/minikin/libs/minikin/ |
D | Font.cpp | 306 const std::shared_ptr<MinikinFont>& Font::getAdjustedTypeface(int wght, int ital) const { in getAdjustedTypeface() function in minikin::Font 307 return getExternalRefs()->getAdjustedTypeface(wght, ital); in getAdjustedTypeface() 310 const std::shared_ptr<MinikinFont>& Font::ExternalRefs::getAdjustedTypeface(int wght, in getAdjustedTypeface() function in minikin::Font::ExternalRefs
|