/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/ |
D | UserDictionaryAddWordContents.java | 241 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()
|
D | UserDictionarySettingsUtils.java | 38 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/ |
D | UserDictionaryAddWordContents.java | 241 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()
|
D | UserDictionarySettingsUtils.java | 38 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/ |
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 | UserDictionarySettingsUtils.java | 39 final Locale systemLocale = context.getResources().getConfiguration().locale; in getLocaleDisplayName() local 40 return locale.getDisplayName(systemLocale); in getLocaleDisplayName()
|
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 | 102 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/ |
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()
|