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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggestedWords.java175 public static void removeDups(ArrayList<SuggestedWordInfo> candidates) { argument
176 if (candidates.size() <= 1) {
180 while (i < candidates.size()) {
181 final SuggestedWordInfo cur = candidates.get(i);
183 final SuggestedWordInfo previous = candidates.get(j);
185 candidates.remove(cur.mScore < previous.mScore ? i : j);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator.java648 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, matche
704 aggregateContact(TransactionContext txContext, SQLiteDatabase db, long rawContactId, long accountId, long currentContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1240 pickBestMatchBasedOnData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1265 pickBestMatchBasedOnSecondaryData(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
1310 loadNameMatchCandidates(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, boolean structuredNameBased) argument
1472 NameLookupSelectionBuilder(NameSplitter splitter, MatchCandidateList candidates) argument
1513 updateMatchScoresBasedOnNameMatches(SQLiteDatabase db, String query, MatchCandidateList candidates, ContactMatcher matcher) argument
1629 lookupApproximateNameMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher) argument
1671 matchAllCandidates(SQLiteDatabase db, String selection, MatchCandidateList candidates, ContactMatcher matcher, int algorithm, String limit) argument
2470 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, long rawContactId, MatchCandidateList candidates, ContactMatcher matcher) argument
2481 updateMatchScoresForSuggestionsBasedOnDataMatches(SQLiteDatabase db, MatchCandidateList candidates, ContactMatcher matcher, ArrayList<AggregationSuggestionParameter> parameters) argument
[all...]

Completed in 159 milliseconds