/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LocaleMatcher.java | 48 public static List<Locale> filter(List<LanguageRange> priorityList, in filter() argument 51 if (priorityList.isEmpty() || locales.isEmpty()) { in filter() 62 List<String> filteredTags = filterTags(priorityList, tags, mode); in filter() 73 public static List<String> filterTags(List<LanguageRange> priorityList, in filterTags() argument 76 if (priorityList.isEmpty() || tags.isEmpty()) { in filterTags() 82 return filterExtended(priorityList, tags); in filterTags() 85 for (LanguageRange lr : priorityList) { in filterTags() 90 return filterExtended(priorityList, tags); in filterTags() 112 private static List<String> filterBasic(List<LanguageRange> priorityList, in filterBasic() argument 115 for (LanguageRange lr : priorityList) { in filterBasic() [all …]
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 136 …va.util.Locale> filter(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Coll… in filter() argument 138 …va.util.Locale> filter(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Coll… in filter() argument 140 …ang.String> filterTags(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Coll… in filterTags() argument 142 …ang.String> filterTags(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Coll… in filterTags() argument 144 public static java.util.Locale lookup(java.util.List<java.util.Locale.LanguageRange> priorityList, … in lookup() argument 146 ….lang.String lookupTag(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Coll… in lookupTag() argument 279 …eRange> mapEquivalents(java.util.List<java.util.Locale.LanguageRange> priorityList, java.util.Map<… in mapEquivalents() argument
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 878 List<LanguageRange> priorityList = languageRangesOf("de-DE", "de-*-DE"); in test_filter_extended() local 901 assertFilter(filteredTags, priorityList, tags, EXTENDED_FILTERING); in test_filter_extended() 905 assertFilter(filteredTags, priorityList, tags); in test_filter_extended() 906 assertFilter(filteredTags, priorityList, tags, AUTOSELECT_FILTERING); in test_filter_extended() 909 assertFilter(tagsOf("de-DE", "de-DE-x-goethe"), priorityList, tags, IGNORE_EXTENDED_RANGES); in test_filter_extended() 1004 List<LanguageRange> priorityList = languageRangesOf("zh-Hant-TW", "en-US"); in test_filter_priorityOrder() local 1021 List<LanguageRange> priorityList = languageRangesOf("de-DE", "de-*-DE"); in test_filter_resultIsModifiable_locales() local 1026 Locale.filter(priorityList, locales).add(dummy); in test_filter_resultIsModifiable_locales() 1027 Locale.filter(priorityList, locales, AUTOSELECT_FILTERING).add(dummy); in test_filter_resultIsModifiable_locales() 1028 Locale.filter(priorityList, locales, EXTENDED_FILTERING).add(dummy); in test_filter_resultIsModifiable_locales() [all …]
|
D | LocaleLanguageRangeTest.java | 221 List<LanguageRange> priorityList = Collections.unmodifiableList(Arrays.asList( in testMapEquivalents_nullMap() local 225 assertEquals(priorityList, LanguageRange.mapEquivalents(priorityList, null)); in testMapEquivalents_nullMap()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 330 java.util.List<java.util.Locale.LanguageRange> priorityList, in filter() argument 337 java.util.List<java.util.Locale.LanguageRange> priorityList, in filter() argument 343 java.util.List<java.util.Locale.LanguageRange> priorityList, in filterTags() argument 350 java.util.List<java.util.Locale.LanguageRange> priorityList, in filterTags() argument 356 java.util.List<java.util.Locale.LanguageRange> priorityList, in lookup() argument 362 java.util.List<java.util.Locale.LanguageRange> priorityList, in lookupTag() argument 698 java.util.List<java.util.Locale.LanguageRange> priorityList, in mapEquivalents() argument
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 131 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in filter() argument 133 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in filter() argument 135 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in filterTags() argument 137 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in filterTags() argument 139 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in lookup() argument 141 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in lookupTag() argument 275 … java.util.List<java.util.Locale.@libcore.util.NonNull LanguageRange> priorityList, @libcore.util.… in mapEquivalents() argument
|