Searched refs:getPrimaryLocale (Results 1 – 5 of 5) sorted by relevance
102 public @NonNull Locale getPrimaryLocale() { in getPrimaryLocale() method in LocaleSet114 return isLocaleCJK(getPrimaryLocale()); in isPrimaryLocaleCJK()121 if (isLanguageJapanese(getPrimaryLocale())) { in shouldPreferJapanese()140 if (isLocaleSimplifiedChinese(getPrimaryLocale())) { in shouldPreferSimplifiedChinese()
107 AlphabeticIndex ai = new AlphabeticIndex(locales.getPrimaryLocale()) in ContactLocaleUtilsBase()109 addedLocales.add(locales.getPrimaryLocale()); in ContactLocaleUtilsBase()
1654 mNameSplitter = mContactsHelper.createNameSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale()1656 mPostalSplitter = new PostalSplitter(mCurrentLocales.getPrimaryLocale()); in initForDefaultLocale()
3590 db.setLocale(locales.getPrimaryLocale()); in setLocale()
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()