Home
last modified time | relevance | path

Searched refs:localeNames (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java159 final String[] localeNames = new String[listCount]; in getDisplayLocaleList() local
161 localeNames[i] = LocaleHelper.getDisplayName(locales.get(i), dispLocale, false); in getDisplayLocaleList()
169 localeNames[maxLocales] = TextUtils.getEllipsisString(TextUtils.TruncateAt.END); in getDisplayLocaleList()
173 return lfn.format((Object[]) localeNames); in getDisplayLocaleList()
/frameworks/base/core/java/android/app/
DLocaleConfig.java212 Set<String> localeNames = new HashSet<>(); in parseLocaleConfig() local
219 localeNames.add(nameAttr); in parseLocaleConfig()
226 mLocales = LocaleList.forLanguageTags(String.join(",", localeNames)); in parseLocaleConfig()
228 if (localeNames.contains(defaultLocale)) { in parseLocaleConfig()