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

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
LocaleMatcherShim.java 12 import android.icu.util.LocaleMatcher.LanguageMatcherData;
LocaleMatcherTest.java 23 import android.icu.util.LocaleMatcher;
24 import android.icu.util.LocaleMatcher.LanguageMatcherData;
31 * Test the LocaleMatcher.
45 private LocaleMatcher newLocaleMatcher(LocalePriorityList build) {
46 return new LocaleMatcher(build, LANGUAGE_MATCHER_DATA);
49 private LocaleMatcher newLocaleMatcher(LocalePriorityList build, LanguageMatcherData data) {
50 return new LocaleMatcher(build, data == null ? LANGUAGE_MATCHER_DATA : data);
53 private LocaleMatcher newLocaleMatcher(LocalePriorityList lpl, LanguageMatcherData data, double d) {
54 return new LocaleMatcher(lpl, data == null ? LANGUAGE_MATCHER_DATA : data, d);
57 private LocaleMatcher newLocaleMatcher(String string)
    [all...]
XLocaleMatcherTest.java 26 import android.icu.util.LocaleMatcher;
208 final LocaleMatcher matcherShortOld = new LocaleMatcher(shortList);
209 final LocaleMatcher matcherLongOld = new LocaleMatcher(longList);
210 final LocaleMatcher matcherVeryLongOld = new LocaleMatcher(veryLongList);
260 private long timeLocaleMatcher(String title, ULocale desired, LocaleMatcher matcher,
XLocaleDistanceTest.java 24 import android.icu.util.LocaleMatcher;
41 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault();
72 final LocaleMatcher oldLocaleMatcher = new LocaleMatcher("");
105 int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.REGION_FIRST);
106 int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST);
126 checkTables(localeMatcher.internalGetDistanceTable(), "", 1);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
LocaleMatcherShim.java 11 import com.ibm.icu.util.LocaleMatcher.LanguageMatcherData;
LocaleMatcherTest.java 22 import com.ibm.icu.util.LocaleMatcher;
23 import com.ibm.icu.util.LocaleMatcher.LanguageMatcherData;
29 * Test the LocaleMatcher.
42 private LocaleMatcher newLocaleMatcher(LocalePriorityList build) {
43 return new LocaleMatcher(build, LANGUAGE_MATCHER_DATA);
46 private LocaleMatcher newLocaleMatcher(LocalePriorityList build, LanguageMatcherData data) {
47 return new LocaleMatcher(build, data == null ? LANGUAGE_MATCHER_DATA : data);
50 private LocaleMatcher newLocaleMatcher(LocalePriorityList lpl, LanguageMatcherData data, double d) {
51 return new LocaleMatcher(lpl, data == null ? LANGUAGE_MATCHER_DATA : data, d);
54 private LocaleMatcher newLocaleMatcher(String string)
    [all...]
XLocaleMatcherTest.java 25 import com.ibm.icu.util.LocaleMatcher;
205 final LocaleMatcher matcherShortOld = new LocaleMatcher(shortList);
206 final LocaleMatcher matcherLongOld = new LocaleMatcher(longList);
207 final LocaleMatcher matcherVeryLongOld = new LocaleMatcher(veryLongList);
257 private long timeLocaleMatcher(String title, ULocale desired, LocaleMatcher matcher,
XLocaleDistanceTest.java 23 import com.ibm.icu.util.LocaleMatcher;
38 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault();
69 final LocaleMatcher oldLocaleMatcher = new LocaleMatcher("");
102 int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.REGION_FIRST);
103 int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.REGION_FIRST);
123 checkTables(localeMatcher.internalGetDistanceTable(), "", 1);
  /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
LocaleMatcherTest.java 14 import com.ibm.icu.util.LocaleMatcher;
15 import com.ibm.icu.util.LocaleMatcher.LanguageMatcherData;
20 * Test the LocaleMatcher.
31 private LocaleMatcher newLocaleMatcher(LocalePriorityList build) {
32 return new LocaleMatcher(build, LANGUAGE_MATCHER_DATA);
35 private LocaleMatcher newLocaleMatcher(LocalePriorityList build, LanguageMatcherData data) {
36 return new LocaleMatcher(build, data == null ? LANGUAGE_MATCHER_DATA : data);
39 private LocaleMatcher newLocaleMatcher(LocalePriorityList lpl, LanguageMatcherData data, double d) {
40 return new LocaleMatcher(lpl, data == null ? LANGUAGE_MATCHER_DATA : data, d);
43 private LocaleMatcher newLocaleMatcher(String string)
    [all...]
LanguageInfoTest.java 13 import com.ibm.icu.util.LocaleMatcher;
14 import com.ibm.icu.util.LocaleMatcher.LanguageMatcherData;
86 final LocaleMatcher matcher = new LocaleMatcher(LocalePriorityList
106 LocaleMatcher matcher = new LocaleMatcher(LocalePriorityList.add(
152 final LocaleMatcher matcher = new LocaleMatcher(
LocaleMatcherShim.java 7 import com.ibm.icu.util.LocaleMatcher.LanguageMatcherData;
XLocaleMatcherTest.java 18 import com.ibm.icu.util.LocaleMatcher;
194 final LocaleMatcher matcherShortOld = new LocaleMatcher(shortList);
195 final LocaleMatcher matcherLongOld = new LocaleMatcher(longList);
196 final LocaleMatcher matcherVeryLongOld = new LocaleMatcher(veryLongList);
246 private long timeLocaleMatcher(String title, ULocale desired, LocaleMatcher matcher,
XLocaleDistanceTest.java 17 import com.ibm.icu.util.LocaleMatcher;
35 private XLocaleDistance localeMatcher = XLocaleDistance.getDefault();
63 final LocaleMatcher oldLocaleMatcher = new LocaleMatcher("");
96 int dist1 = localeMatcher.distanceRaw(desiredLSR, supportedLSR, 1000, DistanceOption.NORMAL);
97 int dist2 = localeMatcher.distanceRaw(supportedLSR, desiredLSR, 1000, DistanceOption.NORMAL);
116 checkTables(localeMatcher.internalGetDistanceTable(), "", 1);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
LocaleMatcher.java 39 * LocaleMatcher matcher = new LocaleMatcher("fr, en-GB, en");
57 public class LocaleMatcher {
93 public LocaleMatcher(LocalePriorityList languagePriorityList) {
103 public LocaleMatcher(String languagePriorityListString) {
115 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData) {
127 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData, double threshold) {
359 // that getBestMatch("und", LocaleMatcher("it,en")) would be "en", and
360 // getBestMatch("en", LocaleMatcher("it,und")) would be "und".
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
LocaleMatcher.java 38 * LocaleMatcher matcher = new LocaleMatcher("fr, en-GB, en");
56 public class LocaleMatcher {
93 public LocaleMatcher(LocalePriorityList languagePriorityList) {
104 public LocaleMatcher(String languagePriorityListString) {
116 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData) {
128 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData, double threshold) {
366 // that getBestMatch("und", LocaleMatcher("it,en")) would be "en", and
367 // getBestMatch("en", LocaleMatcher("it,und")) would be "und".
859 final LocaleMatcher matcher = new LocaleMatcher("")
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/test/
CheckAttributeValues.java 57 static LocaleMatcher localeMatcher;
260 localeMatcher = LocaleMatcher.make();
263 if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) {
428 result.matcher = LocaleMatcher.make();
526 public static class LocaleMatcher implements ObjectMatcher<String> {
533 static LocaleMatcher singleton = null;
536 private LocaleMatcher(boolean b) {
539 public static LocaleMatcher make()
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/util/
AttributeValueValidity.java 301 // localeMatcher = LocaleMatcher.make();
304 // if (!localeMatcher.matches(cldrFileToCheck.getLocaleID())) {
427 result = value.equals("all") ? LocaleMatcher.ALL_LANGUAGES : LocaleMatcher.REGULAR;
693 public static class LocaleMatcher extends MatcherPattern {
701 public static LocaleMatcher REGULAR = new LocaleMatcher("$_language_plus");
702 public static LocaleMatcher ALL_LANGUAGES = new LocaleMatcher("$_language")
    [all...]
  /external/cldr/tools/java/com/ibm/icu/util/
LocaleMatcher.java 33 * LocaleMatcher matcher = new LocaleMatcher("fr, en-GB, en");
51 public class LocaleMatcher {
83 public LocaleMatcher(LocalePriorityList languagePriorityList) {
94 public LocaleMatcher(String languagePriorityListString) {
106 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData) {
118 public LocaleMatcher(LocalePriorityList languagePriorityList, LanguageMatcherData matcherData, double threshold) {
347 // that getBestMatch("und", LocaleMatcher("it,en")) would be "en", and
348 // getBestMatch("en", LocaleMatcher("it,und")) would be "und".
837 final LocaleMatcher matcher = new LocaleMatcher("")
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
XLocaleDistance.java 39 import android.icu.util.LocaleMatcher;
69 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
90 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
101 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
151 // ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
XLocaleDistance.java 38 import com.ibm.icu.util.LocaleMatcher;
65 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
86 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
97 ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
147 // ICUResourceBundle suppData = LocaleMatcher.getICUSupplementalData();
    [all...]
  /external/v8/src/
messages.h 564 T(LocaleMatcher, "Illegal value for localeMatcher:%") \
    [all...]

Completed in 419 milliseconds