Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/spi/
DLocaleNameProvider.java97 public String getDisplayScript(String scriptCode, Locale locale) { in getDisplayScript() method in LocaleNameProvider
/libcore/luni/src/test/java/libcore/icu/
DICUTest.java158 assertEquals("ћирилица", sr_Cyrl_BA.getDisplayScript(sr_Cyrl_BA)); in testScriptsPassedToIcu()
163 assertEquals("ћирилица", sr_Cyrl_ME.getDisplayScript(sr_Cyrl_ME)); in testScriptsPassedToIcu()
168 assertEquals("latinica", sr_Latn_BA.getDisplayScript(sr_Latn_BA)); in testScriptsPassedToIcu()
173 assertEquals("latinica", sr_Latn_ME.getDisplayScript(sr_Latn_ME)); in testScriptsPassedToIcu()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1684 public String getDisplayScript() { in getDisplayScript() method in Locale
1685 return getDisplayScript(getDefault()); in getDisplayScript()
1695 public String getDisplayScript(Locale locale) { in getDisplayScript() method in Locale
1701 String result = ICU.getDisplayScript(this, locale); in getDisplayScript()
1703 result = ICU.getDisplayScript(this, Locale.getDefault()); in getDisplayScript()
1933 String displayScript = getDisplayScript(locale); in getDisplayName()
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java780 assertEquals("Latin", l.getDisplayScript()); in test_getDisplayScript()
782 assertEquals("Lateinisch", l.getDisplayScript(Locale.GERMAN)); in test_getDisplayScript()
784 assertEquals("Latin", l.getDisplayScript(new Locale("nv", "US"))); in test_getDisplayScript()
792 assertEquals("Fooo", l.getDisplayScript()); in test_getDisplayScript()
/libcore/luni/src/main/java/libcore/icu/
DICU.java432 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript() method in ICU
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp256 icuTargetLocale.locale().getDisplayScript(icuLocale.locale(), str); in ICU_getDisplayScriptNative()