Searched refs:getPrimaryLocale (Results 1 – 4 of 4) sorted by relevance
103 public @NonNull Locale getPrimaryLocale() { in getPrimaryLocale() method in LocaleSet115 return isLocaleCJK(getPrimaryLocale()); in isPrimaryLocaleCJK()122 if (isLanguageJapanese(getPrimaryLocale())) { in shouldPreferJapanese()141 if (isLocaleSimplifiedChinese(getPrimaryLocale())) { in shouldPreferSimplifiedChinese()
2787 db.setLocale(locales.getPrimaryLocale()); in setLocale()
1601 mNameSplitter = mContactsHelper.createNameSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale()1603 mPostalSplitter = new PostalSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale()
28 assertEquals(Locale.CANADA, LocaleSet.newForTest(Locale.CANADA).getPrimaryLocale()); in testPrimaryLocale()29 assertEquals(Locale.GERMAN, LocaleSet.newForTest(Locale.GERMAN).getPrimaryLocale()); in testPrimaryLocale()31 .getPrimaryLocale()); in testPrimaryLocale()33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()37 assertEquals(Locale.JAPANESE, LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()