/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | KlpActionLabelTests.java | 56 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/ |
D | LanguageOnSpacebarUtils.java | 78 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/ |
D | InputMethodSubtypePreference.java | 52 final Locale systemLocale = context.getResources().getConfiguration().locale; in InputMethodSubtypePreference() local 53 mIsSystemLocale = subtypeLocaleString.equals(systemLocale.toString()); in InputMethodSubtypePreference() 56 .equals(systemLocale.getLanguage()); in InputMethodSubtypePreference()
|
D | UserDictionarySettingsUtils.java | 38 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local 39 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
|
D | UserDictionaryAddWordContents.java | 236 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()
|
D | InputMethodSettingValuesWrapper.java | 189 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/ |
D | UserDictionarySettingsUtils.java | 39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local 40 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
|
D | UserDictionaryAddWordContents.java | 259 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()
|
D | UserDictionarySettings.java | 217 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/ |
D | LanguageOnSpacebarUtilsTests.java | 94 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/ |
D | RichInputMethodManager.java | 509 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()
|