Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DFontLanguageListCacheTest.cpp45 TEST(LocaleListCacheTest, getById) { in TEST() argument
48 Locale english = LocaleListCache::getById(enLangId)[0]; in TEST()
49 Locale japanese = LocaleListCache::getById(jpLangId)[0]; in TEST()
51 const LocaleList& defLangs = LocaleListCache::getById(0); in TEST()
54 const LocaleList& locales = LocaleListCache::getById(LocaleListCache::getId("en")); in TEST()
58 const LocaleList& locales2 = LocaleListCache::getById(LocaleListCache::getId("en,jp")); in TEST()
DLocaleListTest.cpp29 return LocaleListCache::getById(LocaleListCache::getId(localeStr)); in getLocaleList()
DFontFamilyTest.cpp32 return LocaleListCache::getById(localeListId); in createLocaleList()
37 return LocaleListCache::getById(localeListId)[0]; in createLocale()
DHyphenatorMapTest.cpp137 const LocaleList& locales = LocaleListCache::getById(id); in getLocale()
DFontCollectionItemizeTest.cpp112 return LocaleListCache::getById(LocaleListCache::getId(locale_string)); in registerAndGetLocaleList()
/frameworks/minikin/libs/minikin/
DLocaleListCache.h46 static inline const LocaleList& getById(uint32_t id) { in getById() function
DFontCollection.cpp178 switch (LocaleListCache::getById(localeListId).getEmojiStyle()) { in calcCoverageScore()
217 const LocaleList& localeList = LocaleListCache::getById(userLocaleListId); in calcLocaleMatchingScore()
218 const LocaleList& fontLocaleList = LocaleListCache::getById(fontFamily.localeListId()); in calcLocaleMatchingScore()
DLineBreakerUtil.h59 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale()
DFontFamily.cpp119 mIsColorEmoji(LocaleListCache::getById(localeListId).getEmojiStyle() == in FontFamily()
DLayoutCore.cpp462 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in LayoutPiece()