Searched refs:testedParams (Results 1 – 1 of 1) sorted by relevance
114 final String[] testedParams = testedLocale.split("_", 3); in getMatchLevel() local116 if (!referenceParams[0].equals(testedParams[0])) return LOCALE_NO_MATCH; in getMatchLevel()119 return 1 == testedParams.length ? LOCALE_FULL_MATCH : LOCALE_LANGUAGE_MATCH; in getMatchLevel()121 if (1 == testedParams.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER; in getMatchLevel()122 if (!referenceParams[1].equals(testedParams[1])) in getMatchLevel()124 if (3 == testedParams.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH; in getMatchLevel()127 if (1 == testedParams.length) return LOCALE_LANGUAGE_MATCH_COUNTRY_DIFFER; in getMatchLevel()128 if (!referenceParams[1].equals(testedParams[1])) in getMatchLevel()130 if (2 == testedParams.length) return LOCALE_LANGUAGE_AND_COUNTRY_MATCH_VARIANT_DIFFER; in getMatchLevel()131 if (!referenceParams[2].equals(testedParams[2])) in getMatchLevel()