Home
last modified time | relevance | path

Searched refs:getScript (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/libcore/icu/
DICUTest.java91 assertEquals("Latn", ICU.getScript(ICU.addLikelySubtags("en_US"))); in test_getScript_addLikelySubtags()
92 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he"))); in test_getScript_addLikelySubtags()
93 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("he_IL"))); in test_getScript_addLikelySubtags()
94 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw"))); in test_getScript_addLikelySubtags()
95 assertEquals("Hebr", ICU.getScript(ICU.addLikelySubtags("iw_IL"))); in test_getScript_addLikelySubtags()
99 assertEquals("Latn", ICU.addLikelySubtags(new Locale("en", "US")).getScript()); in test_addLikelySubtags()
100 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he")).getScript()); in test_addLikelySubtags()
101 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("he", "IL")).getScript()); in test_addLikelySubtags()
102 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw")).getScript()); in test_addLikelySubtags()
103 assertEquals("Hebr", ICU.addLikelySubtags(new Locale("iw", "IL")).getScript()); in test_addLikelySubtags()
[all …]
/libcore/luni/src/test/java/libcore/java/util/
DLocaleTest.java476 assertEquals("Latn", b.build().getScript()); in test_Builder_setScript()
496 assertEquals("", b.build().getScript()); in test_Builder_setScript()
501 assertEquals("", b.build().getScript()); in test_Builder_setScript()
515 assertEquals("", l.getScript()); in test_Builder_clear()
599 assertEquals("Latn", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags()
605 assertEquals("", l.getScript()); in test_setLanguageTag_twoWellFormedSubtags()
687 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags()
694 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags()
701 assertEquals("Latn", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags()
708 assertEquals("", l.getScript()); in test_setLanguageTag_threeWellFormedSubtags()
[all …]
/libcore/ojluni/src/main/java/sun/util/locale/
DBaseLocale.java219 public String getScript() { in getScript() method
342 String scrt = locale.getScript(); in hashCode()
380 && LocaleUtils.caseIgnoreMatch(other.getScript(), locale.getScript()) in equals()
398 return new Key(locale.getLanguage(), locale.getScript(), in normalize()
DLanguageTag.java421 String script = baseLocale.getScript(); in parseLocale()
555 public String getScript() { in getScript() method in LanguageTag
DInternalLocaleBuilder.java358 script = langtag.getScript(); in setLanguageTag()
378 String script = base.getScript(); in setLocale()
/libcore/ojluni/src/main/java/java/util/
DLocale.java1153 System.getProperty(category.scriptKey, defaultLocale.getScript()), in initDefault()
1388 public String getScript() { in getScript() method in Locale
1389 return baseLocale.getScript(); in getScript()
1591 boolean s = !baseLocale.getScript().isEmpty(); in toString()
1608 .append(baseLocale.getScript()); in toString()
1702 subtag = tag.getScript(); in toLanguageTag()
1882 exts = getCompatibilityExtensions(base.getLanguage(), base.getScript(), in forLanguageTag()
2126 String scriptCode = baseLocale.getScript(); in getDisplayScript()
2557 String scriptCode = baseLocale.getScript(); in getDisplayName()
2814 fields.put("script", baseLocale.getScript()); in writeObject()
[all …]
DResourceBundle.java2935 String script = base.getScript(); in createObject()
2959 bokmalList.add(Locale.getInstance("no", l.getScript(), l.getCountry(), in createObject()
3486 String script = locale.getScript(); in toBundleName()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp124 NATIVE_METHOD(ICU, getScript, "(Ljava/lang/String;)Ljava/lang/String;"),
/libcore/luni/src/main/java/libcore/icu/
DICU.java710 public static native String getScript(String locale); in getScript() method in ICU
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java77 @libcore.util.NonNull public java.lang.String getScript() { throw new RuntimeException("Stub!"); } in getScript() method in Locale
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java133 public java.lang.String getScript() { in getScript() method in Locale
/libcore/api/
Dcurrent.txt14265 method @NonNull public String getScript();