Home
last modified time | relevance | path

Searched refs:isLocaleTraditionalChinese (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLocaleSetTest.java69 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.CHINESE)); in testIsLocaleSimplifiedChinese()
78 assertTrue(LocaleSet.isLocaleTraditionalChinese(Locale.TRADITIONAL_CHINESE)); in testIsLocaleTraditionalChinese()
79 assertTrue(LocaleSet.isLocaleTraditionalChinese(Locale.forLanguageTag("zh-TW"))); in testIsLocaleTraditionalChinese()
81 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.SIMPLIFIED_CHINESE)); in testIsLocaleTraditionalChinese()
82 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.CHINESE)); in testIsLocaleTraditionalChinese()
83 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.JAPANESE)); in testIsLocaleTraditionalChinese()
84 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.JAPAN)); in testIsLocaleTraditionalChinese()
85 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.KOREA)); in testIsLocaleTraditionalChinese()
86 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.KOREAN)); in testIsLocaleTraditionalChinese()
87 assertFalse(LocaleSet.isLocaleTraditionalChinese(Locale.ENGLISH)); in testIsLocaleTraditionalChinese()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java95 static boolean isLocaleTraditionalChinese(@Nullable Locale locale) { in isLocaleTraditionalChinese() method in LocaleSet
152 if (isLocaleTraditionalChinese(l)) { // Traditional chinese wins here. in shouldPreferSimplifiedChinese()