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

  /external/chromium_org/ui/app_list/search/
tokenized_string_match.h 21 // calculates a relevance score between [0, 1] and marks the matched portions
22 // of text. A relevance of zero means the two are completely different to each
23 // other. The higher the relevance score, the better the two strings are
32 // Calculates the relevance and hits. Returns true if the two strings are
33 // somewhat matched, i.e. relevance score is not zero.
39 double relevance() const { return relevance_; } function in class:app_list::TokenizedStringMatch
tokenized_string_match.cc 40 // A relevance score that represents no match.
80 double relevance() const { return current_relevance_; } function in class:app_list::__anon21161::PrefixMatcher
86 State() : relevance(kNoMatchScore) {}
87 State(double relevance,
92 : relevance(relevance),
99 double relevance; member in struct:app_list::__anon21161::PrefixMatcher::State
114 // calculate relevance and matching ranges. And the current stats is
168 current_relevance_ = last_match.relevance;
203 relevance_ = matcher.relevance();
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
shortcuts_provider.cc 152 // Don't return shortcuts with zero relevance.
153 int relevance = CalculateScore(term_string, it->second, max_relevance); local
154 if (relevance) {
155 matches_.push_back(ShortcutToACMatch(it->second, relevance, input,
177 max_relevance = std::min(max_relevance, it->relevance);
178 it->relevance = max_relevance;
186 int relevance,
192 match.relevance = relevance;
zero_suggest_provider.cc 67 // The maximum relevance of the top match from this provider.
70 // Relevance value to use if it was not set explicitly by the server.
153 // url match relevance.
286 AutocompleteMatch match(this, navigation.relevance(), false,
368 int relevance = 600; local
383 relevance, true, current_query_string16, languages); local
385 --relevance;
414 // The placeholder suggestion for the current URL has high relevance so
417 match.relevance = GetVerbatimRelevance();
history_url_provider.cc 115 // Calculates a new relevance score applying half-life time decaying to |count|
124 // Back off if above relevance cap.
146 // Returns a new relevance score for the given |match| based on the
147 // |old_relevance| score and |scoring_params|. The new relevance score is
161 int relevance = CalculateRelevanceUsingScoreBuckets( local
168 relevance = CalculateRelevanceUsingScoreBuckets(
169 scoring_params.visited_count_buckets, time_since_last_visit, relevance,
173 DCHECK_LE(relevance, old_relevance);
174 return relevance;
520 what_you_typed_match.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0)
866 int relevance = matches_.empty() ? local
    [all...]
history_url_provider_unittest.cc 352 EXPECT_LT(matches_.front().relevance, 1200);
359 EXPECT_GE(matches_.front().relevance, 1410);
587 int pandora_relevance = matches_[0].relevance;
595 EXPECT_EQ(pandora_relevance, matches_[0].relevance);
644 EXPECT_LE(1200, matches_[0].relevance);
645 EXPECT_LT(matches_[0].relevance, 1210);
651 int relevance; member in struct:TestCase
664 if (test_cases[i].relevance == 0) {
674 // Actual relevance should be at least what test_cases expects and
676 EXPECT_LE(test_cases[i].relevance, matches_[0].relevance)
685 int relevance; member in struct:TestCase
    [all...]
  /external/chromium_org/chrome/browser/ui/app_list/search/
mixer_unittest.cc 23 TestSearchResult(const std::string& id, double relevance)
27 set_relevance(relevance);
36 new TestSearchResult(id(), relevance())).Pass();
71 const double relevance = 1.0 - i / 10.0; variable
72 Add(scoped_ptr<SearchResult>(new TestSearchResult(id, relevance)).Pass());
  /external/chromium_org/components/omnibox/
autocomplete_match.h 90 int relevance,
266 // The relevance of this match. See table in autocomplete.h for scores
269 // supply matches with appropriate relevance.
273 int relevance; member in struct:AutocompleteMatch
autocomplete_result_unittest.cc 56 match.relevance =
57 matches->empty() ? 1300 : (matches->back().relevance - 100);
76 // Relevance score.
77 int relevance; member in struct:AutocompleteResultTest::TestData
138 match->relevance = data.relevance;
165 EXPECT_EQ(expected_match.relevance, match.relevance) << i;
211 match.relevance = 1;
231 // Tests that if the new results have a lower max relevance score than last
    [all...]
search_suggestion_parser.h 33 // simply containing relevance-ranked search and navigation suggestions.
42 int relevance,
56 int relevance() const { return relevance_; } function in class:SearchSuggestionParser::Result
57 void set_relevance(int relevance) { relevance_ = relevance; }
73 // Returns the default relevance value for this result (which may
90 // The relevance score.
94 // Whether this result's relevance score was fully or partly calculated
124 int relevance,
192 int relevance,
    [all...]
search_suggestion_parser.cc 45 int relevance,
51 relevance_(relevance),
71 int relevance,
76 relevance,
177 int relevance,
181 : Result(from_keyword_provider, relevance, relevance_from_server, type,
351 // Reset suggested relevance information.
397 int relevance = default_result_relevance; local
409 // Apply valid suggested relevance scores; discard invalid lists.
410 if (relevances != NULL && !relevances->GetInteger(index, &relevance))
475 suggest_query_params, deletion_url, is_keyword_result, relevance, local
    [all...]
search_provider.cc 111 // Sort in descending relevance order.
112 return a.relevance() > b.relevance();
397 // Apply calculated relevance scores to suggestions if valid relevances were
458 // relevance if necessary, so at least one match is allowed to be default.
1053 int relevance = CalculateRelevanceForHistory( local
    [all...]
  /external/chromium_org/ui/app_list/
search_result.h 98 double relevance() const { return relevance_; } function in class:app_list::SearchResult
134 void set_relevance(double relevance) { relevance_ = relevance; }
  /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 308 milliseconds