Home
last modified time | relevance | path

Searched refs:supportedLocales (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DLocaleMatcher.java330 private final Locale[] supportedLocales; field in LocaleMatcher
348 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder
381 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
394 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
396 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales()
409 if (supportedLocales == null) { in addSupportedULocale()
410 supportedLocales = new ArrayList<>(); in addSupportedULocale()
412 supportedLocales.add(locale); in addSupportedULocale()
600 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString()
601 s.append(" supported={").append(supportedLocales).append('}'); in toString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DLocaleMatcher.java347 private final Locale[] supportedLocales; field in LocaleMatcher
365 private List<ULocale> supportedLocales; field in LocaleMatcher.Builder
400 supportedLocales = new ArrayList<>(locales); in setSupportedULocales()
414 supportedLocales = new ArrayList<>(locales.size()); in setSupportedLocales()
416 supportedLocales.add(ULocale.forLocale(locale)); in setSupportedLocales()
430 if (supportedLocales == null) { in addSupportedULocale()
431 supportedLocales = new ArrayList<>(); in addSupportedULocale()
433 supportedLocales.add(locale); in addSupportedULocale()
632 if (supportedLocales != null && !supportedLocales.isEmpty()) { in toString()
633 s.append(" supported={").append(supportedLocales).append('}'); in toString()
[all …]
/external/icu/icu4c/source/common/
Dlocalematcher.cpp366 supportedLocales(nullptr), lsrs(nullptr), supportedLocalesLength(0), in LocaleMatcher()
391 supportedLocales = static_cast<const Locale **>( in LocaleMatcher()
397 if (supportedLocales == nullptr || lsrs == nullptr) { in LocaleMatcher()
402 uprv_memset(supportedLocales, 0, supportedLocalesLength * sizeof(const Locale *)); in LocaleMatcher()
405 supportedLocales[i] = locale.clone(); in LocaleMatcher()
406 if (supportedLocales[i] == nullptr) { in LocaleMatcher()
410 const Locale &supportedLocale = *supportedLocales[i]; in LocaleMatcher()
440 const Locale &locale = *supportedLocales[i]; in LocaleMatcher()
512 supportedLocales(src.supportedLocales), lsrs(src.lsrs), in LocaleMatcher()
519 src.supportedLocales = nullptr; in LocaleMatcher()
[all …]
/external/libtextclassifier/java/src/com/android/textclassifier/common/
DModelFileManager.java444 public final LocaleList supportedLocales; field in ModelFileManager.ModelFile
492 this.supportedLocales = in ModelFile()
529 Arrays.asList(supportedLocales.toLanguageTags().split(",")); in isAnyLanguageSupported()
571 && Objects.equals(supportedLocales, modelFile.supportedLocales); in equals()
577 modelType, absolutePath, version, supportedLocales, languageIndependent, isAsset); in hashCode()
581 return new ModelInfo(version, supportedLocales.toLanguageTags()); in toModelInfo()
592 languageIndependent ? LANGUAGE_INDEPENDENT : supportedLocales.toLanguageTags(), in toString()
/external/cldr/tools/java/org/unicode/cldr/draft/
DXLocaleMatcher.java131 public XLocaleMatcher(String supportedLocales) { in XLocaleMatcher() argument
132 this(builder().setSupportedLocales(supportedLocales)); in XLocaleMatcher()
136 public XLocaleMatcher(LocalePriorityList supportedLocales) { in XLocaleMatcher() argument
137 this(builder().setSupportedLocales(supportedLocales)); in XLocaleMatcher()
141 public XLocaleMatcher(Set<ULocale> supportedLocales) { in XLocaleMatcher() argument
142 this(builder().setSupportedLocales(supportedLocales)); in XLocaleMatcher()
/external/icu/libicu/cts_headers/unicode/
Dlocalematcher.h703 const Locale ** supportedLocales; variable
/external/icu/icu4c/source/common/unicode/
Dlocalematcher.h703 const Locale ** supportedLocales; variable
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...