HomeSort by relevance Sort by last modified time
    Searched defs:relevance (Results 1 - 18 of 18) 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
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
59 Add(scoped_ptr<SearchResult>(new TestSearchResult(id, relevance)).Pass());
tokenized_string_match.cc 40 // A relevance score that represents no match.
80 double relevance() const { return current_relevance_; } function in class:app_list::__anon9525::PrefixMatcher
86 State() : relevance(kNoMatchScore) {}
87 State(double relevance,
92 : relevance(relevance),
99 double relevance; member in struct:app_list::__anon9525::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/
extension_app_provider.cc 97 match.relevance = CalculateRelevance(
227 int relevance = 575 + static_cast<int>(type_count_boost) + local
229 DCHECK_LE(relevance, kMaxRelevance);
230 return relevance;
autocomplete_match.h 90 int relevance,
247 // The relevance of this match. See table in autocomplete.h for scores
250 // supply matches with appropriate relevance.
254 int relevance; member in struct:AutocompleteMatch
autocomplete_result_unittest.cc 57 match.relevance =
58 matches->empty() ? 1300 : (matches->back().relevance - 100);
77 // Relevance score.
78 int relevance; member in struct:AutocompleteResultTest::TestData
143 match->relevance = data.relevance;
170 EXPECT_EQ(expected_match.relevance, match.relevance) << i;
214 match.relevance = 1;
234 // Tests that if the new results have a lower max relevance score than last
    [all...]
shortcuts_provider.cc 156 // Don't return shortcuts with zero relevance.
157 int relevance = CalculateScore(term_string, it->second, max_relevance); local
158 if (relevance) {
159 matches_.push_back(ShortcutToACMatch(it->second, relevance, input,
181 max_relevance = std::min(max_relevance, it->relevance);
182 it->relevance = max_relevance;
190 int relevance,
197 match.relevance = relevance;
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.
238 // match relevance.
283 AutocompleteMatch match(this, navigation.relevance(), false,
367 int relevance = 600; local
380 url.title, std::string(), false, relevance, true,
383 --relevance;
411 // The placeholder suggestion for the current URL has high relevance so
414 match.relevance = GetVerbatimRelevance();
base_search_provider.h 84 // We annotate our AutocompleteMatches with whether their relevance scores
105 // simply containing relevance-ranked search and navigation suggestions.
114 int relevance,
128 int relevance() const { return relevance_; } function in class:BaseSearchProvider::Result
129 void set_relevance(int relevance) { relevance_ = relevance; }
142 // Returns the default relevance value for this result (which may
159 // The relevance score.
163 // Whether this result's relevance score was fully or partly calculated
188 int relevance,
    [all...]
history_url_provider.cc 114 // Calculates a new relevance score applying half-life time decaying to |count|
123 // Back off if above relevance cap.
145 // Returns a new relevance score for the given |match| based on the
146 // |old_relevance| score and |scoring_params|. The new relevance score is
160 int relevance = CalculateRelevanceUsingScoreBuckets( local
167 relevance = CalculateRelevanceUsingScoreBuckets(
168 scoring_params.visited_count_buckets, time_since_last_visit, relevance,
172 DCHECK_LE(relevance, old_relevance);
173 return relevance;
475 what_you_typed_match.relevance = CalculateRelevance(WHAT_YOU_TYPED, 0)
822 int relevance = matches_.empty() ? local
    [all...]
history_url_provider_unittest.cc 340 EXPECT_LT(matches_.front().relevance, 1200);
347 EXPECT_GE(matches_.front().relevance, 1410);
574 int pandora_relevance = matches_[0].relevance;
582 EXPECT_EQ(pandora_relevance, matches_[0].relevance);
630 EXPECT_LE(1200, matches_[0].relevance);
631 EXPECT_LT(matches_[0].relevance, 1210);
637 int relevance; member in struct:TestCase
650 if (test_cases[i].relevance == 0) {
660 // Actual relevance should be at least what test_cases expects and
662 EXPECT_LE(test_cases[i].relevance, matches_[0].relevance)
671 int relevance; member in struct:TestCase
    [all...]
base_search_provider.cc 224 int relevance,
230 relevance_(relevance),
249 int relevance,
254 relevance,
360 int relevance,
365 relevance,
497 AutocompleteMatch match(autocomplete_provider, suggestion.relevance(), false,
763 // NOTE: We purposefully do a direct relevance comparison here instead of
769 // recent such result even if the precision of our relevance score is too
771 if (match.relevance > i.first->second.relevance)
867 int relevance = GetDefaultResultRelevance(); local
946 suggest_query_params, deletion_url, is_keyword_result, relevance, local
    [all...]
search_provider.cc 121 // Sort in descending relevance order.
122 return a.relevance() > b.relevance();
270 // Apply calculated relevance scores to suggestions if a valid list was
378 // In keyword mode, disregard the keyword verbatim suggested relevance
932 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/chromium_org/ui/app_list/
search_result.h 92 double relevance() { return relevance_; } function in class:app_list::SearchResult
124 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 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/org.eclipse.jdt.core/3.9.1.v20130905-0837/
org.eclipse.jdt.core-3.9.1.v20130905-0837.jar 

Completed in 404 milliseconds