Home
last modified time | relevance | path

Searched refs:newLocale (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitator.java210 public void resetDictionaries(final Context context, final Locale newLocale, in resetDictionaries() argument
214 resetDictionariesWithDictNamePrefix(context, newLocale, useContactsDict, in resetDictionaries()
218 public void resetDictionariesWithDictNamePrefix(final Context context, final Locale newLocale, in resetDictionariesWithDictNamePrefix() argument
223 final boolean localeHasBeenChanged = !newLocale.equals(mDictionaries.mLocale); in resetDictionariesWithDictNamePrefix()
258 dict = getSubDict(dictType, context, newLocale, null /* dictFile */, in resetDictionariesWithDictNamePrefix()
265 final Dictionaries newDictionaries = new Dictionaries(newLocale, newMainDict, subDicts); in resetDictionariesWithDictNamePrefix()
272 asyncReloadMainDictionary(context, newLocale, listener); in resetDictionariesWithDictNamePrefix()
DSubtypeSwitcher.java174 final Locale newLocale = SubtypeLocaleUtils.getSubtypeLocale(newSubtype); in onSubtypeChanged() local
176 final boolean sameLocale = systemLocale.equals(newLocale); in onSubtypeChanged()
177 final boolean sameLanguage = systemLocale.getLanguage().equals(newLocale.getLanguage()); in onSubtypeChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DRunInLocale.java36 public T runInLocale(final Resources res, final Locale newLocale) { in runInLocale() argument
39 if (newLocale == null || newLocale.equals(conf.locale)) { in runInLocale()
44 conf.locale = newLocale; in runInLocale()
DDistracterFilterCheckingExactMatchesAndSuggestions.java113 private void loadKeyboardForLocale(final Locale newLocale) { in loadKeyboardForLocale() argument
114 final Keyboard cachedKeyboard = mLocaleToKeyboardMap.get(newLocale); in loadKeyboardForLocale()
121 subtype = mLocaleToSubtypeMap.get(newLocale); in loadKeyboardForLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DLocaleUtils.java170 public static Locale setSystemLocale(final Resources res, final Locale newLocale) { in setSystemLocale() argument
173 conf.locale = newLocale; in setSystemLocale()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java1523 private static LocaleSet updateLocaleSet(LocaleSet oldLocales, Locale newLocale) { in updateLocaleSet() argument
1526 if (newLocale.equals(prevLocale)) { in updateLocaleSet()
1531 return new LocaleSet(newLocale, prevLocale).normalize(); in updateLocaleSet()