Searched refs:bestMatch (Results 1 – 2 of 2) sorted by relevance
1264 long bestMatch = updateMatchScoresBasedOnDataMatches(db, rawContactId, matcher); in pickBestMatchBasedOnData() local1265 if (bestMatch == ContactMatcher.MULTIPLE_MATCHES) { in pickBestMatchBasedOnData()1268 } else if (bestMatch == -1) { in pickBestMatchBasedOnData()1270 bestMatch = pickBestMatchBasedOnSecondaryData(db, rawContactId, candidates, matcher); in pickBestMatchBasedOnData()1271 if (bestMatch == ContactMatcher.MULTIPLE_MATCHES) { in pickBestMatchBasedOnData()1276 return bestMatch; in pickBestMatchBasedOnData()1358 long bestMatch = matcher.pickBestMatch(ContactMatcher.SCORE_THRESHOLD_PRIMARY, false); in updateMatchScoresBasedOnDataMatches() local1359 if (bestMatch != -1) { in updateMatchScoresBasedOnDataMatches()1360 return bestMatch; in updateMatchScoresBasedOnDataMatches()
365 int bestMatch = 0; in onIntentSelected() local370 if (r.match > bestMatch) in onIntentSelected()371 bestMatch = r.match; in onIntentSelected()373 getPackageManager().addPreferredActivity(filter, bestMatch, set, in onIntentSelected()