Searched refs:localeIndex (Results 1 – 5 of 5) sorted by relevance
536 public static void setDefault(@NonNull @Size(min=1) LocaleList locales, int localeIndex) { in setDefault() argument544 sLastDefaultLocale = locales.get(localeIndex); in setDefault()548 if (localeIndex == 0) { in setDefault()
564 int localeIndex) { in setDefault() argument572 sLastDefaultLocale = locales.get(localeIndex); in setDefault()576 if (localeIndex == 0) { in setDefault()
815 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()816 if (isCompatibleLocale(systemLocale, locales.get(localeIndex))) { in getDefaultKeyboardLayout()836 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()837 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()849 for (int localeIndex = 0; localeIndex < numLocales; ++localeIndex) { in getDefaultKeyboardLayout()850 final Locale locale = locales.get(localeIndex); in getDefaultKeyboardLayout()
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()
404 for (int localeIndex = 0; localeIndex < localeCount; ++localeIndex) { in findAvailSpellCheckerLocked()405 final Locale locale = suitableLocales.get(localeIndex); in findAvailSpellCheckerLocked()