Home
last modified time | relevance | path

Searched refs:SourceResult (Results 1 – 13 of 13) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DMultiSourceCorpus.java78 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { in createResult()
140 BarrierConsumer<SourceResult> consumer = in getSuggestions()
141 new BarrierConsumer<SourceResult>(sources.size()); in getSuggestions()
144 QueryTask<SourceResult> task = new QueryTask<SourceResult>(query, queryLimit, in getSuggestions()
148 ArrayList<SourceResult> results = consumer.getValues(); in getSuggestions()
163 private final ArrayList<SourceResult> mResults;
167 public Result(String userQuery, ArrayList<SourceResult> results, int latency) { in Result()
173 protected ArrayList<SourceResult> getResults() { in getResults()
182 for (SourceResult result : getResults()) { in fill()
202 for (SourceResult result : mResults) { in close()
DWebCorpus.java164 protected Result createResult(String query, ArrayList<SourceResult> results, int latency) { in createResult()
170 public WebResult(String query, ArrayList<SourceResult> results, int latency) { in WebResult()
176 SourceResult webSearchResult = null; in fill()
177 SourceResult browserResult = null; in fill()
178 for (SourceResult result : getResults()) { in fill()
DSource.java31 public interface Source extends SuggestionCursorProvider<SourceResult> {
148 SourceResult getSuggestions(String query, int queryLimit, boolean onlySource); in getSuggestions()
DSourceResult.java22 public interface SourceResult extends SuggestionCursor { interface
DCursorBackedSourceResult.java24 implements SourceResult {
DSingleSourceCorpus.java62 SourceResult sourceResult = mSource.getSuggestions(query, queryLimit, true); in getSuggestions()
DSearchableSource.java312 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { in getSuggestions()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSource.java22 import com.android.quicksearchbox.SourceResult;
56 public abstract SourceResult queryInternal(String query); in queryInternal()
61 public abstract SourceResult queryExternal(String query); in queryExternal()
92 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { in getSuggestions()
96 public SourceResult getSuggestionsExternal(String query) { in getSuggestionsExternal()
100 private SourceResult emptyIfNull(SourceResult result, String query) { in emptyIfNull()
DGoogleSource.java19 import com.android.quicksearchbox.SourceResult;
32 SourceResult queryInternal(String query); in queryInternal()
37 SourceResult queryExternal(String query); in queryExternal()
DGoogleSuggestClient.java22 import com.android.quicksearchbox.SourceResult;
84 public SourceResult queryInternal(String query) { in queryInternal()
89 public SourceResult queryExternal(String query) { in queryExternal()
97 private SourceResult query(String query) { in query()
DGoogleSuggestionProvider.java22 import com.android.quicksearchbox.SourceResult;
66 private SourceResult emptyIfNull(SourceResult result, Source source, String query) { in emptyIfNull()
DAbstractGoogleSourceResult.java20 import com.android.quicksearchbox.SourceResult;
28 public abstract class AbstractGoogleSourceResult implements SourceResult {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSource.java136 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { in getSuggestions()
173 private class Result extends SuggestionCursorWrapper implements SourceResult {