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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
H A DLocaleTest.java219 * java.util.Locale#getDisplayVariant()
222 // Test for method java.lang.String java.util.Locale.getDisplayVariant()
224 + testLocale.getDisplayVariant(), testLocale
225 .getDisplayVariant().equals("WIN32"));
229 * java.util.Locale#getDisplayVariant(java.util.Locale)
233 // java.util.Locale.getDisplayVariant(java.util.Locale)
235 + testLocale.getDisplayVariant(l), testLocale
236 .getDisplayVariant(l).equals("WIN32"));
/libcore/luni/src/test/java/libcore/libcore/icu/
H A DICUTest.java166 assertEquals("", sr_Cyrl_BA.getDisplayVariant(sr_Cyrl_BA));
171 assertEquals("", sr_Cyrl_ME.getDisplayVariant(sr_Cyrl_ME));
176 assertEquals("", sr_Latn_BA.getDisplayVariant(sr_Latn_BA));
181 assertEquals("", sr_Latn_ME.getDisplayVariant(sr_Latn_ME));
/libcore/ojluni/src/main/java/java/util/
H A DLocale.java1189 * @see #getDisplayVariant
1972 public final String getDisplayVariant() { method in class:Locale
1973 return getDisplayVariant(getDefault(Category.DISPLAY));
1986 public String getDisplayVariant(Locale inLocale) { method in class:Locale
1998 String result = ICU.getDisplayVariant(this, inLocale);
2000 result = ICU.getDisplayVariant(this, Locale.getDefault());
2054 * getDisplayScript(), getDisplayCountry(), and getDisplayVariant() assembled
2127 String displayVariant = getDisplayVariant(locale);
/libcore/luni/src/main/java/libcore/icu/
H A DICU.java426 public static String getDisplayVariant(Locale targetLocale, Locale locale) { method in class:ICU
/libcore/luni/src/test/java/libcore/java/util/
H A DLocaleTest.java80 assertEquals("GGHHII", invalid.getDisplayVariant());
94 assertEquals("Farl", emptyCountryAndLanguage.getDisplayVariant());
106 assertEquals("Traditional", unknown.getDisplayVariant());
/libcore/luni/src/main/native/
H A Dlibcore_icu_ICU.cpp276 icuTargetLocale.locale().getDisplayVariant(icuLocale.locale(), str);

Completed in 540 milliseconds