Home
last modified time | relevance | path

Searched refs:getCountry (Results 1 – 25 of 50) sorted by relevance

12

/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/
DICULocaleServiceProvider.java85 String country = result.getCountry(); in toULocaleNoSpecialVariant()
120 …splocs.put(new Locale(spLoc.getLanguage(), spLoc.getCountry(), var + "_" + getIcuSuffix()), spLoc); in getSpecialLocalesMap()
142 if (uloc.getScript().length() > 0 && uloc.getCountry().length() > 0) { in getLocales()
171 String country = loc.getCountry(); in addLocale()
187 Locale locNN = new Locale(uloc.getLanguage(), uloc.getCountry(), uloc.getVariant()); in addULocale()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLanguage.java120 if ( "".equals(locale.getCountry())) { in getLanguageTag()
123 return locale.getLanguage() + '-' + locale.getCountry(); in getLanguageTag()
DAcceptLanguage.java190 if ( "".equals(language.getCountry())) { in setAcceptLanguage()
193 this.languageRange = language.getLanguage() + '-' + language.getCountry(); in setAcceptLanguage()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCalendarUtil.java62 String region = canonical.getCountry(); in getCalendarType()
65 region = fullLoc.getCountry(); in getCalendarType()
DLocaleUtility.java119 { loc.getLanguage(), loc.getCountry(), loc.getVariant() }; in fallback()
DTZDBTimeZoneNames.java385 String region = _locale.getCountry(); in getTargetRegion()
388 region = tmp.getCountry(); in getTargetRegion()
DLocaleDisplayNamesImpl.java289 String country = locale.getCountry(); in localeDisplayNameInternal()
523 regions.add(maxBase.getCountry()); in getUiListCompareWholeItems()
526 regions.add(locale.getCountry()); in getUiListCompareWholeItems()
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/
DLocaleNameTest.java51 String country = forLocale.getCountry(); in TestLanguageNames()
166 if (forLocale.getCountry().length() == 0) { in TestCountryNames()
172 if (icuname.equals(forULocale.getCountry()) || icuname.length() == 0) { in TestCountryNames()
237 …ale forLocaleSingleVar = new Locale(forLocale.getLanguage(), forLocale.getCountry(), locSingleVar); in TestVariantNames()
DTestUtil.java33 return new Locale(locale.getLanguage(), locale.getCountry(), variant); in toICUExtendedLocale()
DCurrencyNameTest.java42 if (l.getCountry().length() == 0) {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DOverlayBundle.java158 if (locale.getCountry().length() != 0 && i != bundles.length-1) { in load()
168 Locale wildcard = new Locale("xx", locale.getCountry(), in load()
DLocaleMatcher.java156 String region = ulocale.getCountry(); in canonicalize()
303 final String region = languageCode.getCountry(); in addLikelySubtags()
353 if (region != null && !region.equals(ulocale.getCountry())) { in matches()
608 …iff += regionScores.getScore(a, aMax, a.getCountry(), aMax.getCountry(), b, bMax, b.getCountry(), … in match()
DULocale.java829 cmp = getCountry().compareTo(other.getCountry()); in compareTo()
963 public String getCountry() { in getCountry() method in ULocale
975 public static String getCountry(String localeID) { in getCountry() method in ULocale
976 return new LocaleIDParser(localeID).getCountry(); in getCountry()
1245 parser.setBaseName(lscvToID("nn", parser.getScript(), parser.getCountry(), null)); in canonicalize()
1355 return LocaleIDs.getISO3Country(getCountry(localeID)); in getISO3Country()
1667 .regionDisplayName(locale.getCountry()); in getDisplayCountryInternal()
2057 && availableLocales[j].getCountry().equals(aLocale.getCountry()) in acceptLanguage()
2781 String alternateRegion = parser.getCountry(); in createTagString()
2865 String region = parser.getCountry(); in parseTagString()
[all …]
DCurrency.java187 CurrencyFilter filter = CurrencyFilter.onDate(d).withRegion(loc.getCountry()); in getAvailableCurrencyCodes()
247 String country = loc.getCountry(); in createCurrency()
411 String prefRegion = locale.getCountry(); in getKeywordValuesForLocale()
417 prefRegion = loc.getCountry(); in getKeywordValuesForLocale()
DLocaleData.java294 String region = fullLoc.getCountry(); in measurementTypeBundleForLocale()
/external/icu/icu4c/source/common/unicode/
Dlocid.h404 inline const char * getCountry( ) const;
778 Locale::getCountry() const in getCountry() function
/external/icu/icu4j/main/tests/packaging/src/com/ibm/icu/dev/test/
DTestLocaleNamePackaging.java87 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
100 String result = dn.regionDisplayName(targetLocale.getCountry()); in testRegionDisplayNames()
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
DXResourceBundle.java103 String country = locale.getCountry(); in getResourceSuffix()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DNodeSortKey.java101 Locale.getDefault().getCountry()); in NodeSortKey()
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
DPhoneNumberToCarrierMapper.java76 String regionStr = languageCode.getCountry(); in getNameForValidNumber()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DMessages.java359 String country = locale.getCountry(); in getResourceSuffix()
/external/svox/pico/compat/src/com/android/tts/compat/
DCompatTtsService.java120 String country = request.getCountry(); in onSynthesizeText()
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
DPhoneNumberOfflineGeocoder.java113 String regionStr = languageCode.getCountry(); in getDescriptionForValidNumber()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java830 String country = uloc.getCountry(); in processLocales()
843 String c = u.getCountry(); in processLocales()
1010 result = locale.getCountry(); in guessTerritory()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestBagFormatter.java154 String country = locales[i].getCountry(); in testLocales()

12