Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java57 final Locale labelLocale, final Locale systemLocale) { in doTestActionKeysInLocaleWithStringResources() argument
59 if (!systemLocale.equals(mSystemLocale)) { in doTestActionKeysInLocaleWithStringResources()
61 mSystemLocale = systemLocale; in doTestActionKeysInLocaleWithStringResources()
77 final String tag = "label=" + labelLocale + " system=" + systemLocale in doTestActionKeysInLocaleWithStringResources()
87 job.runInLocale(getContext().getResources(), systemLocale); in doTestActionKeysInLocaleWithStringResources() local
113 final Locale labelLocale, final Locale systemLocale) { in doTestActionKeysInLocaleWithKeyboardTextsSet() argument
115 if (!systemLocale.equals(mSystemLocale)) { in doTestActionKeysInLocaleWithKeyboardTextsSet()
117 mSystemLocale = systemLocale; in doTestActionKeysInLocaleWithKeyboardTextsSet()
135 final String tag = "label=" + subtype.getLocale() + " system=" + systemLocale in doTestActionKeysInLocaleWithKeyboardTextsSet()
145 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/android_car_api_test/src/android/car/apitest/
DLocalePickerTest.java103 Locale systemLocale = mLocaleManager.getSystemLocales().get(0); in assertSystemLocale() local
104 assertThat(systemLocale.getLanguage()).isEqualTo(locale.getLanguage()); in assertSystemLocale()
105 assertThat(systemLocale.getCountry()).isEqualTo(locale.getCountry()); in assertSystemLocale()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionarySettingsUtils.java38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
39 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
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()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionarySettingsUtils.java39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
40 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
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()
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()