HomeSort by relevance Sort by last modified time
    Searched defs:shortcuts (Results 1 - 13 of 13) sorted by null

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SingleCorpusPromoter.java 22 * Promotes shortcuts and suggestions from a single corpus.
43 // Add shortcuts
44 SuggestionCursor shortcuts = suggestions.getShortcuts(); local
45 promoteUntilFull(shortcuts, mMaxShortcuts, promoted);
WebPromoter.java 35 // Add web shortcuts
36 SuggestionCursor shortcuts = suggestions.getShortcuts(); local
37 int shortcutCount = shortcuts == null ? 0 : shortcuts.getCount();
41 shortcuts.moveTo(i);
42 if (shortcuts.isWebSearchSuggestion()) {
44 promoted.add(new SuggestionPosition(shortcuts, i));
Suggestions.java 136 * @param shortcuts The shortcuts.
138 public void setShortcuts(ShortcutCursor shortcuts) {
139 if (DBG) Log.d(TAG, "setShortcuts(" + shortcuts + ")");
141 throw new IllegalStateException("Got duplicate shortcuts: old: " + mShortcuts
142 + ", new: " + shortcuts);
144 if (shortcuts == null) return;
146 shortcuts.close();
149 if (!mQuery.equals(shortcuts.getUserQuery())) {
150 throw new IllegalArgumentException("Got shortcuts for wrong query:
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/preferences/
PreferenceControllerFactory.java 54 ShortcutRepository shortcuts = QsbApplication.get(getContext()).getShortcutRepository(); local
55 addController(new ClearShortcutsController(shortcuts), p);
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
BlendingPromoterTest.java 118 SuggestionCursor shortcuts = cursor(mS11, mS12, mS21, mS22, mWeb1, mWeb2); local
119 ListSuggestionCursorNoDuplicates promoted = promote(config(), shortcuts, maxPromoted);
120 int expectedCount = Math.min(maxPromoted, shortcuts.getCount());
122 int count = Math.min(maxPromoted, shortcuts.getCount());
123 assertSameSuggestions(slice(promoted, 0, count), slice(shortcuts, 0, count));
126 private SuggestionCursor limit(SuggestionCursor shortcuts, int maxShortcutsPerWebSource,
130 return promote(config, shortcuts, maxPromoted);
133 private ListSuggestionCursorNoDuplicates promote(Config config, SuggestionCursor shortcuts,
138 promoter.promoteShortcuts(shortcuts, maxPromoted, promoted);
RankAwarePromoterTest.java 114 SuggestionCursor shortcuts = mShortcuts. local
116 for (int i = 0; i < shortcuts.getCount(); ++i) {
117 promoted.add(new SuggestionPosition(shortcuts, 1));
142 Source mockSource = new MockSource("Shortcuts");
SourceShortcutRefresherTest.java 73 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); local
74 mRefresher.refresh(shortcuts, mListener);
84 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); local
85 mRefresher.refresh(shortcuts, mListener);
95 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); local
96 mRefresher.refresh(shortcuts, mListener);
  /packages/inputmethods/LatinIME/tools/makedict/src/com/android/inputmethod/latin/makedict/
DictionaryMaker.java 106 + "[-s <unigrams.xml> [-b <bigrams.xml>] [-c <shortcuts.xml>] "
252 final FileInputStream shortcuts = null == shortcutXmlFilename ? null : local
256 return XmlDictInputOutput.readDictionaryXml(unigrams, shortcuts, bigrams);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
SubtypeSwitcher.java 158 final Map<InputMethodInfo, List<InputMethodSubtype>> shortcuts = local
162 for (InputMethodInfo imi : shortcuts.keySet()) {
163 List<InputMethodSubtype> subtypes = shortcuts.get(imi);
164 // TODO: Returns the first found IMI for now. Should handle all shortcuts as
  /system/core/libpixelflinger/
scanline.cpp 166 static shortcut_t shortcuts[] = { member in namespace:android
344 const int numFilters = sizeof(shortcuts)/sizeof(shortcut_t);
346 if (c->state.needs.match(shortcuts[i].filter)) {
347 c->scanline = shortcuts[i].scanline;
348 c->init_y = shortcuts[i].init_y;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
AppsCustomizePagedView.java 233 * The Apps/Customize page that displays all the applications, widgets, and shortcuts.
550 // Get the list of widgets and shortcuts
555 List<ResolveInfo> shortcuts = mPackageManager.queryIntentActivities(shortcutsIntent, 0); local
575 mWidgets.addAll(shortcuts);
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.workbench_3.6.1.M20101117-0800.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar 

Completed in 1583 milliseconds