Home
last modified time | relevance | path

Searched refs:shortcuts (Results 1 – 17 of 17) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DShortcutLimitingPromoter.java51 public void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
54 final int shortcutCount = shortcuts == null ? 0 : shortcuts.getCount(); in pickPromoted()
57 filteredShortcuts = new ListSuggestionCursor(shortcuts.getUserQuery()); in pickPromoted()
61 shortcuts.moveTo(i); in pickPromoted()
62 Source source = shortcuts.getSuggestionSource(); in pickPromoted()
70 filteredShortcuts.add(new SuggestionPosition(shortcuts)); in pickPromoted()
DShortcutPromoter.java43 public void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
46 int shortcutCount = shortcuts == null ? 0 : shortcuts.getCount(); in pickPromoted()
54 promoted.add(new SuggestionPosition(shortcuts, i)); in pickPromoted()
DPromoterWrapper.java39 public void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
43 mNextPromoter.pickPromoted(shortcuts, suggestions, maxPromoted, promoted); in pickPromoted()
DSuggestions.java204 public void setShortcuts(ShortcutCursor shortcuts) { in setShortcuts() argument
205 if (DBG) Log.d(TAG, "setShortcuts(" + shortcuts + ")"); in setShortcuts()
206 mShortcuts = shortcuts; in setShortcuts()
207 if (shortcuts != null) { in setShortcuts()
DDefaultCorpusRanker.java35 public DefaultCorpusRanker(Corpora corpora, ShortcutRepository shortcuts) { in DefaultCorpusRanker() argument
37 mShortcuts = shortcuts; in DefaultCorpusRanker()
DPromoter.java35 void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
DShortcutCursor.java47 private ShortcutCursor(String query, SuggestionCursor shortcuts, Handler uiThread, in ShortcutCursor() argument
50 mShortcuts = shortcuts; in ShortcutCursor()
DSuggestionsProviderImpl.java163 ShortcutCursor shortcuts = getShortcutsForQuery(query, singleCorpus); in getSuggestions() local
164 if (shortcuts != null) { in getSuggestions()
165 suggestions.setShortcuts(shortcuts); in getSuggestions()
DConcatPromoter.java26 public void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
DRoundRobinPromoter.java38 public void pickPromoted(SuggestionCursor shortcuts, in pickPromoted() argument
DRankAwarePromoter.java41 public void pickPromoted(SuggestionCursor shortcuts, ArrayList<CorpusResult> suggestions, in pickPromoted() argument
DShortcutRepositoryImplLog.java253 ShortcutCursor shortcuts = getShortcutsForQuery(query, allowedCorpora, in getShortcutsForQuery() local
256 return shortcuts; in getShortcutsForQuery()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DSourceShortcutRefresherTest.java73 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshNull() local
74 mRefresher.refresh(shortcuts, mListener); in testRefreshNull()
84 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshEmpty() local
85 mRefresher.refresh(shortcuts, mListener); in testRefreshEmpty()
95 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshSuccess() local
96 mRefresher.refresh(shortcuts, mListener); in testRefreshSuccess()
DShortcutLimitingPromoterTest.java114 private SuggestionCursor promote(SuggestionCursor shortcuts, int maxShortcutsPerWebSource, in promote() argument
120 promoter.pickPromoted(shortcuts, null, maxPromoted, promoted); in promote()
125 public void pickPromoted(SuggestionCursor shortcuts, ArrayList<CorpusResult> suggestions, in pickPromoted() argument
127 SuggestionCursorUtil.addAll(promoted, shortcuts); in pickPromoted()
/packages/inputmethods/LatinIME/tests/res/raw/
Dtesttext.txt14 …scrolling through many pages, taking advantage of standard web keyboard shortcuts such as Page Up …
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncher.java2194 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end) { in bindItems() argument
2201 final ItemInfo item = shortcuts.get(i); in bindItems()
DLauncherModel.java102 public void bindItems(ArrayList<ItemInfo> shortcuts, int start, int end); in bindItems() argument