Searched refs:SourceResult (Results 1 – 13 of 13) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | MultiSourceCorpus.java | 78 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()
|
D | WebCorpus.java | 164 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()
|
D | Source.java | 31 public interface Source extends SuggestionCursorProvider<SourceResult> { 148 SourceResult getSuggestions(String query, int queryLimit, boolean onlySource); in getSuggestions()
|
D | SourceResult.java | 22 public interface SourceResult extends SuggestionCursor { interface
|
D | CursorBackedSourceResult.java | 24 implements SourceResult {
|
D | SingleSourceCorpus.java | 62 SourceResult sourceResult = mSource.getSuggestions(query, queryLimit, true); in getSuggestions()
|
D | SearchableSource.java | 312 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { in getSuggestions()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | AbstractGoogleSource.java | 22 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()
|
D | GoogleSource.java | 19 import com.android.quicksearchbox.SourceResult; 32 SourceResult queryInternal(String query); in queryInternal() 37 SourceResult queryExternal(String query); in queryExternal()
|
D | GoogleSuggestClient.java | 22 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()
|
D | GoogleSuggestionProvider.java | 22 import com.android.quicksearchbox.SourceResult; 66 private SourceResult emptyIfNull(SourceResult result, Source source, String query) { in emptyIfNull()
|
D | AbstractGoogleSourceResult.java | 20 import com.android.quicksearchbox.SourceResult; 28 public abstract class AbstractGoogleSourceResult implements SourceResult {
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockSource.java | 136 public SourceResult getSuggestions(String query, int queryLimit, boolean onlySource) { in getSuggestions() 173 private class Result extends SuggestionCursorWrapper implements SourceResult {
|