Searched refs:bestMatch (Results 1 – 4 of 4) sorted by relevance
236 String bestMatch = null; in setSystemLocale() local242 bestMatch = locales[i]; in setSystemLocale()244 } else if (null == bestMatch) { in setSystemLocale()245 bestMatch = locales[i]; in setSystemLocale()249 if (null != bestMatch) { in setSystemLocale()252 config.locale = new Locale(bestMatch.substring(0,2), in setSystemLocale()253 bestMatch.substring(3,5)); in setSystemLocale()
358 int bestMatch = 0; in onIntentSelected() local363 if (r.match > bestMatch) bestMatch = r.match; in onIntentSelected()365 getPackageManager().addPreferredActivity(filter, bestMatch, set, in onIntentSelected()
1411 TrieNode bestMatch = null; in longestMatch() local1418 bestMatch = root; in longestMatch()1420 bestMatch = root; in longestMatch()1424 return bestMatch; in longestMatch()
563 String bestMatch = null; in findBestLanguage() local578 if (bestMatch != null) break; in findBestLanguage()