Searched refs:layoutScore (Results 1 – 1 of 1) sorted by relevance
810 float layoutScore = 1; // If language matches then score +1 in getMatchingLayoutForProvidedLanguageTag() local812 layoutScore += 1; // If country matches then score +1 in getMatchingLayoutForProvidedLanguageTag()814 layoutScore += 0.5; // Consider empty country as semi-match in getMatchingLayoutForProvidedLanguageTag()817 layoutScore += 1; // If variant matches then score +1 in getMatchingLayoutForProvidedLanguageTag()819 layoutScore += 0.5; // Consider empty variant as semi-match in getMatchingLayoutForProvidedLanguageTag()821 if (layoutScore > bestMatchingLayoutScore) { in getMatchingLayoutForProvidedLanguageTag()822 bestMatchingLayoutScore = layoutScore; in getMatchingLayoutForProvidedLanguageTag()