Searched refs:getDisplayVariant (Results 1 – 7 of 7) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 224 + testLocale.getDisplayVariant(), testLocale in test_getDisplayVariant() 225 .getDisplayVariant().equals("WIN32")); in test_getDisplayVariant() 235 + testLocale.getDisplayVariant(l), testLocale in test_getDisplayVariantLjava_util_Locale() 236 .getDisplayVariant(l).equals("WIN32")); in test_getDisplayVariantLjava_util_Locale()
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | ICUTest.java | 159 assertEquals("", sr_Cyrl_BA.getDisplayVariant(sr_Cyrl_BA)); in testScriptsPassedToIcu() 164 assertEquals("", sr_Cyrl_ME.getDisplayVariant(sr_Cyrl_ME)); in testScriptsPassedToIcu() 169 assertEquals("", sr_Latn_BA.getDisplayVariant(sr_Latn_BA)); in testScriptsPassedToIcu() 174 assertEquals("", sr_Latn_ME.getDisplayVariant(sr_Latn_ME)); in testScriptsPassedToIcu()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 2116 public final String getDisplayVariant() { in getDisplayVariant() method in Locale 2117 return getDisplayVariant(getDefault(Category.DISPLAY)); in getDisplayVariant() 2129 public String getDisplayVariant(Locale inLocale) { in getDisplayVariant() method in Locale 2158 String result = LocaleNative.getDisplayVariant(this, inLocale); in getDisplayVariant() 2160 result = LocaleNative.getDisplayVariant(this, Locale.getDefault()); in getDisplayVariant() 2395 String displayVariant = getDisplayVariant(locale); in getDisplayName()
|
/libcore/ojluni/annotations/mmodule/java/util/ |
D | Locale.annotated.java | 119 public java.lang.String getDisplayVariant() { throw new RuntimeException("Stub!"); } in getDisplayVariant() method in Locale 121 public java.lang.String getDisplayVariant(java.util.Locale inLocale) { throw new RuntimeException("… in getDisplayVariant() method in Locale
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 117 @libcore.util.NonNull public java.lang.String getDisplayVariant() { throw new RuntimeException("Stu… in getDisplayVariant() method in Locale 119 @libcore.util.NonNull public java.lang.String getDisplayVariant(@libcore.util.NonNull java.util.Loc… in getDisplayVariant() method in Locale
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 248 public java.lang.String getDisplayVariant() { in getDisplayVariant() method in Locale 252 public java.lang.String getDisplayVariant(java.util.Locale inLocale) { in getDisplayVariant() method in Locale
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 85 assertEquals("GGHHII", invalid.getDisplayVariant()); in test_getDisplayName_invalid() 99 assertEquals("Farl", emptyCountryAndLanguage.getDisplayVariant()); in test_getDisplayName_emptyCodes() 111 assertEquals("Traditional", unknown.getDisplayVariant()); in test_getDisplayName_unknown() 158 Locale.forLanguageTag("en-US-POSIX").getDisplayVariant(null); in testGetDisplayVariant_locale_null()
|