Home
last modified time | relevance | path

Searched refs:getById (Results 1 – 16 of 16) 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()
DHyphenatorMapTest.cpp137 const LocaleList& locales = LocaleListCache::getById(id); in getLocale()
DFontFamilyTest.cpp33 return LocaleListCache::getById(localeListId); in createLocaleList()
38 return LocaleListCache::getById(localeListId)[0]; in createLocale()
DFontCollectionItemizeTest.cpp121 return LocaleListCache::getById(LocaleListCache::getId(locale_string)); in registerAndGetLocaleList()
/frameworks/base/services/core/java/com/android/server/display/layout/
DLayout.java119 if (isDefault && getById(DEFAULT_DISPLAY) != null) { in createDisplayLocked()
154 Display display = getById(id); in removeDisplayLocked()
212 public Display getById(int id) { in getById() method in Layout
/frameworks/minikin/fuzz/locale_fuzzer/
Dlocale_fuzzer.cpp35 const LocaleList& locales = LocaleListCache::getById(localeListId); in LLVMFuzzerTestOneInput()
/frameworks/minikin/libs/minikin/
DLocaleListCache.h49 static inline const LocaleList& getById(uint32_t id) { in getById() function
DLineBreakerUtil.h70 const LocaleList& localeList = LocaleListCache::getById(localeListId); in getEffectiveLocale()
160 return LocaleListCache::getById(localeListId); in getCurrentLocaleList()
DFontCollection.cpp391 switch (LocaleListCache::getById(localeListId).getEmojiStyle()) { in calcCoverageScore()
430 const LocaleList& localeList = LocaleListCache::getById(userLocaleListId); in calcLocaleMatchingScore()
431 const LocaleList& fontLocaleList = LocaleListCache::getById(fontFamily.localeListId()); in calcLocaleMatchingScore()
627 const LocaleList& fontLocaleList = LocaleListCache::getById(fontLocaleId); in filterFamilyByLocale()
671 const LocaleList& requestedLocaleList = LocaleListCache::getById(localeId); in getReferenceExtentForLocale()
DLayoutCore.cpp385 const LocaleList& localeList = LocaleListCache::getById(paint.localeListId); in LayoutPiece()
DLocale.cpp38 const LocaleList& localeList = LocaleListCache::getById(localeId); in getLocaleString()
DFontFamily.cpp148 mIsColorEmoji(LocaleListCache::getById(localeListId).getEmojiStyle() == in FontFamily()
/frameworks/minikin/fuzz/hyphenator_fuzzer/
Dhyphenator_fuzzer.cpp120 const LocaleList& locales = LocaleListCache::getById(id); in LLVMFuzzerTestOneInput()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java397 Layout.Display display = layout.getById(displayId); in getDisplayInfoForStateLocked()
677 Layout.Display layoutDisplay = layout.getById(DEFAULT_DISPLAY); in handleDisplayDeviceRemovedLocked()
1246 if (layout.getById(DEFAULT_DISPLAY) != null) { in initializeDefaultDisplayDeviceLocked()
/frameworks/base/services/
Dart-wear-profile11268 HSPLcom/android/server/display/layout/Layout;->getById(I)Lcom/android/server/display/layout/Layout$…