/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
RankAwarePromoter.java | 87 * Tries to promote the same number of elements from each corpus. 161 * @param results the list of CorpusResults from which to promote. 163 * @param maxPromoted maximum number of suggestions to promote. 175 count += promote(result, stripeSize, promoted); 192 private int promote(SuggestionCursor cursor, int count, ListSuggestionCursor promoted) { method in class:RankAwarePromoter
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
BlendingPromoterTest.java | 119 ListSuggestionCursorNoDuplicates promoted = promote(config(), shortcuts, maxPromoted); 130 return promote(config, shortcuts, maxPromoted); 133 private ListSuggestionCursorNoDuplicates promote(Config config, SuggestionCursor shortcuts, method in class:BlendingPromoterTest
|
SuggestionsProviderImplTest.java | 65 assertEquals(0, promote(suggestions).getCount()); 70 promote(suggestions).getCount()); 87 assertEquals(0, promote(suggestions).getCount()); 90 assertEquals("Incorrect promoted: " + promote(suggestions), 91 corpus1Count, promote(suggestions).getCount()); 94 assertEquals("Incorrect promoted: " + promote(suggestions), 95 corpus1Count + corpus2Count, promote(suggestions).getCount()); 102 private SuggestionCursor promote(Suggestions suggestions) { method in class:SuggestionsProviderImplTest
|
WebPromoterTest.java | 77 SuggestionCursor promoted = promote(mSuggestions, 0, 1); 85 SuggestionCursor promoted = promote(mSuggestions, 1, 1); 93 SuggestionCursor promoted = promote(mSuggestions, 1, 2); 100 private ListSuggestionCursor promote(Suggestions suggestions, int maxShortcuts, method in class:WebPromoterTest
|
/external/chromium/chrome/browser/autocomplete/ |
history_url_provider.cc | 208 // need to promote lower-quality matches that are prefixes of 231 // Try to promote a match as an exact/inline autocomplete match. This also 249 // Failed to promote any URLs for inline autocompletion. Use the What You 404 // Promote as an exact match. 415 // Promote the first match if it's been typed at least n times, where n == 1 514 bool promote = true; local 531 // Try to get info on the search base itself. Promote it to the top if the 534 promote = match.url_info.typed_count() <= 1; 537 // Promote or add the desired URL to the list of matches. 539 matches, promote); [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
Intermediate.cpp | 199 // one and promote it to the right type. 208 if (!node->promote(infoSink)) 249 if (! node->promote(infoSink)) 309 // Do we need to promote the operand? 355 if (! node->promote(infoSink)) 819 bool TIntermUnary::promote(TInfoSink&) function in class:TIntermUnary 857 bool TIntermBinary::promote(TInfoSink& infoSink) function in class:TIntermBinary 894 // Promote to conditional [all...] |