Lines Matching defs:desired
434 private void showDistance(LocaleMatcher matcher, String desired, String supported) {
435 ULocale desired2 = new ULocale(desired);
438 logln(desired + " to " + supported + " :\t" + distance);
597 final String desired = "sv, en";
599 final LocaleMatcher matcherShort = newLocaleMatcher(desired);
605 assertEquals(expected, matcherShort.getBestMatch(desired));
606 assertEquals(expected, matcherLong.getBestMatch(desired));
607 assertEquals(expected, matcherVeryLong.getBestMatch(desired));
613 long timeShort = timeLocaleMatcher("Duration (few supported):\t", desired, matcherShort, showMessage, iterations, 0);
615 long timeMedium = timeLocaleMatcher("Duration (med. supported):\t", desired, matcherLong, showMessage, iterations, timeShort);
617 long timeLong = timeLocaleMatcher("Duration (many supported):\t", desired, matcherVeryLong, showMessage, iterations, timeShort);
621 private long timeLocaleMatcher(String title, String desired, LocaleMatcher matcher,
625 matcher.getBestMatch(desired);