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/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodSubtypePreference.java52 final Locale systemLocale = context.getResources().getConfiguration().locale; in InputMethodSubtypePreference() local
53 mIsSystemLocale = subtypeLocaleString.equals(systemLocale.toString()); in InputMethodSubtypePreference()
56 .equals(systemLocale.getLanguage()); in InputMethodSubtypePreference()
DUserDictionarySettingsUtils.java38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local
39 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
DUserDictionaryAddWordContents.java236 final String systemLocale = Locale.getDefault().toString(); in getLocalesList() local
238 locales.remove(systemLocale); // system locale may not be null in getLocalesList()
244 if (!systemLocale.equals(mLocale)) { in getLocalesList()
245 addLocaleDisplayNameToList(activity, localesList, systemLocale); in getLocalesList()
DInputMethodSettingValuesWrapper.java189 final Locale systemLocale = context.getResources().getConfiguration().locale; in isValidSystemNonAuxAsciiCapableIme() local
191 true /* checkDefaultAttribute */, systemLocale, false /* checkCountry */, in isValidSystemNonAuxAsciiCapableIme()
/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.java94 final boolean implicitlyEnabledSubtype, final Locale systemLocale, in assertFormatType() argument
96 LanguageOnSpacebarUtils.onSubtypeChanged(subtype, implicitlyEnabledSubtype, systemLocale); in assertFormatType()
98 + " 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()