/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/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
CombinedInputOutput.java | 128 ArrayList<WeightedString> shortcuts = new ArrayList<WeightedString>(); local 134 dict.add(word, freq, shortcuts.isEmpty() ? null : shortcuts, isNotAWord); 139 if (!shortcuts.isEmpty()) shortcuts = new ArrayList<WeightedString>(); 168 shortcuts.add(new WeightedString(shortcut, shortcutFreq)); 192 dict.add(word, freq, shortcuts.isEmpty() ? null : shortcuts, isNotAWord);
|
DictionaryMaker.java | 98 + " with XML input (other formats include bigrams and shortcuts already)"); 330 final FileInputStream shortcuts = null == shortcutXmlFilename ? null : local 334 return XmlDictInputOutput.readDictionaryXml(unigrams, shortcuts, bigrams);
|
/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/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOTests.java | 165 final ArrayList<WeightedString> shortcuts = CollectionUtils.newArrayList(); local 168 shortcuts.add(new WeightedString(shortcut, UNIGRAM_FREQ)); 171 dict.add(word, UNIGRAM_FREQ, (shortcutMap == null) ? null : shortcuts, 275 final SparseArray<List<Integer>> bigrams, final Map<String, List<String>> shortcuts, 288 addUnigrams(words.size(), dict, words, shortcuts); local 290 checkDictionary(dict, words, bigrams, shortcuts); 293 final long read = timeReadingAndCheckDict(file, words, bigrams, shortcuts, bufferType); 301 results.add(runReadAndWrite(sWords, sEmptyBigrams, null /* shortcuts */, bufferType, 303 results.add(runReadAndWrite(sWords, sChainBigrams, null /* shortcuts */, bufferType, 305 results.add(runReadAndWrite(sWords, sStarBigrams, null /* shortcuts */, bufferType [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
SubtypeSwitcher.java | 132 final Map<InputMethodInfo, List<InputMethodSubtype>> shortcuts = local 136 for (final InputMethodInfo imi : shortcuts.keySet()) { 137 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); 138 // TODO: Returns the first found IMI for now. Should handle all shortcuts as
|
/system/core/libpixelflinger/ |
scanline.cpp | 177 static shortcut_t shortcuts[] = { member in namespace:android 360 const int numFilters = sizeof(shortcuts)/sizeof(shortcut_t); 362 if (c->state.needs.match(shortcuts[i].filter)) { 363 c->scanline = shortcuts[i].scanline; 364 c->init_y = shortcuts[i].init_y; [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 | |