Lines Matching refs:supported
303 private static int matchScore(Locale supported, Locale desired) {
304 if (supported.equals(desired)) {
307 if (!supported.getLanguage().equals(desired.getLanguage())) {
310 if (isPseudoLocale(supported) || isPseudoLocale(desired)) {
315 final String supportedScr = getLikelyScript(supported);
320 final String supportedRegion = supported.getCountry();
388 * Returns the first match in the locale list given an unordered array of supported locales
397 false /* assume English is not supported */);
405 false /* assume English is not supported */);
409 * Same as getFirstMatch(), but with English assumed to be supported, even if it's not.
415 true /* assume English is supported */);
422 return computeFirstMatchIndex(supportedLocales, true /* assume English is supported */);
472 * preferred locales, having concluded that the primary preference is not supported but a