/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:__anon2456::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...] |