Searched refs:systemLocale (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | InputMethodUtils.java | 308 @Nullable final Locale systemLocale, @Nullable final Locale fallbackLocale) { 311 // 1. checkDefaultAttribute: true, locale: systemLocale, checkCountry: true 312 // 2. checkDefaultAttribute: true, locale: systemLocale, checkCountry: false 320 builder.fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale, 325 builder.fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale, 351 + " systemLocale=" + systemLocale + " fallbackLocale=" + fallbackLocale); 374 final Locale systemLocale = getSystemLocaleFromContext(context); 375 return getMinimumKeyboardSetWithSystemLocale(imis, context, systemLocale, fallbackLocale) 376 .fillImes(imis, context, true /* checkDefaultAttribute */, systemLocale, 306 getMinimumKeyboardSetWithSystemLocale( final ArrayList<InputMethodInfo> imis, final Context context, @Nullable final Locale systemLocale, @Nullable final Locale fallbackLocale) argument 1494 getSuitableLocalesForSpellChecker( @ullable final Locale systemLocale) argument [all...] |
H A D | InputMethodSubtypeSwitchingController.java | 63 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { 72 mIsSystemLocale = subtypeLocale.equals(systemLocale); 77 final String systemLanguage = parseLanguageFromLocaleString(systemLocale); 62 ImeSubtypeListItem(CharSequence imeName, CharSequence subtypeName, InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) argument
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | InputManagerService.java | 768 final Locale systemLocale = mContext.getResources().getConfiguration().locale; 771 if (TextUtils.isEmpty(systemLocale.getLanguage())) { 788 if (isCompatibleLocale(systemLocale, locales.get(localeIndex))) { 810 if (locale.getCountry().equals(systemLocale.getCountry()) 811 && locale.getVariant().equals(systemLocale.getVariant())) { 823 if (locale.getCountry().equals(systemLocale.getCountry())) { 833 private static boolean isCompatibleLocale(Locale systemLocale, Locale keyboardLocale) { argument 835 if (!systemLocale.getLanguage().equals(keyboardLocale.getLanguage())) { 839 if (!TextUtils.isEmpty(systemLocale.getCountry()) 841 && !systemLocale [all...] |
/frameworks/base/services/core/java/com/android/server/ |
H A D | MountService.java | 1006 String systemLocale; 1008 systemLocale = getField(StorageManager.SYSTEM_LOCALE_KEY); 1012 if (TextUtils.isEmpty(systemLocale)) { 1016 Slog.d(TAG, "Got locale " + systemLocale + " from mount service"); 1017 Locale locale = Locale.forLanguageTag(systemLocale); 1027 Slog.d(TAG, "Setting system properties to " + systemLocale + " from mount service");
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
H A D | InputMethodUtilsTest.java | 795 final Locale systemLocale, final boolean isSystemReady, String... expectedImeNames) { 796 final Context context = createTargetContextWithLocales(new LocaleList(systemLocale)); 794 assertDefaultEnabledImes(final ArrayList<InputMethodInfo> preinstalledImes, final Locale systemLocale, final boolean isSystemReady, String... expectedImeNames) argument
|
Completed in 491 milliseconds