Searched refs:getScript (Results 1 – 9 of 9) sorted by relevance
/libcore/luni/src/test/java/libcore/icu/ |
D | ICUTest.java | 71 assertEquals("Latn", ICU.getScript(ICU.addLikelySubtags("en_US"))); in test_getScript_addLikelySubtags() 72 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he"))); in test_getScript_addLikelySubtags() 73 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he_IL"))); in test_getScript_addLikelySubtags() 74 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw"))); in test_getScript_addLikelySubtags() 75 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw_IL"))); in test_getScript_addLikelySubtags() 79 assertEquals("Latn", ICU.addLikelySubtags(new Locale("en", "US")).getScript()); in test_addLikelySubtags() 80 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he")).getScript()); in test_addLikelySubtags() 81 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he", "IL")).getScript()); in test_addLikelySubtags() 82 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw")).getScript()); in test_addLikelySubtags() 83 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw", "IL")).getScript()); in test_addLikelySubtags() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 429 assertEquals("Latn", b.build().getScript()); in test_Builder_setScript() 449 assertEquals("", b.build().getScript()); in test_Builder_setScript() 454 assertEquals("", b.build().getScript()); in test_Builder_setScript() 468 assertEquals("", l.getScript()); in test_Builder_clear() 552 assertEquals("Latn", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 558 assertEquals("", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags() 640 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 647 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 654 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() 661 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags() [all …]
|
/libcore/ojluni/src/main/java/java/util/ |
D | Locale.java | 902 System.getProperty(category.scriptKey, defaultLocale.getScript()), in initDefault() 1073 public String getScript() { in getScript() method in Locale 1074 return baseLocale.getScript(); in getScript() 1252 boolean s = (baseLocale.getScript().length() != 0); in toString() 1269 .append(baseLocale.getScript()); in toString() 1359 subtag = tag.getScript(); in toLanguageTag() 1524 exts = getCompatibilityExtensions(base.getLanguage(), base.getScript(), in forLanguageTag() 1696 String scriptCode = baseLocale.getScript(); in getDisplayScript() 1928 String scriptCode = baseLocale.getScript(); in getDisplayName() 2136 fields.put("script", baseLocale.getScript()); in writeObject() [all …]
|
D | ResourceBundle.java | 2314 String script = base.getScript(); in createObject() 2338 bokmalList.add(Locale.getInstance("no", l.getScript(), l.getCountry(), in createObject() 2815 String script = locale.getScript(); in toBundleName()
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | LanguageTag.java | 420 String script = baseLocale.getScript(); in parseLocale() 557 public String getScript() { in getScript() method in LanguageTag
|
D | InternalLocaleBuilder.java | 358 script = langtag.getScript(); in setLanguageTag() 378 String script = base.getScript(); in setLocale()
|
D | BaseLocale.java | 94 public String getScript() { in getScript() method in BaseLocale
|
/libcore/luni/src/main/java/libcore/icu/ |
D | ICU.java | 457 public static native String getScript(String locale); in getScript() method in ICU
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 110 return env->NewStringUTF(icuLocale.locale().getScript()); in ICU_getScript() 815 NATIVE_METHOD(ICU, getScript, "(Ljava/lang/String;)Ljava/lang/String;"),
|