Lines Matching defs:candidates

648         MatchCandidateList candidates = new MatchCandidateList();
667 candidates, matcher);
705 long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates,
723 candidates.clear();
733 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher);
1241 MatchCandidateList candidates, ContactMatcher matcher) {
1250 bestMatch = pickBestMatchBasedOnSecondaryData(db, rawContactId, candidates, matcher);
1266 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) {
1273 loadNameMatchCandidates(db, rawContactId, candidates, true);
1288 matchAllCandidates(db, mSb.toString(), candidates, matcher,
1311 MatchCandidateList candidates, boolean structuredNameBased) {
1312 candidates.clear();
1323 candidates.add(normalizedName, type);
1472 public NameLookupSelectionBuilder(NameSplitter splitter, MatchCandidateList candidates) {
1474 this.mNameLookupCandidates = candidates;
1514 MatchCandidateList candidates, ContactMatcher matcher) {
1515 candidates.clear();
1517 mNameSplitter, candidates);
1629 private void lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates,
1632 for (int i = 0; i < candidates.mCount; i++) {
1633 final NameMatchCandidate candidate = candidates.mList.get(i);
1645 matchAllCandidates(db, selection, candidates, matcher,
1672 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) {
1683 // since the number of candidates is very small and in general secondary hits
1685 for (int i = 0; i < candidates.mCount; i++) {
1686 NameMatchCandidate candidate = candidates.mList.get(i);
2441 MatchCandidateList candidates = new MatchCandidateList();
2453 updateMatchScoresForSuggestionsBasedOnDataMatches(db, rawContactId, candidates,
2460 updateMatchScoresForSuggestionsBasedOnDataMatches(db, candidates,
2471 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) {
2477 loadNameMatchCandidates(db, rawContactId, candidates, false);
2478 lookupApproximateNameMatches(db, candidates, matcher);
2482 MatchCandidateList candidates, ContactMatcher matcher,
2486 updateMatchScoresBasedOnNameMatches(db, parameter.value, candidates, matcher);