Searched refs:localeIndex (Results 1 – 4 of 4) 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()
1103 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1104 if (isCompatibleLocale(systemLocale, locales.get(localeIndex))) { in getDefaultKeyboardLayout()1124 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1125 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()1137 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()1138 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()
452 for (int localeIndex = 0; localeIndex < localeCount; ++localeIndex) { in findAvailSystemSpellCheckerLocked()453 final Locale locale = suitableLocales.get(localeIndex); in findAvailSystemSpellCheckerLocked()