Searched refs:newLocale (Results 1 – 7 of 7) sorted by relevance
/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 | LanguageOnSpacebarUtils.java | 79 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/ |
D | TtsPlaybackSettingsManager.java | 139 boolean updateTtsLocale(Locale newLocale) { in updateTtsLocale() argument 140 int resultCode = mTts.setLanguage((newLocale != null) ? newLocale : Locale.getDefault()); in updateTtsLocale() 144 mEnginesHelper.updateLocalePrefForEngine(mTts.getCurrentEngine(), newLocale); in updateTtsLocale() local
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitatorImpl.java | 281 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()
|
D | DictionaryFacilitator.java | 116 final Locale newLocale, in resetDictionaries() argument
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowTtsEngines.java | 74 protected synchronized void updateLocalePrefForEngine(String engineName, Locale newLocale) { in updateLocalePrefForEngine() argument 75 sInstance.updateLocalePrefForEngine(engineName, newLocale); in updateLocalePrefForEngine()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowTtsEngines.java | 79 protected synchronized void updateLocalePrefForEngine(String engineName, Locale newLocale) { in updateLocalePrefForEngine() argument 80 sInstance.updateLocalePrefForEngine(engineName, newLocale); in updateLocalePrefForEngine()
|