Home
last modified time | relevance | path

Searched refs:getDisplayLanguage (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java188 + testLocale.getDisplayLanguage(), testLocale in test_getDisplayLanguage()
189 .getDisplayLanguage().equals("English")); in test_getDisplayLanguage()
193 assertEquals("Avestan", l_languageAE.getDisplayLanguage()); in test_getDisplayLanguage()
200 assertEquals("norsk", locale.getDisplayLanguage()); in test_getDisplayLanguage()
207 assertEquals("anglais", new Locale("en", "CA", "WIN32").getDisplayLanguage(l)); in test_getDisplayLanguageLjava_util_Locale()
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java78 assertEquals("aabbcc", invalid.getDisplayLanguage()); in test_getDisplayName_invalid()
86 assertEquals("", emptyLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
92 assertEquals("", emptyCountryAndLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
104 assertEquals("xx", unknown.getDisplayLanguage()); in test_getDisplayName_unknown()
111 assertEquals("English", Locale.ENGLISH.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
112 assertEquals("German", Locale.GERMAN.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
113 assertEquals("Englisch", Locale.ENGLISH.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
114 assertEquals("Deutsch", Locale.GERMAN.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
141 Locale.forLanguageTag("en-US").getDisplayLanguage(null); in testGetDisplayLanguage_locale_null()
180 assertEquals("Tagalog", tl.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil()
[all …]
/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java156 assertEquals("српски", sr_Cyrl_BA.getDisplayLanguage(sr_Cyrl_BA)); in testScriptsPassedToIcu()
161 assertEquals("српски", sr_Cyrl_ME.getDisplayLanguage(sr_Cyrl_ME)); in testScriptsPassedToIcu()
166 assertEquals("srpski", sr_Latn_BA.getDisplayLanguage(sr_Latn_BA)); in testScriptsPassedToIcu()
171 assertEquals("srpski", sr_Latn_ME.getDisplayLanguage(sr_Latn_ME)); in testScriptsPassedToIcu()
/libcore/ojluni/annotations/mmodule/java/util/
DLocale.annotated.java107 public java.lang.String getDisplayLanguage() { throw new RuntimeException("Stub!"); } in getDisplayLanguage() method in Locale
109 public java.lang.String getDisplayLanguage(java.util.Locale locale) { throw new RuntimeException("S… in getDisplayLanguage() method in Locale
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java201 public java.lang.String getDisplayLanguage() { in getDisplayLanguage() method in Locale
205 public java.lang.String getDisplayLanguage(java.util.Locale locale) { in getDisplayLanguage() method in Locale
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java105 @libcore.util.NonNull public java.lang.String getDisplayLanguage() { throw new RuntimeException("St… in getDisplayLanguage() method in Locale
107 @libcore.util.NonNull public java.lang.String getDisplayLanguage(@libcore.util.NonNull java.util.Lo… in getDisplayLanguage() method in Locale
/libcore/luni/src/main/java/libcore/icu/
DICU.java433 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage() method in ICU
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp247 icuTargetLocale.locale().getDisplayLanguage(icuLocale.locale(), str); in ICU_getDisplayLanguageNative()