Home
last modified time | relevance | path

Searched refs:localeList (Results 1 – 10 of 10) sorted by relevance

/external/libtextclassifier/java/src/com/android/textclassifier/
DModelFileManager.java65 public ModelFile findBestModelFile(@Nullable LocaleList localeList) { in findBestModelFile() argument
67 localeList == null || localeList.isEmpty() in findBestModelFile()
69 : localeList.toLanguageTags(); in findBestModelFile()
DTextClassifierImpl.java515 private AnnotatorModel getAnnotatorImpl(LocaleList localeList) throws FileNotFoundException { in getAnnotatorImpl() argument
517 localeList = localeList == null ? LocaleList.getDefault() : localeList; in getAnnotatorImpl()
519 annotatorModelFileManager.findBestModelFile(localeList); in getAnnotatorImpl()
521 throw new FileNotFoundException("No annotator model for " + localeList.toLanguageTags()); in getAnnotatorImpl()
/external/cldr/tools/java/org/unicode/cldr/tool/
DDiffCldr.java144 Set<String> localeList = localeCounter.getKeysetSortedByCount(false); in main() local
149 for (String locale : localeList) { in main()
154 for (String locale : localeList) { in main()
172 for (String locale : localeList) { in main()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/
DConfigurationV25.java343 LocaleList localeList = config.getLocales(); in getLocales() local
344 for (int i = 0; i < localeList.size(); i++) { in getLocales()
345 locales.add(localeList.get(i)); in getLocales()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/impl/
DDemoUtility.java130 return localeList; in getG7Locales()
132 private static Locale[] localeList = { field in DemoUtility
/external/cldr/tools/java/org/unicode/cldr/ant/
DCLDRConverterTool.java232 List<String> localeList = Arrays.asList(level.locales.split("\\s+")); in computeConvertibleXPaths() local
233 if (CLDRBuild.matchesLocale(localeList, localeName) == false) { in computeConvertibleXPaths()
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java286 private Set<String> localeList = new TreeSet<String>(); field in SimpleFactory
440 this.localeList = CLDRFile.getMatchingXMLFiles(sourceDirectories, m); in SimpleFactory()
466 return localeList; in handleGetAvailable()
DSupplementalDataInfo.java2302 private final Deque<Node> localeList = new LinkedList<>();
2325 Iterator<Node> it = localeList.iterator();
2338 localeList.addFirst(reAddNode);
2355 for (Node node : localeList) {
2366 localeList.addFirst(new Node(loc, newMap));
2368 if (localeList.size() > MAX_LOCALES) {
2369 localeList.removeLast();
2667 Set<CLDRLocale> localeList = new HashSet<CLDRLocale>();
2671 localeList.add(CLDRLocale.getInstance(el[i]));
2678 localeList.add(CLDRLocale.getInstance(cl));
[all …]
/external/cldr/tools/java/org/unicode/cldr/icu/
DTestCldr.java272 String localeList = attributes.getValue("locales"); in setAttributes() local
274 com.ibm.icu.impl.Utility.split(localeList, ' ', currentLocaleString); in setAttributes()
/external/icu/icu4c/source/test/intltest/
Dloctest.cpp3043 const Locale *localeList = Locale::getAvailableLocales(numLocales); in TestBug11421() local
3045 const Locale &loc = localeList[localeIndex]; in TestBug11421()