Home
last modified time | relevance | path

Searched refs:getClosestMatch (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontFamily.cpp153 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch() function in minikin::FontFamily
170 const std::shared_ptr<Font>& font = getClosestMatch(FontStyle()).font; in computeCoverage()
DFontCollection.cpp81 if (family->getClosestMatch(defaultStyle).font == nullptr) { in init()
646 return mFamilies[bestIndex]->getClosestMatch(style); in getBestFont()
650 return mFamilies[0]->getClosestMatch(style); in baseFontFaked()
/frameworks/minikin/include/minikin/
DFontFamily.h63 FakedFont getClosestMatch(FontStyle style) const;
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp140 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp778 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()