Home
last modified time | relevance | path

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

/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java381 public static ULocale combine(ULocale bestSupported, ULocale bestDesired) {
386 if (!bestSupported.equals(bestDesired) && bestDesired != null) {
391 String region = bestDesired.getCountry();
398 String variants = bestDesired.getVariant();
405 for (char extensionKey : bestDesired.getExtensionKeys()) {
406 b.setExtension(extensionKey, bestDesired.getExtension(extensionKey));
/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java274 ULocale bestDesired = getDesiredULocale(); in makeResolvedULocale() local
275 if (supportedULocale == null || bestDesired == null || in makeResolvedULocale()
276 supportedULocale.equals(bestDesired)) { in makeResolvedULocale()
282 String region = bestDesired.getCountry(); in makeResolvedULocale()
290 String variants = bestDesired.getVariant(); in makeResolvedULocale()
299 for (char extensionKey : bestDesired.getExtensionKeys()) { in makeResolvedULocale()
300 b.setExtension(extensionKey, bestDesired.getExtension(extensionKey)); in makeResolvedULocale()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java290 ULocale bestDesired = getDesiredULocale(); in makeResolvedULocale() local
291 if (supportedULocale == null || bestDesired == null || in makeResolvedULocale()
292 supportedULocale.equals(bestDesired)) { in makeResolvedULocale()
298 String region = bestDesired.getCountry(); in makeResolvedULocale()
306 String variants = bestDesired.getVariant(); in makeResolvedULocale()
315 for (char extensionKey : bestDesired.getExtensionKeys()) { in makeResolvedULocale()
316 b.setExtension(extensionKey, bestDesired.getExtension(extensionKey)); in makeResolvedULocale()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DXLocaleMatcherTest.java272 Output<ULocale> bestDesired = new Output<ULocale>(); field in XLocaleMatcherTest.MyTestFileHandler
302 bestSupported = matcher.getBestMatch(desiredList, bestDesired); in handle()
303 ULocale bestUI = XLocaleMatcher.combine(bestSupported, bestDesired.value); in handle()
DXLocaleDistanceTest.java165 Output<ULocale> bestDesired = new Output<ULocale>(); field in XLocaleDistanceTest.MyTestFileHandler
/external/icu/icu4c/source/common/
Dlocalematcher.cpp94 const Locale *bestDesired = getDesiredLocale(); in makeResolvedLocale() local
95 if (bestDesired == nullptr || *supportedLocale == *bestDesired) { in makeResolvedLocale()
102 const char *region = bestDesired->getCountry(); in makeResolvedLocale()
110 const char *variants = bestDesired->getVariant(); in makeResolvedLocale()
121 b.copyExtensionsFrom(*bestDesired, errorCode); in makeResolvedLocale()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleDistanceTest.java137 Output<ULocale> bestDesired = new Output<>(); field in LocaleDistanceTest.MyTestFileHandler
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleDistanceTest.java140 Output<ULocale> bestDesired = new Output<>(); field in LocaleDistanceTest.MyTestFileHandler
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...