Searched defs:maxSuggestions (Results 1 - 3 of 3) sorted by relevance

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DWebPromoterTest.java101 int maxSuggestions) {
104 promoter.pickPromoted(suggestions, maxSuggestions, promoted);
100 promote(Suggestions suggestions, int maxShortcuts, int maxSuggestions) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DSuggest.java236 * @param maxSuggestions
239 public void setMaxSuggestions(int maxSuggestions) { argument
240 if (maxSuggestions < 1 || maxSuggestions > 100) {
241 throw new IllegalArgumentException("maxSuggestions must be between 1 and 100");
243 mPrefMaxSuggestions = maxSuggestions;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactAggregator.java2160 String[] projection, long contactId, int maxSuggestions, String filter,
2166 return queryMatchingContacts(qb, db, projection, bestMatches, maxSuggestions, filter);
2185 String[] projection, List<MatchScore> bestMatches, int maxSuggestions, String filter) {
2226 if (bestMatches.size() > maxSuggestions) {
2227 limitedMatches = bestMatches.subList(0, maxSuggestions);
2159 queryAggregationSuggestions(SQLiteQueryBuilder qb, String[] projection, long contactId, int maxSuggestions, String filter, ArrayList<AggregationSuggestionParameter> parameters) argument
2184 queryMatchingContacts(SQLiteQueryBuilder qb, SQLiteDatabase db, String[] projection, List<MatchScore> bestMatches, int maxSuggestions, String filter) argument

Completed in 67 milliseconds