Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLocaleSetTest.java65 assertTrue(LocaleSet.isLocaleSimplifiedChinese(Locale.SIMPLIFIED_CHINESE)); in testIsLocaleSimplifiedChinese()
66 assertTrue(LocaleSet.isLocaleSimplifiedChinese(Locale.forLanguageTag("zh-SG"))); in testIsLocaleSimplifiedChinese()
68 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.TRADITIONAL_CHINESE)); in testIsLocaleSimplifiedChinese()
70 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.JAPANESE)); in testIsLocaleSimplifiedChinese()
71 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.JAPAN)); in testIsLocaleSimplifiedChinese()
72 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.KOREA)); in testIsLocaleSimplifiedChinese()
73 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.KOREAN)); in testIsLocaleSimplifiedChinese()
74 assertFalse(LocaleSet.isLocaleSimplifiedChinese(Locale.ENGLISH)); in testIsLocaleSimplifiedChinese()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java89 static boolean isLocaleSimplifiedChinese(@Nullable Locale locale) { in isLocaleSimplifiedChinese() method in LocaleSet
129 if (isLocaleSimplifiedChinese(l)) { in shouldPreferJapanese()
140 if (isLocaleSimplifiedChinese(getPrimaryLocale())) { in shouldPreferSimplifiedChinese()
145 if (isLocaleSimplifiedChinese(l)) { in shouldPreferSimplifiedChinese()