Searched refs:newLocale (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitator.java | 210 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()
|
D | SubtypeSwitcher.java | 174 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/ |
D | RunInLocale.java | 36 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()
|
D | DistracterFilterCheckingExactMatchesAndSuggestions.java | 113 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/ |
D | LocaleUtils.java | 170 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/ |
D | ContactsProvider2.java | 1523 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()
|