Home | History | Annotate | Download | only in quicksearchbox

Lines Matching refs:query

30  * The provider will only handle a single query at a time. If a new query comes
61 public Suggestions getSuggestions(String query, Source sourceToQuery) {
62 if (DBG) Log.d(TAG, "getSuggestions(" + query + ")");
63 final Suggestions suggestions = new Suggestions(query, sourceToQuery);
64 Log.i(TAG, "chars:" + query.length() + ",source:" + sourceToQuery);
67 if (shouldDisplayResults(query)) {
75 QueryTask.startQuery(query, maxResults, sourceToQuery, mQueryExecutor,
81 private boolean shouldDisplayResults(String query) {
82 if (query.length() == 0 && !mConfig.showSuggestionsForZeroQuery()) {
84 // useful to run the query itself because it warms up the network