HomeSort by relevance Sort by last modified time
    Searched refs:LanguageRange (Results 1 - 7 of 7) sorted by null

  /libcore/luni/src/test/java/libcore/java/util/
LocaleLanguageRangeTest.java 19 import static java.util.Locale.LanguageRange.MAX_WEIGHT;
26 import java.util.Locale.LanguageRange;
33 * Tests {@link LanguageRange}.
41 assertEquals(0.0, LanguageRange.MIN_WEIGHT);
46 assertEquals(MAX_WEIGHT, new LanguageRange("de-DE").getWeight());
51 new LanguageRange("de-DE", -0.00000001);
57 new LanguageRange("de-DE", 1.00000001);
62 new LanguageRange("de-DE", 0);
63 new LanguageRange("de-DE", 1);
68 new LanguageRange(null)
    [all...]
LocaleTest.java 38 import java.util.Locale.LanguageRange;
800 List<LanguageRange> ranges = new ArrayList<>();
801 ranges.add(new LanguageRange("en-US"));
815 ranges.add(new LanguageRange("zh-Hant-TW"));
835 List<LanguageRange> priorityList = languageRangesOf("de-DE", "de-*-DE");
    [all...]
  /libcore/ojluni/src/main/java/sun/util/locale/
LocaleMatcher.java 38 import static java.util.Locale.LanguageRange.*;
48 public static List<Locale> filter(List<LanguageRange> priorityList,
73 public static List<String> filterTags(List<LanguageRange> priorityList,
80 ArrayList<LanguageRange> list;
85 for (LanguageRange lr : priorityList) {
97 list.add(new LanguageRange(range, lr.getWeight()));
112 private static List<String> filterBasic(List<LanguageRange> priorityList,
115 for (LanguageRange lr : priorityList) {
136 private static List<String> filterExtended(List<LanguageRange> priorityList,
139 for (LanguageRange lr : priorityList)
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Locale.java 288 * {@link Locale.LanguageRange Locale.LanguageRange} for details.
    [all...]
  /frameworks/base/core/java/android/view/textclassifier/
TextClassifierImpl.java 281 final List<Locale.LanguageRange> languageRangeList = Locale.LanguageRange.parse(languages);
  /frameworks/base/
preloaded-classes     [all...]
compiled-classes-phone     [all...]

Completed in 85 milliseconds