Searched refs:otherLocale (Results 1 – 6 of 6) sorted by relevance
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | PluralFormatUnitTest.java | 221 ULocale otherLocale = PluralRules.getFunctionalEquivalent(locale, null); in TestSamples() local 222 Set<ULocale> others = same.get(otherLocale); in TestSamples() 223 if (others == null) same.put(otherLocale, others = new LinkedHashSet()); in TestSamples()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | PluralFormatUnitTest.java | 218 ULocale otherLocale = PluralRules.getFunctionalEquivalent(locale, null); in TestSamples() local 219 Set<ULocale> others = same.get(otherLocale); in TestSamples() 220 if (others == null) same.put(otherLocale, others = new LinkedHashSet()); in TestSamples()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 742 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale) { in hasLocalizedLanguageFor() argument 743 String lang = otherLocale.getLanguage(); in hasLocalizedLanguageFor() 744 String localizedVersion = otherLocale.getDisplayLanguage(locale); in hasLocalizedLanguageFor() 748 private static boolean hasLocalizedCountryFor(ULocale locale, ULocale otherLocale) { in hasLocalizedCountryFor() argument 749 String country = otherLocale.getCountry(); in hasLocalizedCountryFor() 751 String localizedVersion = otherLocale.getDisplayCountry(locale); in hasLocalizedCountryFor()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | ICUResourceBundleTest.java | 745 private static boolean hasLocalizedLanguageFor(ULocale locale, ULocale otherLocale) { in hasLocalizedLanguageFor() argument 746 String lang = otherLocale.getLanguage(); in hasLocalizedLanguageFor() 747 String localizedVersion = otherLocale.getDisplayLanguage(locale); in hasLocalizedLanguageFor() 751 private static boolean hasLocalizedCountryFor(ULocale locale, ULocale otherLocale) { in hasLocalizedCountryFor() argument 752 String country = otherLocale.getCountry(); in hasLocalizedCountryFor() 754 String localizedVersion = otherLocale.getDisplayCountry(locale); in hasLocalizedCountryFor()
|
/external/cldr/tools/java/org/unicode/cldr/draft/ |
D | Misc.java | 193 final ULocale otherLocale = new ULocale("el"); in showDateSamples() local 195 DateTimePatternGenerator otherGenerator = DateTimePatternGenerator.getInstance(otherLocale); in showDateSamples() 208 … final String formattedOther = getFormatted(specials, sample, dp, otherLocale, otherGenerator); in showDateSamples()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateCldrTests.java | 101 String otherLocale) { in hasLocalizedLanguageFor() argument 102 String lang = new LanguageTagParser().set(otherLocale).getLanguage(); in hasLocalizedLanguageFor() 108 String otherLocale) { in hasLocalizedCountryFor() argument 109 String country = new LanguageTagParser().set(otherLocale).getRegion(); in hasLocalizedCountryFor()
|