Home
last modified time | relevance | path

Searched refs:localeId (Results 1 – 9 of 9) sorted by relevance

/frameworks/minikin/libs/minikin/
DWordBreaker.h44 Slot() : localeId(0), breaker(nullptr) {} in Slot()
45 Slot(uint64_t localeId, IcuUbrkUniquePtr&& breaker) in Slot()
46 : localeId(localeId), breaker(std::move(breaker)) {} in Slot()
55 uint64_t localeId; member
DLocale.cpp37 std::string getLocaleString(uint32_t localeId) { in getLocaleString() argument
38 const LocaleList& localeList = LocaleListCache::getById(localeId); in getLocaleString()
DWordBreaker.cpp49 if (i->localeId == id) { in acquire()
/frameworks/base/libs/hwui/jni/fonts/
DFontFamily.cpp62 uint32_t localeId; in FontFamily_Builder_build() local
64 localeId = minikin::registerLocaleList(""); in FontFamily_Builder_build()
67 localeId = minikin::registerLocaleList(str.c_str()); in FontFamily_Builder_build()
70 localeId, static_cast<minikin::FamilyVariant>(variant), std::move(builder->fonts), in FontFamily_Builder_build()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java65 private LocaleInfo(String localeId) { in LocaleInfo() argument
66 this(Locale.forLanguageTag(localeId)); in LocaleInfo()
273 for (String localeId : LocalePicker.getSupportedLocales(context)) { in fillCache()
274 if (localeId.isEmpty()) { in fillCache()
277 LocaleInfo li = new LocaleInfo(localeId); in fillCache()
305 for (String localeId : LocalePicker.getSystemAssetLocales()) { in fillCache()
306 LocaleInfo li = new LocaleInfo(localeId); in fillCache()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java69 private LocaleInfo(String localeId) { in LocaleInfo() argument
70 this(Locale.forLanguageTag(localeId)); in LocaleInfo()
304 for (String localeId : Resources.getSystem().getAssets().getLocales()) { in fillCache()
305 LocaleInfo li = new LocaleInfo(localeId); in fillCache()
/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp582 EXPECT_EQ(enUSBreaker.localeId, enUSBreaker2.localeId); in TEST()
583 EXPECT_NE(enUSBreaker.localeId, frFRBreaker.localeId); in TEST()
584 EXPECT_NE(enUSBreaker2.localeId, frFRBreaker.localeId); in TEST()
596 uint64_t enUSBreakerLocaleId = enUSBreaker.localeId; in TEST()
605 EXPECT_NE(enUSBreakerLocaleId, frFRBreaker.localeId); in TEST()
610 EXPECT_EQ(enUSBreakerLocaleId, enUSBreaker2.localeId); in TEST()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java184 for (String localeId : context.getAssets().getLocales()) { in isTranslated()
185 ULocale fullLocale = ULocale.addLikelySubtags(new ULocale(localeId)); in isTranslated()
/frameworks/base/native/android/
Dsystem_fonts.cpp256 uint32_t localeId = font->getLocaleListId(); in ASystemFontIterator_open() local
257 if (localeId != minikin::kEmptyLocaleListId) { in ASystemFontIterator_open()
258 locale.emplace(minikin::getLocaleString(localeId)); in ASystemFontIterator_open()