Searched defs:candidates (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestedWords.java257 public static void removeDups(ArrayList<SuggestedWordInfo> candidates) { argument
258 if (candidates.size() <= 1) {
262 while (i < candidates.size()) {
263 final SuggestedWordInfo cur = candidates.get(i);
265 final SuggestedWordInfo previous = candidates.get(j);
267 candidates.remove(cur.mScore < previous.mScore ? i : j);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java660 MatchCandidateList candidates = new MatchCandidateList();
679 candidates, matcher);
717 long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates,
735 candidates.clear();
745 contactId = pickBestMatchBasedOnData(db, rawContactId, candidates, matcher);
1260 MatchCandidateList candidates, ContactMatcher matcher) {
1269 bestMatch = pickBestMatchBasedOnSecondaryData(db, rawContactId, candidates, matcher);
1285 long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) {
1292 loadNameMatchCandidates(db, rawContactId, candidates, true);
1307 matchAllCandidates(db, mSb.toString(), candidates, matche
716 aggregateContact(TransactionContext txContext, SQLiteDatabase db, long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1259 pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1284 pickBestMatchBasedOnSecondaryData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1329 loadNameMatchCandidates(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, boolean structuredNameBased) argument
1491 NameLookupSelectionBuilder(NameSplitter splitter, MatchCandidateList candidates) argument
1532 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, String query, MatchCandidateList candidates, ContactMatcher matcher) argument
1648 lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher) argument
1690 matchAllCandidates(SQLiteDatabase db, String selection, MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) argument
2523 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
2534 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher, ArrayList<AggregationSuggestionParameter> parameters) argument
[all...]

Completed in 64 milliseconds