Lines Matching defs:candidates

586         MatchCandidateList candidates = new MatchCandidateList();
609 candidates, matcher);
648 long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) {
661 candidates.clear();
671 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher);
1083 MatchCandidateList candidates, ContactMatcher matcher) {
1092 bestMatch = pickBestMatchBasedOnSecondaryData(db, rawContactId, candidates, matcher);
1108 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) {
1115 loadNameMatchCandidates(db, rawContactId, candidates, true);
1130 matchAllCandidates(db, mSb.toString(), candidates, matcher,
1153 MatchCandidateList candidates, boolean structuredNameBased) {
1154 candidates.clear();
1165 candidates.add(normalizedName, type);
1314 public NameLookupSelectionBuilder(NameSplitter splitter, MatchCandidateList candidates) {
1316 this.mNameLookupCandidates = candidates;
1356 MatchCandidateList candidates, ContactMatcher matcher) {
1357 candidates.clear();
1359 mNameSplitter, candidates);
1471 private void lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates,
1474 for (int i = 0; i < candidates.mCount; i++) {
1475 final NameMatchCandidate candidate = candidates.mList.get(i);
1486 matchAllCandidates(db, selection, candidates, matcher,
1513 MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) {
1524 // since the number of candidates is very small and in general secondary hits
1526 for (int i = 0; i < candidates.mCount; i++) {
1527 NameMatchCandidate candidate = candidates.mList.get(i);
2274 MatchCandidateList candidates = new MatchCandidateList();
2286 updateMatchScoresForSuggestionsBasedOnDataMatches(db, rawContactId, candidates,
2293 updateMatchScoresForSuggestionsBasedOnDataMatches(db, candidates,
2304 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) {
2310 loadNameMatchCandidates(db, rawContactId, candidates, false);
2311 lookupApproximateNameMatches(db, candidates, matcher);
2315 MatchCandidateList candidates, ContactMatcher matcher,
2319 updateMatchScoresBasedOnNameMatches(db, parameter.value, candidates, matcher);