Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DFontCollection.cpp63 if (family->getClosestMatch(defaultStyle).font == nullptr) { in init()
448 result.push_back({family->getClosestMatch(style), static_cast<int>(start), 0}); in itemize()
471 result.push_back({mFamilies[0]->getClosestMatch(style), 0, static_cast<int>(string_size)}); in itemize()
482 return mFamilies[0]->getClosestMatch(style); in baseFontFaked()
DFontFamily.cpp146 FakedFont FontFamily::getClosestMatch(FontStyle style) const { in getClosestMatch() function in minikin::FontFamily
161 const Font* font = getClosestMatch(FontStyle()).font; in computeCoverage()
/frameworks/minikin/include/minikin/
DFontFamily.h41 FakedFont getClosestMatch(FontStyle style) const;
/frameworks/base/libs/hwui/hwui/
DTypeface.cpp138 : families[0]->getClosestMatch(defaultStyle).font->typeface().get(); in createFromFamilies()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp740 FakedFont closest = family.getClosestMatch(testCase.wantedStyle); in TEST_F()