Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java41 assertEquals("aabbcc", invalid.getDisplayLanguage()); in test_getDisplayName_invalid()
49 assertEquals("", emptyLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
55 assertEquals("", emptyCountryAndLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes()
67 assertEquals("xx", unknown.getDisplayLanguage()); in test_getDisplayName_unknown()
74 assertEquals("English", Locale.ENGLISH.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
75 assertEquals("German", Locale.GERMAN.getDisplayLanguage(Locale.ENGLISH)); in test_getDisplayName_easy()
76 assertEquals("Englisch", Locale.ENGLISH.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
77 assertEquals("Deutsch", Locale.GERMAN.getDisplayLanguage(Locale.GERMAN)); in test_getDisplayName_easy()
121 assertEquals("Tagalog", tl.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil()
122 assertEquals("Tagalog", tl_PH.getDisplayLanguage(Locale.ENGLISH)); in test_tl_and_fil()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DLocaleTest.java193 + testLocale.getDisplayLanguage(), testLocale in test_getDisplayLanguage()
194 .getDisplayLanguage().equals("English")); in test_getDisplayLanguage()
198 assertEquals("Avestan", l_languageAE.getDisplayLanguage()); in test_getDisplayLanguage()
205 assertEquals("norsk", locale.getDisplayLanguage()); in test_getDisplayLanguage()
212 assertEquals("anglais", new Locale("en", "CA", "WIN32").getDisplayLanguage(l)); in test_getDisplayLanguageLjava_util_Locale()
/libcore/luni/src/test/java/libcore/icu/
DICUTest.java155 assertEquals("Српски", sr_Cyrl_BA.getDisplayLanguage(sr_Cyrl_BA)); in testScriptsPassedToIcu()
160 assertEquals("Српски", sr_Cyrl_ME.getDisplayLanguage(sr_Cyrl_ME)); in testScriptsPassedToIcu()
165 assertEquals("Srpski", sr_Latn_BA.getDisplayLanguage(sr_Latn_BA)); in testScriptsPassedToIcu()
170 assertEquals("Srpski", sr_Latn_ME.getDisplayLanguage(sr_Latn_ME)); in testScriptsPassedToIcu()
/libcore/luni/src/main/java/java/util/
DLocale.java1045 public final String getDisplayLanguage() { in getDisplayLanguage() method in Locale
1046 return getDisplayLanguage(getDefault()); in getDisplayLanguage()
1053 public String getDisplayLanguage(Locale locale) { in getDisplayLanguage() method in Locale
1073 String result = ICU.getDisplayLanguage(this, locale); in getDisplayLanguage()
1075 result = ICU.getDisplayLanguage(this, Locale.getDefault()); in getDisplayLanguage()
1107 String displayLanguage = getDisplayLanguage(locale); in getDisplayName()
/libcore/luni/src/main/java/libcore/icu/
DICU.java407 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()