Home
last modified time | relevance | path

Searched refs:systemLocale (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java56 final Locale labelLocale, final Locale systemLocale) { in doTestActionKeysInLocaleWithStringResources() argument
58 if (!systemLocale.equals(mSystemLocale)) { in doTestActionKeysInLocaleWithStringResources()
60 mSystemLocale = systemLocale; in doTestActionKeysInLocaleWithStringResources()
76 final String tag = "label=" + labelLocale + " system=" + systemLocale in doTestActionKeysInLocaleWithStringResources()
86 job.runInLocale(getContext().getResources(), systemLocale); in doTestActionKeysInLocaleWithStringResources() local
112 final Locale labelLocale, final Locale systemLocale) { in doTestActionKeysInLocaleWithKeyboardTextsSet() argument
114 if (!systemLocale.equals(mSystemLocale)) { in doTestActionKeysInLocaleWithKeyboardTextsSet()
116 mSystemLocale = systemLocale; in doTestActionKeysInLocaleWithKeyboardTextsSet()
134 final String tag = "label=" + subtype.getLocale() + " system=" + systemLocale in doTestActionKeysInLocaleWithKeyboardTextsSet()
144 job.runInLocale(getContext().getResources(), systemLocale); in doTestActionKeysInLocaleWithKeyboardTextsSet() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DLanguageOnSpacebarUtils.java78 final boolean implicitlyEnabledSubtype, @Nonnull final Locale systemLocale) { in onSubtypeChanged() argument
80 if (systemLocale.equals(newLocale)) { in onSubtypeChanged()
84 if (!systemLocale.getLanguage().equals(newLocale.getLanguage())) { in onSubtypeChanged()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryAddWordContents.java241 final String systemLocale = Locale.getDefault().toString(); in getLocalesList() local
243 locales.remove(systemLocale); // system locale may not be null in getLocalesList()
249 if (!systemLocale.equals(mLocale)) { in getLocalesList()
250 addLocaleDisplayNameToList(activity, localesList, systemLocale); in getLocalesList()
DUserDictionarySettingsUtils.java38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
39 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryAddWordContents.java241 final String systemLocale = Locale.getDefault().toString(); in getLocalesList() local
243 locales.remove(systemLocale); // system locale may not be null in getLocalesList()
249 if (!systemLocale.equals(mLocale)) { in getLocalesList()
250 addLocaleDisplayNameToList(activity, localesList, systemLocale); in getLocalesList()
DUserDictionarySettingsUtils.java38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
39 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryAddWordContents.java259 final String systemLocale = Locale.getDefault().toString(); in getLocalesList() local
261 locales.remove(systemLocale); // system locale may not be null in getLocalesList()
267 if (!systemLocale.equals(mLocale)) { in getLocalesList()
268 addLocaleDisplayNameToList(activity, localesList, systemLocale); in getLocalesList()
DUserDictionarySettingsUtils.java39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
40 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
DUserDictionarySettings.java217 final Locale systemLocale = getResources().getConfiguration().locale; in onCreateOptionsMenu() local
218 if (!TextUtils.isEmpty(mLocale) && !mLocale.equals(systemLocale.toString())) { in onCreateOptionsMenu()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DLanguageOnSpacebarUtilsTests.java102 final boolean implicitlyEnabledSubtype, final Locale systemLocale, in assertFormatType() argument
104 LanguageOnSpacebarUtils.onSubtypeChanged(subtype, implicitlyEnabledSubtype, systemLocale); in assertFormatType()
106 + " in " + systemLocale, expectedFormat, in assertFormatType()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java509 final Locale systemLocale = mContext.getResources().getConfiguration().locale; in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes() local
526 && !systemLocale.equals(SubtypeLocaleUtils.getSubtypeLocale(subtype))) { in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
548 final Locale systemLocale = mContext.getResources().getConfiguration().locale; in updateShortcutIme() local
550 richSubtype, implicitlyEnabledSubtype, systemLocale); in updateShortcutIme()