Searched refs:mShortcuts (Results 1 - 7 of 7) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
H A DClearShortcutsController.java36 private final ShortcutRepository mShortcuts; field in class:ClearShortcutsController
43 mShortcuts = shortcuts;
78 mShortcuts.hasHistory(Consumers.createAsyncConsumer(mHandler, new Consumer<Boolean>() {
90 mShortcuts.clearHistory();
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestions.java43 private ShortcutCursor mShortcuts; field in class:Suggestions
140 if (mShortcuts != null) {
141 throw new IllegalStateException("Got duplicate shortcuts: old: " + mShortcuts
153 mShortcuts = shortcuts;
155 mShortcuts.registerDataSetObserver(mShortcutsObserver);
260 if (mShortcuts != null) {
261 mShortcuts.close();
262 mShortcuts = null;
278 return mShortcuts;
H A DDefaultCorpusRanker.java41 private final ShortcutRepository mShortcuts; field in class:DefaultCorpusRanker
57 mShortcuts = shortcuts;
80 mShortcuts.getCorpusScores(new Consumer<Map<String,Integer>>(){
H A DShortcutCursor.java35 // mShortcuts is used to close the underlying cursor when we're closed.
36 private final SuggestionCursor mShortcuts; field in class:ShortcutCursor
50 mShortcuts = shortcuts;
149 if (mShortcuts != null) {
150 mShortcuts.close();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
H A DResultPromoterTest.java49 private SuggestionCursor mShortcuts; field in class:ResultPromoterTest
61 mShortcuts = cursor(mS11, mS12, mS21, mS22, mWeb1, mWeb2);
72 SuggestionCursor promoted = promoteShortcuts(mShortcuts);
H A DWebPromoterTest.java49 private SuggestionCursor mShortcuts; field in class:WebPromoterTest
62 mShortcuts = cursor(mS11, mS12, mS21, mS22, mWeb1, mWeb2);
72 mSuggestions.setShortcuts(new ShortcutCursor(mShortcuts));
H A DRankAwarePromoterTest.java36 private final Corpus mShortcuts = createMockShortcutsCorpus(); field in class:RankAwarePromoterTest
114 SuggestionCursor shortcuts = mShortcuts.

Completed in 91 milliseconds