Searched refs:supportedLocales (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseMetadata.java | 31 public final ArraySet<Locale> supportedLocales; field in KeyphraseMetadata 34 public KeyphraseMetadata(int id, String keyphrase, ArraySet<Locale> supportedLocales, in KeyphraseMetadata() argument 38 this.supportedLocales = supportedLocales; in KeyphraseMetadata() 44 return "id=" + id + ", keyphrase=" + keyphrase + ", supported-locales=" + supportedLocales in toString() 59 return supportedLocales.isEmpty() || supportedLocales.contains(locale); in supportsLocale()
|
/frameworks/base/core/java/android/os/ |
D | LocaleList.java | 377 private int computeFirstMatchIndex(Collection<String> supportedLocales, in computeFirstMatchIndex() argument 396 for (String languageTag : supportedLocales) { in computeFirstMatchIndex() 415 private Locale computeFirstMatch(Collection<String> supportedLocales, in computeFirstMatch() argument 417 int bestIndex = computeFirstMatchIndex(supportedLocales, assumeEnglishIsSupported); in computeFirstMatch() 429 public Locale getFirstMatch(String[] supportedLocales) { in getFirstMatch() argument 430 return computeFirstMatch(Arrays.asList(supportedLocales), in getFirstMatch() 437 public int getFirstMatchIndex(String[] supportedLocales) { in getFirstMatchIndex() argument 438 return computeFirstMatchIndex(Arrays.asList(supportedLocales), in getFirstMatchIndex() 447 public Locale getFirstMatchWithEnglishSupported(String[] supportedLocales) { in getFirstMatchWithEnglishSupported() argument 448 return computeFirstMatch(Arrays.asList(supportedLocales), in getFirstMatchWithEnglishSupported() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesLocaleTest.java | 54 final String[] supportedLocales = resources.getAssets().getNonSystemLocales(); in ensureNoLanguage() local 55 for (String languageTag : supportedLocales) { in ensureNoLanguage() 60 "supported locales: " + Arrays.toString(supportedLocales), in ensureNoLanguage()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ModelFileManager.java | 162 final List<Locale> supportedLocales = new ArrayList<>(); in createModelFile() local 164 supportedLocales.add(Locale.forLanguageTag(langTag)); in createModelFile() 169 supportedLocales, in createModelFile() 208 public ModelFile(File file, int version, List<Locale> supportedLocales, in ModelFile() argument 213 mSupportedLocales = Preconditions.checkNotNull(supportedLocales); in ModelFile()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 339 String[] supportedLocales) { in resolveLocales() argument 340 final HashMap<Locale, Locale> allLocales = new HashMap<>(supportedLocales.length); in resolveLocales() 341 for (String supportedLocaleStr : supportedLocales) { in resolveLocales() 385 final String[] supportedLocales = LocalePicker.getSupportedLocales(mContext); in setLocaleData() local 388 final LocaleList merged = resolveLocales(localeList, currentLocales, supportedLocales); in setLocaleData()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |