Home
last modified time | relevance | path

Searched refs:ShortcutCursor (Results 1 – 7 of 7) sorted by relevance

/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockShortcutRepository.java46 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()
DWebPromoterTest.java72 mSuggestions.setShortcuts(new ShortcutCursor(mShortcuts)); in setUp()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutCursor.java30 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
DSuggestions.java43 private ShortcutCursor mShortcuts;
138 public void setShortcuts(ShortcutCursor shortcuts) { in setShortcuts()
277 public ShortcutCursor getShortcuts() { in getShortcuts()
DShortcutRepositoryImplLog.java270 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()
DSearchActivity.java646 Consumer<ShortcutCursor> consumer = Consumers.createAsyncCloseableConsumer(mHandler, in getShortcutsForQuery()
647 new Consumer<ShortcutCursor>() { in getShortcutsForQuery()
648 public boolean consume(ShortcutCursor shortcuts) { in getShortcutsForQuery()
DShortcutRepository.java76 Consumer<ShortcutCursor> consumer); in getShortcutsForQuery()