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

1 2 3

  /external/chromium_org/chrome/browser/search/suggestions/
suggestions_store_unittest.cc 20 ChromeSuggestion* suggestion = suggestions.add_suggestions(); local
21 suggestion->set_url(kTestUrl);
22 suggestion->set_title(kTestTitle);
thumbnail_manager_unittest.cc 30 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
31 suggestion->set_url(kTestUrl);
32 suggestion->set_thumbnail(kTestThumbnailUrl);
thumbnail_manager.cc 32 const ChromeSuggestion& suggestion = suggestions.suggestions(i); local
33 if (suggestion.has_thumbnail()) {
34 thumbnail_map_[GURL(suggestion.url())] = GURL(suggestion.thumbnail());
thumbnail_manager_browsertest.cc 75 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
76 suggestion->set_url(kTestUrl1);
77 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
109 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
110 suggestion->set_url(kTestUrl1);
111 suggestion->set_thumbnail(test_server_.GetURL(kTestImagePath).spec());
134 ChromeSuggestion* suggestion = suggestions_profile.add_suggestions(); local
135 suggestion->set_url(kTestUrl1);
136 suggestion->set_thumbnail(test_server_.GetURL(kInvalidImagePath).spec());
suggestions_source.cc 49 const ChromeSuggestion& suggestion = profile.suggestions(i); local
52 line += net::EscapeForHTML(suggestion.url());
54 line += net::EscapeForHTML(suggestion.title());
56 base64_encoded_pngs.find(GURL(suggestion.url()));
152 const ChromeSuggestion& suggestion = suggestions_profile.suggestions(i); local
159 GURL(suggestion.url()),
suggestions_service_unittest.cc 80 ChromeSuggestion* suggestion = profile->add_suggestions(); local
81 suggestion->set_title(kTestTitle);
82 suggestion->set_url(kTestUrl);
203 // (Testing only) wait until suggestion fetch is complete.
275 // (Testing only) wait until suggestion fetch is complete.
305 // (Testing only) wait until suggestion fetch is complete.
  /external/chromium_org/chrome/browser/metrics/
omnibox_metrics_provider.cc 27 OmniboxEventProto::Suggestion::ResultType AsOmniboxEventResultType(
31 return OmniboxEventProto::Suggestion::URL_WHAT_YOU_TYPED;
33 return OmniboxEventProto::Suggestion::HISTORY_URL;
35 return OmniboxEventProto::Suggestion::HISTORY_TITLE;
37 return OmniboxEventProto::Suggestion::HISTORY_BODY;
39 return OmniboxEventProto::Suggestion::HISTORY_KEYWORD;
41 return OmniboxEventProto::Suggestion::NAVSUGGEST;
43 return OmniboxEventProto::Suggestion::SEARCH_WHAT_YOU_TYPED;
45 return OmniboxEventProto::Suggestion::SEARCH_HISTORY;
47 return OmniboxEventProto::Suggestion::SEARCH_SUGGEST
157 OmniboxEventProto::Suggestion* suggestion = omnibox_event->add_suggestion(); local
    [all...]
  /external/chromium_org/components/web_contents_delegate_android/
color_chooser_android.cc 35 const content::ColorSuggestion& suggestion = suggestions[i]; local
37 env, suggestion.label);
42 suggestion.color,
  /external/chromium_org/content/browser/android/
date_time_chooser_android.cc 94 const content::DateTimeSuggestion& suggestion = suggestions[i]; local
96 env, SanitizeSuggestionString(suggestion.localized_value));
98 env, SanitizeSuggestionString(suggestion.label));
101 suggestion.value, localized_value.obj(), label.obj());
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DefaultSuggestionView.java 21 import com.android.quicksearchbox.Suggestion;
87 public void bindAsSuggestion(Suggestion suggestion, String userQuery) {
88 super.bindAsSuggestion(suggestion, userQuery);
90 CharSequence text1 = formatText(suggestion.getSuggestionText1(), suggestion);
91 CharSequence text2 = suggestion.getSuggestionText2Url();
95 text2 = formatText(suggestion.getSuggestionText2(), suggestion);
109 mAsyncIcon1.set(suggestion.getSuggestionSource(), suggestion.getSuggestionIcon1())
    [all...]
WebSearchSuggestionView.java 21 import com.android.quicksearchbox.Suggestion;
58 public void bindAsSuggestion(Suggestion suggestion, String userQuery) {
59 super.bindAsSuggestion(suggestion, userQuery);
62 suggestion.getSuggestionText1());
64 setIsHistorySuggestion(suggestion.isHistorySuggestion());
97 public boolean canCreateView(Suggestion suggestion) {
98 return suggestion.isWebSearchSuggestion();
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
GlobalSearchSupport.java 254 SearchSuggestion suggestion = new SearchSuggestion(); local
255 suggestion.filter = filter;
258 suggestion.contactId = c.getLong(0);
259 suggestion.lookupKey = c.getString(1);
260 suggestion.photoUri = c.getString(2);
261 suggestion.text1 = c.getString(3);
262 suggestion.presence = c.isNull(4) ? -1 : c.getInt(4);
263 suggestion.lastAccessTime = c.getString(5);
265 suggestion.text2 = shortenSnippet(c.getString(6));
267 cursor.addRow(suggestion.asList(projection))
    [all...]
  /external/chromium_org/chrome/browser/autocomplete/
keyword_extensions_delegate_impl.cc 135 // It's possible to change the default suggestion while not in an editing
168 const omnibox_api::SuggestResult& suggestion = local
172 // and subtract 1 for each subsequent suggestion from the extension.
185 base::UTF8ToUTF16(suggestion.content), false,
189 match->contents.assign(base::UTF8ToUTF16(suggestion.description));
191 extensions::StyleTypesToACMatchClassifications(suggestion);
  /external/chromium_org/chrome/renderer/searchbox/
searchbox.h 113 const InstantSuggestion& suggestion() const { return suggestion_; } function in class:SearchBox
131 void OnSetSuggestionToPrefetch(const InstantSuggestion& suggestion);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionUtils.java 34 public static Intent getSuggestionIntent(SuggestionCursor suggestion, Bundle appSearchData) {
35 String action = suggestion.getSuggestionIntentAction();
37 String data = suggestion.getSuggestionIntentDataString();
38 String query = suggestion.getSuggestionQuery();
39 String userQuery = suggestion.getUserQuery();
40 String extraData = suggestion.getSuggestionIntentExtraData();
62 intent.setComponent(suggestion.getSuggestionIntentComponent());
67 * Gets a unique key that identifies a suggestion. This is used to avoid
70 public static String getSuggestionKey(Suggestion suggestion) {
    [all...]
SearchActivity.java 269 // Close all open suggestion cursors. The query will be redone in onResume()
385 Log.w(TAG, "Invalid suggestion position " + position + ", count = " + count);
400 // Since the intents for suggestions specified by suggestion providers,
407 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
408 if (suggestion == null) return false;
410 if (DBG) Log.d(TAG, "Launching suggestion " + id);
413 // Log suggestion click
414 getLogger().logSuggestionClick(id, suggestion.getCursor(),
418 launchSuggestion(suggestion.getCursor(), suggestion.getPosition())
431 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
    [all...]
  /external/chromium_org/chrome/browser/spellchecker/
spelling_service_client.cc 154 // suggestion for auto-correction.
163 // "suggestions": [{ "suggestion": "quack" }],
199 // first one because SpellCheckResult can store only one suggestion.
213 base::DictionaryValue* suggestion = NULL; local
215 if (!suggestions->GetDictionary(0, &suggestion) ||
216 !suggestion->GetString("suggestion", &replacement)) {
feedback_sender.cc 10 // misspelling-suggestion pair. If the spelling service identifies the same
90 // Builds suggestion info from |suggestions|. The caller owns the result.
99 base::DictionaryValue* suggestion = suggestion_it->Serialize(); local
100 suggestion->SetBoolean("isFirstInSession", is_first_feedback_batch);
101 suggestion->SetBoolean("isAutoCorrection", false);
102 list->Append(suggestion);
feedback_sender_unittest.cc 188 // Send SELECT feedback message if the user has selected a spelling suggestion.
219 // Send PENDING feedback message if the user saw the spelling suggestion, but
229 // Send IGNORE feedback message if the user saw the spelling suggestion, but
424 base::DictionaryValue* suggestion = NULL; local
425 suggestions->GetDictionary(0, &suggestion);
426 suggestion->SetString("suggestionId", "42");
427 suggestion->SetString("timestamp", "9001");
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorSuggestionListAdapter.java 29 * The callback used to indicate the user has clicked on a suggestion.
34 * Called upon a click on a suggestion.
36 * @param suggestion The suggestion that was clicked.
38 void onColorSuggestionClick(ColorSuggestion suggestion);
49 * Sets the listener that will be notified upon a click on a suggestion.
56 * Sets up the color button to represent a color suggestion.
59 * @param index The index of the suggestion in mSuggestions.
70 ColorSuggestion suggestion = mSuggestions[index]; local
74 swatch.setColor(suggestion.mColor)
88 ColorSuggestion suggestion = (ColorSuggestion) v.getTag(); local
    [all...]
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
OmniboxSuggestion.java 12 * Container class with information about each omnibox suggestion item.
175 * @return Whether this suggestion represents a starred/bookmarked URL.
186 * @return The relevance score of this suggestion.
213 OmniboxSuggestion suggestion = (OmniboxSuggestion) obj; local
216 (mAnswerContents == null && suggestion.mAnswerContents == null) ||
218 suggestion.mAnswerContents != null &&
219 mAnswerContents.equals(suggestion.mAnswerContents));
220 return mType == suggestion.mType
221 && mFillIntoEdit.equals(suggestion.mFillIntoEdit)
222 && mDisplayText.equals(suggestion.mDisplayText
    [all...]
  /external/chromium_org/chrome/browser/android/
most_visited_sites.cc 59 // Client suggestion opened.
61 // Control group suggestion opened.
63 // Server suggestion opened, no provider.
65 // Server suggestion opened with provider.
74 // Server suggestion impression, no provider.
77 // Server suggestion impression with provider.
401 const ChromeSuggestion& suggestion = suggestions_profile.suggestions(i); local
402 titles.push_back(base::UTF8ToUTF16(suggestion.title()));
403 urls.push_back(suggestion.url());
404 if (suggestion.providers_size())
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/omnibox/
omnibox_api.cc 58 scoped_ptr<omnibox::SuggestResult> suggestion; local
63 suggestion.reset(new omnibox::SuggestResult);
64 omnibox::SuggestResult::Populate(*dict, suggestion.get());
66 return suggestion.Pass();
69 // Tries to set the omnibox default suggestion; returns true on success or
74 const omnibox::DefaultSuggestResult& suggestion) {
79 scoped_ptr<base::DictionaryValue> dict = suggestion.ToValue();
288 GetProfile(), extension_id(), params->suggestion)) {
301 const omnibox::SuggestResult &suggestion) {
303 if (suggestion.description_styles)
    [all...]
  /external/chromium_org/chrome/renderer/spellchecker/
spellcheck_unittest.cc 1229 const char* suggestion; member in struct:__anon10409
1354 const char* suggestion; member in struct:__anon10411
    [all...]
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/src/
address_validator.cc 479 AddressData suggestion; local
480 suggestion.country_code = user_input.country_code;
481 suggestion.postal_code = user_input.postal_code;
485 // the levels of the ruleset tree to build the |suggestion|.
491 suggestion.SetFieldValue(suggestion_ruleset->field(),
495 suggestions->push_back(suggestion);

Completed in 719 milliseconds

1 2 3