Searched refs:isLocaleTraditionalChinese (Results 1 – 2 of 2) sorted by relevance
69 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()
95 static boolean isLocaleTraditionalChinese(@Nullable Locale locale) { in isLocaleTraditionalChinese() method in LocaleSet152 if (isLocaleTraditionalChinese(l)) { // Traditional chinese wins here. in shouldPreferSimplifiedChinese()