Searched refs:localeIndex (Results 1 – 6 of 6) sorted by relevance
550 public static void setDefault(@NonNull @Size(min=1) LocaleList locales, int localeIndex) { in setDefault() argument558 sLastDefaultLocale = locales.get(localeIndex); in setDefault()562 if (localeIndex == 0) { in setDefault()
40 ssize_t localeIndex = 0; in parse() local66 localeIndex = locale.initFromDirName(parts, index); in parse()67 if (localeIndex < 0) { in parse()69 } else if (localeIndex > index) { in parse()71 index = localeIndex; in parse()
1114 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1115 if (isCompatibleLocale(systemLocale, locales.get(localeIndex))) { in getDefaultKeyboardLayout()1135 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1136 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()1148 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1149 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()
311 final int localeIndex = cursor.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in createInstalledDictSettingsCollection() local318 final String localeString = cursor.getString(localeIndex); in createInstalledDictSettingsCollection()
354 final int localeIndex = results.getColumnIndex(MetadataDbHelper.LOCALE_COLUMN); in getDictionaryWordListsForLocale() local379 final String wordListLocale = results.getString(localeIndex); in getDictionaryWordListsForLocale()
452 for (int localeIndex = 0; localeIndex < localeCount; ++localeIndex) { in findAvailSystemSpellCheckerLocked()453 final Locale locale = suitableLocales.get(localeIndex); in findAvailSystemSpellCheckerLocked()