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/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()
DLanguageOnSpacebarUtils.java79 final Locale newLocale = subtype.getLocale(); in onSubtypeChanged() local
80 if (systemLocale.equals(newLocale)) { in onSubtypeChanged()
84 if (!systemLocale.getLanguage().equals(newLocale.getLanguage())) { in onSubtypeChanged()
/packages/apps/Car/Settings/src/com/android/car/settings/tts/
DTtsPlaybackSettingsManager.java138 boolean updateTtsLocale(Locale newLocale) { in updateTtsLocale() argument
139 int resultCode = mTts.setLanguage((newLocale != null) ? newLocale : Locale.getDefault()); in updateTtsLocale()
143 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), newLocale); in updateTtsLocale() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryFacilitatorImpl.java281 final Locale newLocale, in resetDictionaries() argument
305 existingDictionariesToCleanup.put(newLocale, dictTypeForLocale); in resetDictionaries()
307 findDictionaryGroupWithLocale(mDictionaryGroup, newLocale); in resetDictionaries()
320 findDictionaryGroupWithLocale(mDictionaryGroup, newLocale); in resetDictionaries()
322 existingDictionariesToCleanup.get(newLocale); in resetDictionaries()
340 subDict = getSubDict(subDictType, context, newLocale, null /* dictFile */, in resetDictionaries()
350 new DictionaryGroup(newLocale, mainDict, account, subDicts); in resetDictionaries()
358 asyncReloadUninitializedMainDictionaries(context, newLocale, listener); in resetDictionaries()
DDictionaryFacilitator.java116 final Locale newLocale, in resetDictionaries() argument
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowTtsEngines.java74 protected synchronized void updateLocalePrefForEngine(String engineName, Locale newLocale) { in updateLocalePrefForEngine() argument
75 sInstance.updateLocalePrefForEngine(engineName, newLocale); in updateLocalePrefForEngine()