/external/chromium_org/chrome/browser/ui/app_list/search/ |
tokenized_string_match.h | 20 // calculates a relevance score between [0, 1] and marks the matched portions 21 // of text. A relevance of zero means the two are completely different to each 22 // other. The higher the relevance score, the better the two strings are 31 // Calculates the relevance and hits. Returns true if the two strings are 32 // somewhat matched, i.e. relevance score is not zero. 38 double relevance() const { return relevance_; } function in class:app_list::TokenizedStringMatch
|
chrome_search_result.h | 50 double relevance() { return relevance_; } function in class:app_list::ChromeSearchResult 54 void set_relevance(double relevance) { relevance_ = relevance; }
|
mixer_unittest.cc | 23 TestSearchResult(const std::string& id, double relevance) { 26 set_relevance(relevance); 36 new TestSearchResult(id(), relevance())).Pass(); 58 const double relevance = 1.0 - i / 10.0; variable 60 new TestSearchResult(id, relevance)).Pass());
|
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_result_unittest.cc | 22 // Relevance score. 23 int relevance; member in struct:AutocompleteResultTest::TestData 60 match->relevance = data.relevance; 85 EXPECT_EQ(expected_match.relevance, match.relevance) << i; 143 // Tests that if the new results have a lower max relevance score than last, 144 // any copied results have their relevance shifted down.
|
extension_app_provider.cc | 75 match.relevance = CalculateRelevance(input.type(), 169 int relevance = 575 + static_cast<int>(type_count_boost) + local 171 DCHECK_LE(relevance, kMaxRelevance); 172 return relevance;
|
autocomplete_match.h | 87 int relevance, 133 // The relevance of this match. See table in autocomplete.h for scores 136 // supply matches with appropriate relevance. 140 int relevance; member in struct:AutocompleteMatch
|
history_contents_provider.cc | 32 MatchReference(const history::URLResult* result, int relevance) 34 relevance(relevance) { 38 int relevance; // Score of relevance computed by CalculateRelevance. member in struct:__anon4271::MatchReference 43 if (a.relevance != b.relevance) 44 return a.relevance > b.relevance; 175 // Reset the relevance counters so that result relevance won't vary o [all...] |
search_provider.cc | 611 // History returns results sorted for us. We force the relevance to decrease 613 // match having a relevance greater than the previous, but they might be 614 // equal. If we didn't force the relevance to decrease and we ended up in a 615 // situation where the relevance was equal, then which was shown first would 618 // relevance. 639 int relevance = CalculateRelevanceForHistory(i->time, term_looks_like_url, local 641 if (i != results.begin() && relevance >= last_relevance) 642 relevance = last_relevance - 1; 643 last_relevance = relevance; 646 relevance, [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_match.h | 86 int relevance, 236 // The relevance of this match. See table in autocomplete.h for scores 239 // supply matches with appropriate relevance. 243 int relevance; member in struct:AutocompleteMatch
|
autocomplete_result_unittest.cc | 35 // Relevance score. 36 int relevance; member in struct:AutocompleteResultTest::TestData 98 match->relevance = data.relevance; 124 EXPECT_EQ(expected_match.relevance, match.relevance) << i; 167 match.relevance = 1; 186 // Tests that if the new results have a lower max relevance score than last, 187 // any copied results have their relevance shifted down. 257 // lower-relevance one should be dropped. All of the results with empty URL [all...] |
extension_app_provider.cc | 93 match.relevance = CalculateRelevance( 221 int relevance = 575 + static_cast<int>(type_count_boost) + local 223 DCHECK_LE(relevance, kMaxRelevance); 224 return relevance;
|
shortcuts_provider.cc | 165 // Don't return shortcuts with zero relevance. 166 int relevance = CalculateScore(term_string, it->second, max_relevance); local 167 if (relevance) 168 matches_.push_back(ShortcutToACMatch(relevance, term_string, it->second)); 178 // Reset relevance scores to guarantee no match is given a score that may 192 max_relevance = std::min(max_relevance, it->relevance); 193 it->relevance = max_relevance; 201 int relevance, 205 AutocompleteMatch match(this, relevance, true,
|
search_provider.h | 64 // |relevance|, and |type|, which represents a search via |template_url| for 82 int relevance, 161 // simply containing relevance-ranked search and navigation suggestions. 170 int relevance, 176 int relevance() const { return relevance_; } function in class:SearchProvider::Result 177 void set_relevance(int relevance) { relevance_ = relevance; } 188 // Returns the default relevance value for this result (which may 199 // The relevance score. 203 // Whether this result's relevance score was fully or partly calculate [all...] |
zero_suggest_provider.cc | 69 // The maximum relevance of the top match from this provider. 72 // Relevance value to use if it was not set explicitly by the server. 251 // Reset suggested relevance information from the provider. 285 int relevance = kDefaultZeroSuggestRelevance; local 287 // Apply valid suggested relevance scores; discard invalid lists. 288 if (relevances != NULL && !relevances->GetInteger(index, &relevance)) 297 *this, url, title, false, relevance, relevances != NULL)); 301 result, false, relevance, relevances != NULL)); 311 AddMatchToMap(results[i].relevance(), AutocompleteMatchType::SEARCH_SUGGEST, 316 void ZeroSuggestProvider::AddMatchToMap(int relevance, [all...] |
history_url_provider.cc | 456 what_you_typed_match.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0); 531 int relevance = -1; local 534 relevance = std::max(relevance, it->relevance); 556 relevance = (relevance > 0) ? (relevance - 1) : 559 NORMAL, relevance); 636 what_you_typed.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0) [all...] |
history_url_provider_unittest.cc | 328 EXPECT_LT(matches_.front().relevance, 1200); 335 EXPECT_GE(matches_.front().relevance, 1410); 556 int pandora_relevance = matches_[0].relevance; 564 EXPECT_EQ(pandora_relevance, matches_[0].relevance); 610 EXPECT_LE(1200, matches_[0].relevance); 611 EXPECT_LT(matches_[0].relevance, 1210); 617 int relevance; member in struct:TestCase 630 if (test_cases[i].relevance == 0) { 639 // Actual relevance should be at least what test_cases expects and 641 EXPECT_LE(test_cases[i].relevance, matches_[0].relevance) 650 int relevance; member in struct:TestCase [all...] |
search_provider_unittest.cc | 405 EXPECT_GT(term1_match.relevance, wyt_match.relevance); 545 EXPECT_GT(wyt_match.relevance, term_match.relevance); 563 EXPECT_GT(wyt_match.relevance, term_match.relevance); 571 EXPECT_GT(term_match.relevance, wyt_match.relevance); 588 EXPECT_GT(term_match.relevance, wyt_match.relevance); 2322 const int relevance; member in struct:__anon6634::__anon6635 [all...] |
search_provider.cc | 123 int relevance, 126 relevance_(relevance), 138 int relevance, 140 : Result(from_keyword_provider, relevance, relevance_from_server), 167 int relevance, 169 : Result(from_keyword_provider, relevance, relevance_from_server), 197 // Sort in descending relevance order. 198 return a.relevance() > b.relevance(); 262 int relevance, 912 int relevance = -1; local 1261 int relevance = CalculateRelevanceForHistory( local [all...] |
/external/chromium_org/chrome/common/ |
instant_types.h | 101 // The relevance score of this match, same as AutocompleteMatch::relevance. 102 int relevance; member in struct:InstantAutocompleteResult
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar | |
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar | |