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

  /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 52 double relevance() { return relevance_; } function in class:app_list::ChromeSearchResult
56 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:__anon1558::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,
237 // The relevance of this match. See table in autocomplete.h for scores
240 // supply matches with appropriate relevance.
244 int relevance; member in struct:AutocompleteMatch
autocomplete_result_unittest.cc 36 match.relevance = last_match ? last_match->relevance - 100 : 1300;
54 // Relevance score.
55 int relevance; member in struct:AutocompleteResultTest::TestData
117 match->relevance = data.relevance;
143 EXPECT_EQ(expected_match.relevance, match.relevance) << i;
187 match.relevance = 1;
207 // Tests that if the new results have a lower max relevance score than last
    [all...]
extension_app_provider.cc 93 match.relevance = CalculateRelevance(
223 int relevance = 575 + static_cast<int>(type_count_boost) + local
225 DCHECK_LE(relevance, kMaxRelevance);
226 return relevance;
shortcuts_provider.cc 173 // Don't return shortcuts with zero relevance.
174 int relevance = CalculateScore(term_string, it->second, max_relevance); local
175 if (relevance) {
177 it->second, relevance, term_string, fixed_up_term_string,
189 // Reset relevance scores to guarantee no match is given a score that may
202 max_relevance = std::min(max_relevance, it->relevance);
203 it->relevance = max_relevance;
211 int relevance,
218 match.relevance = relevance;
    [all...]
zero_suggest_provider.cc 68 // The maximum relevance of the top match from this provider.
71 // Relevance value to use if it was not set explicitly by the server.
219 // Reset suggested relevance information from the provider.
253 int relevance = kDefaultZeroSuggestRelevance; local
255 // Apply valid suggested relevance scores; discard invalid lists.
256 if (relevances != NULL && !relevances->GetInteger(index, &relevance))
265 *this, url, title, false, relevance, relevances != NULL));
270 base::string16(), std::string(), std::string(), false, relevance,
281 AddMatchToMap(results[i].relevance(), AutocompleteMatchType::SEARCH_SUGGEST,
286 void ZeroSuggestProvider::AddMatchToMap(int relevance,
414 int relevance = 600; local
    [all...]
history_url_provider.cc 504 what_you_typed_match.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0);
580 int relevance = -1; local
583 relevance = std::max(relevance, it->relevance);
605 relevance = (relevance > 0) ? (relevance - 1) :
608 NORMAL, relevance);
686 what_you_typed.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0)
    [all...]
history_url_provider_unittest.cc 330 EXPECT_LT(matches_.front().relevance, 1200);
337 EXPECT_GE(matches_.front().relevance, 1410);
564 int pandora_relevance = matches_[0].relevance;
572 EXPECT_EQ(pandora_relevance, matches_[0].relevance);
620 EXPECT_LE(1200, matches_[0].relevance);
621 EXPECT_LT(matches_[0].relevance, 1210);
627 int relevance; member in struct:TestCase
640 if (test_cases[i].relevance == 0) {
651 // Actual relevance should be at least what test_cases expects and
653 EXPECT_LE(test_cases[i].relevance, matches_[0].relevance)
662 int relevance; member in struct:TestCase
    [all...]
search_provider.h 69 // |relevance|, and |type|, which represents a search via |template_url| for
89 int relevance,
190 // simply containing relevance-ranked search and navigation suggestions.
199 int relevance,
205 int relevance() const { return relevance_; } function in class:SearchProvider::Result
206 void set_relevance(int relevance) { relevance_ = relevance; }
217 // Returns the default relevance value for this result (which may
228 // The relevance score.
232 // Whether this result's relevance score was fully or partly calculate
    [all...]
search_provider_unittest.cc 502 EXPECT_GT(term1_match.relevance, wyt_match.relevance);
642 EXPECT_GT(wyt_match.relevance, term_match.relevance);
654 // Without suggested relevance scores.
660 // With suggested relevance scores in a situation where navsuggest would
668 // With suggested relevance scores in a situation where navsuggest
676 // With suggested relevance scores in a situation where navsuggest
708 EXPECT_GT(wyt_match.relevance, term_match.relevance);
3264 const int relevance; member in struct:__anon4027::__anon4028
    [all...]
search_provider.cc 242 int relevance,
245 relevance_(relevance),
263 int relevance,
266 : Result(from_keyword_provider, relevance, relevance_from_server),
300 int relevance,
302 : Result(from_keyword_provider, relevance, relevance_from_server),
331 // Sort in descending relevance order.
332 return a.relevance() > b.relevance();
403 int relevance,
1159 int relevance = -1; local
1626 int relevance = CalculateRelevanceForHistory( local
    [all...]
  /external/chromium_org/chrome/common/
instant_types.h 61 // The relevance score of this match, same as AutocompleteMatch::relevance.
62 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 

Completed in 370 milliseconds