Searched refs:ShortcutCursor (Results 1 – 7 of 7) sorted by relevance
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | MockShortcutRepository.java | 46 boolean allowWebSearchShortcuts, Consumer<ShortcutCursor> consumer) { in getShortcutsForQuery() 47 ShortcutCursor cursor = getShortcutsForQuery(query, corporaToQuery); in getShortcutsForQuery() 54 public ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> corporaToQuery) { in getShortcutsForQuery() 56 ShortcutCursor cursor = new ShortcutCursor(query, null, null, null); in getShortcutsForQuery()
|
D | WebPromoterTest.java | 72 mSuggestions.setShortcuts(new ShortcutCursor(mShortcuts)); in setUp()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | ShortcutCursor.java | 30 public class ShortcutCursor extends ListSuggestionCursor { class 47 private ShortcutCursor(String query, SuggestionCursor shortcuts, Handler uiThread, in ShortcutCursor() method in ShortcutCursor 58 ShortcutCursor(String query, Handler uiThread, in ShortcutCursor() method in ShortcutCursor 64 ShortcutCursor(SuggestionCursor suggestions) { in ShortcutCursor() method in ShortcutCursor 68 public ShortcutCursor(SuggestionCursor suggestions, boolean allowWebSearchShortcuts, in ShortcutCursor() method in ShortcutCursor
|
D | Suggestions.java | 43 private ShortcutCursor mShortcuts; 138 public void setShortcuts(ShortcutCursor shortcuts) { in setShortcuts() 277 public ShortcutCursor getShortcuts() { in getShortcuts()
|
D | ShortcutRepositoryImplLog.java | 270 final boolean allowWebSearchShortcuts, final Consumer<ShortcutCursor> consumer) { in getShortcutsForQuery() 274 ShortcutCursor shortcuts = getShortcutsForQuery(query, allowedCorpora, in getShortcutsForQuery() 316 ShortcutCursor getShortcutsForQuery(String query, Collection<Corpus> allowedCorpora, in getShortcutsForQuery() 338 return new ShortcutCursor(new SuggestionCursorImpl(allowedSources, query, cursor), in getShortcutsForQuery()
|
D | SearchActivity.java | 646 Consumer<ShortcutCursor> consumer = Consumers.createAsyncCloseableConsumer(mHandler, in getShortcutsForQuery() 647 new Consumer<ShortcutCursor>() { in getShortcutsForQuery() 648 public boolean consume(ShortcutCursor shortcuts) { in getShortcutsForQuery()
|
D | ShortcutRepository.java | 76 Consumer<ShortcutCursor> consumer); in getShortcutsForQuery()
|