Home
last modified time | relevance | path

Searched refs:getDisplayVariant (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java229 + testLocale.getDisplayVariant(), testLocale in test_getDisplayVariant()
230 .getDisplayVariant().equals("WIN32")); in test_getDisplayVariant()
240 + testLocale.getDisplayVariant(l), testLocale in test_getDisplayVariantLjava_util_Locale()
241 .getDisplayVariant(l).equals("WIN32")); in test_getDisplayVariantLjava_util_Locale()
/libcore/luni/src/test/java/libcore/icu/
DICUTest.java158 assertEquals("", sr_Cyrl_BA.getDisplayVariant(sr_Cyrl_BA)); in testScriptsPassedToIcu()
163 assertEquals("", sr_Cyrl_ME.getDisplayVariant(sr_Cyrl_ME)); in testScriptsPassedToIcu()
168 assertEquals("", sr_Latn_BA.getDisplayVariant(sr_Latn_BA)); in testScriptsPassedToIcu()
173 assertEquals("", sr_Latn_ME.getDisplayVariant(sr_Latn_ME)); in testScriptsPassedToIcu()
/libcore/luni/src/main/java/java/util/
DLocale.java1135 String displayVariant = getDisplayVariant(locale); in getDisplayName()
1152 public final String getDisplayVariant() { in getDisplayVariant() method in Locale
1153 return getDisplayVariant(getDefault()); in getDisplayVariant()
1163 public String getDisplayVariant(Locale locale) { in getDisplayVariant() method in Locale
1174 String result = ICU.getDisplayVariant(this, locale); in getDisplayVariant()
1176 result = ICU.getDisplayVariant(this, Locale.getDefault()); in getDisplayVariant()
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java43 assertEquals("GGHHII", invalid.getDisplayVariant()); in test_getDisplayName_invalid()
57 assertEquals("Farl", emptyCountryAndLanguage.getDisplayVariant()); in test_getDisplayName_emptyCodes()
69 assertEquals("Traditional", unknown.getDisplayVariant()); in test_getDisplayName_unknown()
/libcore/luni/src/main/java/libcore/icu/
DICU.java413 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant() method in ICU
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp277 icuTargetLocale.locale().getDisplayVariant(icuLocale.locale(), str); in ICU_getDisplayVariantNative()