Home
last modified time | relevance | path

Searched refs:getBestMatch (Results 1 – 25 of 29) sorted by relevance

12

/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLocaleMatcherTest.java77 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
79 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
112 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_TW")); in testChinese()
113 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant")); in testChinese()
114 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_TW")); in testChinese()
115 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_Hans_CN")); in testChinese()
116 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_CN")); in testChinese()
117 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh")); in testChinese()
118 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_HK")); in testChinese()
123 assertEquals("en_GB", matcher.getBestMatch("en_NZ").toString()); in testenGB()
[all …]
DLanguageInfoTest.java92 matcher.getBestMatch(ULocale.UK)); in testBasics()
94 matcher.getBestMatch(ULocale.US)); in testBasics()
96 matcher.getBestMatch(ULocale.FRANCE)); in testBasics()
98 matcher.getBestMatch(ULocale.JAPAN)); in testBasics()
111 matcher.getBestMatch("zh_Hant_HK")); in TestChinese()
114 matcher.getBestMatch("zh_Hant_TW")); in TestChinese()
116 matcher.getBestMatch("zh_Hant")); in TestChinese()
118 matcher.getBestMatch("zh_TW")); in TestChinese()
120 matcher.getBestMatch("zh_Hans_CN")); in TestChinese()
122 matcher.getBestMatch("zh_CN")); in TestChinese()
[all …]
DXLocaleMatcherTest.java157 assertEquals(stringLoc, matcher.getBestMatch(stringLoc).toString()); in check2()
200 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf()
201 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf()
202 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf()
239 matcher.getBestMatch(desired); in timeXLocaleMatcher()
250 matcher.getBestMatch(desired); in timeLocaleMatcher()
302 bestSupported = matcher.getBestMatch(desiredList, bestDesired); in handle()
306 bestSupported = matcher.getBestMatch(desiredList); in handle()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleMatcherTest.java88 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
90 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
124 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_TW")); in testChinese()
125 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant")); in testChinese()
126 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_TW")); in testChinese()
127 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_Hans_CN")); in testChinese()
128 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_CN")); in testChinese()
129 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh")); in testChinese()
130 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_HK")); in testChinese()
136 assertEquals("en_GB", matcher.getBestMatch("en_NZ").toString()); in testenGB()
[all …]
DXLocaleMatcherTest.java168 assertEquals(stringLoc, matcher.getBestMatch(stringLoc).toString()); in check2()
214 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf()
215 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf()
216 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf()
253 matcher.getBestMatch(desired); in timeXLocaleMatcher()
264 matcher.getBestMatch(desired); in timeLocaleMatcher()
319 bestSupported = matcher.getBestMatch(desiredList, bestDesired); in handle()
323 bestSupported = matcher.getBestMatch(desiredList); in handle()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleMatcherTest.java85 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
87 …+ " is closer to " + closer + " than to " + further, new ULocale(closer), matcher.getBestMatch(a)); in assertCloser()
121 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_TW")); in testChinese()
122 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant")); in testChinese()
123 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_TW")); in testChinese()
124 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_Hans_CN")); in testChinese()
125 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh_CN")); in testChinese()
126 assertEquals("zh_CN, zh_TW, iw;", chinaChinese, matcher.getBestMatch("zh")); in testChinese()
127 assertEquals("zh_CN, zh_TW, iw;", taiwanChinese, matcher.getBestMatch("zh_Hant_HK")); in testChinese()
133 assertEquals("en_GB", matcher.getBestMatch("en_NZ").toString()); in testenGB()
[all …]
DXLocaleMatcherTest.java165 assertEquals(stringLoc, matcher.getBestMatch(stringLoc).toString()); in check2()
211 assertEquals(expected, matcherShort.getBestMatch(desired)); in testPerf()
212 assertEquals(expected, matcherLong.getBestMatch(desired)); in testPerf()
213 assertEquals(expected, matcherVeryLong.getBestMatch(desired)); in testPerf()
250 matcher.getBestMatch(desired); in timeXLocaleMatcher()
261 matcher.getBestMatch(desired); in timeLocaleMatcher()
316 bestSupported = matcher.getBestMatch(desiredList, bestDesired); in handle()
320 bestSupported = matcher.getBestMatch(desiredList); in handle()
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java211 public ULocale getBestMatch(ULocale ulocale) {
212 return getBestMatch(ulocale, null);
216 public ULocale getBestMatch(String languageList) {
217 return getBestMatch(LocalePriorityList.add(languageList).build(), null);
221 public ULocale getBestMatch(ULocale... locales) {
222 return getBestMatch(new LinkedHashSet<>(Arrays.asList(locales)), null);
226 public ULocale getBestMatch(Set<ULocale> desiredLanguages) {
227 return getBestMatch(desiredLanguages, null);
231 public ULocale getBestMatch(LocalePriorityList desiredLanguages) {
232 return getBestMatch(desiredLanguages, null);
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DXLocaleMatcher.java229 public ULocale getBestMatch(ULocale ulocale) {
230 return getBestMatch(ulocale, null);
233 public ULocale getBestMatch(String languageList) {
234 return getBestMatch(LocalePriorityList.add(languageList).build(), null);
237 public ULocale getBestMatch(ULocale... locales) {
238 return getBestMatch(new LinkedHashSet<ULocale>(Arrays.asList(locales)), null);
241 public ULocale getBestMatch(Set<ULocale> desiredLanguages) {
242 return getBestMatch(desiredLanguages, null);
245 public ULocale getBestMatch(LocalePriorityList desiredLanguages) {
246 return getBestMatch(desiredLanguages, null);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DXLocaleMatcher.java234 public ULocale getBestMatch(ULocale ulocale) {
235 return getBestMatch(ulocale, null);
238 public ULocale getBestMatch(String languageList) {
239 return getBestMatch(LocalePriorityList.add(languageList).build(), null);
242 public ULocale getBestMatch(ULocale... locales) {
243 return getBestMatch(new LinkedHashSet<ULocale>(Arrays.asList(locales)), null);
246 public ULocale getBestMatch(Set<ULocale> desiredLanguages) {
247 return getBestMatch(desiredLanguages, null);
250 public ULocale getBestMatch(LocalePriorityList desiredLanguages) {
251 return getBestMatch(desiredLanguages, null);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java187 public ULocale getBestMatch(LocalePriorityList languageList) { in getBestMatch() method in LocaleMatcher
213 public ULocale getBestMatch(String languageList) { in getBestMatch() method in LocaleMatcher
214 return getBestMatch(LocalePriorityList.add(languageList).build()); in getBestMatch()
223 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() method in LocaleMatcher
232 public ULocale getBestMatch(ULocale... ulocales) { in getBestMatch() method in LocaleMatcher
233 return getBestMatch(LocalePriorityList.add(ulocales).build()); in getBestMatch()
904 …public ULocale getBestMatch(LinkedHashSet<ULocale> desiredLanguages, Output<ULocale> outputBestDes… in getBestMatch() method in LocaleMatcher
905 return getLocaleMatcher().getBestMatch(desiredLanguages, outputBestDesired); in getBestMatch()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java191 public ULocale getBestMatch(LocalePriorityList languageList) { in getBestMatch() method in LocaleMatcher
218 public ULocale getBestMatch(String languageList) { in getBestMatch() method in LocaleMatcher
219 return getBestMatch(LocalePriorityList.add(languageList).build()); in getBestMatch()
229 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() method in LocaleMatcher
238 public ULocale getBestMatch(ULocale... ulocales) { in getBestMatch() method in LocaleMatcher
239 return getBestMatch(LocalePriorityList.add(ulocales).build()); in getBestMatch()
910 …public ULocale getBestMatch(LinkedHashSet<ULocale> desiredLanguages, Output<ULocale> outputBestDes… in getBestMatch() method in LocaleMatcher
911 return getLocaleMatcher().getBestMatch(desiredLanguages, outputBestDesired); in getBestMatch()
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java177 public ULocale getBestMatch(LocalePriorityList languageList) { in getBestMatch() method in LocaleMatcher
204 public ULocale getBestMatch(String languageList) { in getBestMatch() method in LocaleMatcher
205 return getBestMatch(LocalePriorityList.add(languageList).build()); in getBestMatch()
215 public ULocale getBestMatch(ULocale ulocale) { in getBestMatch() method in LocaleMatcher
224 public ULocale getBestMatch(ULocale... ulocales) { in getBestMatch() method in LocaleMatcher
225 return getBestMatch(LocalePriorityList.add(ulocales).build()); in getBestMatch()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/data/
DlocaleMatcherTest.txt205 # change your call to getBestMatch to include a 2nd language preference.
216 # getBestMatch returns the default, as usual.
225 # counterintuitive results that getBestMatch("und", XLocaleMatcher("it,en")) would be "en", and
226 # getBestMatch("en", XLocaleMatcher("it,und")) would be "und".
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/data/
DlocaleMatcherTest.txt205 # change your call to getBestMatch to include a 2nd language preference.
216 # getBestMatch returns the default, as usual.
225 # counterintuitive results that getBestMatch("und", XLocaleMatcher("it,en")) would be "en", and
226 # getBestMatch("en", XLocaleMatcher("it,und")) would be "und".
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/data/
DlocaleMatcherTest.txt201 # change your call to getBestMatch to include a 2nd language preference.
212 # getBestMatch returns the default, as usual.
221 # counterintuitive results that getBestMatch("und", XLocaleMatcher("it,en")) would be "en", and
222 # getBestMatch("en", XLocaleMatcher("it,und")) would be "und".
/external/icu/icu4j/
Dcoverage-exclusion.txt361 com/ibm/icu/impl/locale/XLocaleMatcher#getBestMatch:(Ljava/util/Set;)Lcom/ibm/icu/util/ULocale;
362 com/ibm/icu/impl/locale/XLocaleMatcher#getBestMatch:([Lcom/ibm/icu/util/ULocale;)Lcom/ibm/icu/util/…
1064 com/ibm/icu/util/LocaleMatcher#getBestMatch:([Lcom/ibm/icu/util/ULocale;)Lcom/ibm/icu/util/ULocale;
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...
/external/icu/icu4j/tools/build/
Dicu4j60.api3.gz12;ICU4J 60.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j59.api3.gz12;ICU4J 59.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j61.api3.gz12;ICU4J 61.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j62.api3.gz
Dicu4j63.api3.gz
Dicu4j56.api3.gz12;ICU4J 56.1;; 2ST@3.6;PB;NS;NF;NS; ...
Dicu4j54.api3.gz

12