Searched defs:supportedLocales (Results 1 - 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
H A D | KeyphraseMetadata.java | 31 public final ArraySet<Locale> supportedLocales; field in class:KeyphraseMetadata 34 public KeyphraseMetadata(int id, String keyphrase, ArraySet<Locale> supportedLocales, argument 38 this.supportedLocales = supportedLocales; 44 return "id=" + id + ", keyphrase=" + keyphrase + ", supported-locales=" + supportedLocales 59 return supportedLocales.isEmpty() || supportedLocales.contains(locale);
|
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | LocaleListInterface.java | 61 Locale getFirstMatch(String[] supportedLocales); argument
|
H A D | LocaleListCompat.java | 94 public Locale getFirstMatch(String[] supportedLocales) { argument 96 return mLocaleList.getFirstMatch(supportedLocales); 160 public Locale getFirstMatch(String[] supportedLocales) { argument 162 return mLocaleList.getFirstMatch(supportedLocales); 266 public Locale getFirstMatch(String[] supportedLocales) { argument 267 return IMPL.getFirstMatch(supportedLocales);
|
H A D | LocaleListHelper.java | 353 private int computeFirstMatchIndex(Collection<String> supportedLocales, argument 372 for (String languageTag : supportedLocales) { 391 private Locale computeFirstMatch(Collection<String> supportedLocales, argument 393 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); 408 Locale getFirstMatch(String[] supportedLocales) { argument 409 return computeFirstMatch(Arrays.asList(supportedLocales), 417 int getFirstMatchIndex(String[] supportedLocales) { argument 418 return computeFirstMatchIndex(Arrays.asList(supportedLocales), 428 Locale getFirstMatchWithEnglishSupported(String[] supportedLocales) { argument 429 return computeFirstMatch(Arrays.asList(supportedLocales), 437 getFirstMatchIndexWithEnglishSupported(Collection<String> supportedLocales) argument 445 getFirstMatchIndexWithEnglishSupported(String[] supportedLocales) argument 455 isPseudoLocalesOnly(@ullable String[] supportedLocales) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | LocaleList.java | 343 private int computeFirstMatchIndex(Collection<String> supportedLocales, argument 362 for (String languageTag : supportedLocales) { 381 private Locale computeFirstMatch(Collection<String> supportedLocales, argument 383 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); 395 public Locale getFirstMatch(String[] supportedLocales) { argument 396 return computeFirstMatch(Arrays.asList(supportedLocales), 403 public int getFirstMatchIndex(String[] supportedLocales) { argument 404 return computeFirstMatchIndex(Arrays.asList(supportedLocales), 413 public Locale getFirstMatchWithEnglishSupported(String[] supportedLocales) { argument 414 return computeFirstMatch(Arrays.asList(supportedLocales), 421 getFirstMatchIndexWithEnglishSupported(Collection<String> supportedLocales) argument 428 getFirstMatchIndexWithEnglishSupported(String[] supportedLocales) argument 437 isPseudoLocalesOnly(@ullable String[] supportedLocales) argument [all...] |
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 353 * @param supportedLocales The list of language tags supported by this device. 357 String[] supportedLocales) { 358 final HashMap<Locale, Locale> allLocales = new HashMap<>(supportedLocales.length); 359 for (String supportedLocaleStr : supportedLocales) { 403 final String[] supportedLocales = LocalePicker.getSupportedLocales(mContext); 406 final LocaleList merged = resolveLocales(localeList, currentLocales, supportedLocales); 356 resolveLocales(LocaleList restore, LocaleList current, String[] supportedLocales) argument
|
Completed in 245 milliseconds