Lines Matching defs:locales
60 * for other locales.
76 public ContactLocaleUtilsBase(LocaleSet locales) {
79 // set too large. The following set determines for which locales
85 // Traditional, and Japanese locales). Use English only for all
89 final Locale secondaryLocale = locales.getSecondaryLocale();
90 mEnableSecondaryLocalePinyin = locales.isSecondaryLocaleSimplifiedChinese();
91 AlphabeticIndex ai = new AlphabeticIndex(locales.getPrimaryLocale())
216 public JapaneseContactUtils(LocaleSet locales) {
217 super(locales);
358 public SimplifiedChineseContactUtils(LocaleSet locales) {
359 super(locales);
417 private ContactLocaleUtils(LocaleSet locales) {
418 if (locales == null) {
421 mLocales = locales;
434 public boolean isLocale(LocaleSet locales) {
435 return mLocales.equals(locales);
450 public static synchronized void setLocales(LocaleSet locales) {
451 if (sSingleton == null || !sSingleton.isLocale(locales)) {
452 sSingleton = new ContactLocaleUtils(locales);