Lines Matching refs:supported
313 private static int matchScore(Locale supported, Locale desired) {
314 if (supported.equals(desired)) {
317 if (!supported.getLanguage().equals(desired.getLanguage())) {
320 if (isPseudoLocale(supported) || isPseudoLocale(desired)) {
325 final String supportedScr = getLikelyScript(supported);
330 final String supportedRegion = supported.getCountry();
398 * Returns the first match in the locale list given an unordered array of supported locales
410 false /* assume English is not supported */);
419 false /* assume English is not supported */);
423 * Same as getFirstMatch(), but with English assumed to be supported, even if it's not.
430 true /* assume English is supported */);
438 return computeFirstMatchIndex(supportedLocales, true /* assume English is supported */);
491 * preferred locales, having concluded that the primary preference is not supported but a