HomeSort by relevance Sort by last modified time
    Searched refs:suggestions (Results 76 - 100 of 190) sorted by null

1 2 34 5 6 7 8

  /external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
SuggestionPopup.java 29 * Displays suggestions for the text that is entered to the ChromeShell URL field.
45 * Initializes a suggestion popup that will track urlField value and display suggestions based
91 * Signals the autocomplete controller to stop generating suggestions and
104 public void onSuggestionsReceived(List<OmniboxSuggestion> suggestions,
106 if (!mUrlField.isFocused() || suggestions.isEmpty())
121 new SuggestionArrayAdapter(mContext, R.layout.dropdown_item, suggestions);
  /external/chromium_org/chrome/browser/android/
most_visited_sites.cc 25 #include "chrome/browser/search/suggestions/suggestions_service.h"
26 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
27 #include "chrome/browser/search/suggestions/suggestions_source.h"
45 using suggestions::ChromeSuggestion;
46 using suggestions::SuggestionsProfile;
47 using suggestions::SuggestionsService;
48 using suggestions::SuggestionsServiceFactory;
180 // Register the debugging page for the Suggestions Service and the thumbnails
183 new suggestions::SuggestionsSource(profile_));
233 // If the Suggestions service is enabled, create a callback to fetch
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
ExternalDateTimeChooser.cpp 118 webParams.suggestions = parameters.suggestions;
  /external/chromium_org/third_party/libaddressinput/chromium/
preload_address_validator.cc 14 #include "third_party/libaddressinput/chromium/suggestions.h"
45 new Suggestions(
95 std::vector<AddressData>* suggestions) const {
111 suggestions);
preload_address_validator.h 32 class Suggestions;
85 // Fills in |suggestions| for the partially typed in |user_input|, assuming
86 // the user is typing in the |focused_field|. If the number of |suggestions|
87 // is over the |suggestion_limit|, then returns no |suggestions| at all.
90 // rules are available, but does not fill in suggestions.
96 // suggestions limit = 1
104 // suggestions limit = 10
113 std::vector< ::i18n::addressinput::AddressData>* suggestions) const;
127 const scoped_ptr<Suggestions> suggestions_;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
MoreSuggestionsView.java 17 package com.android.inputmethod.latin.suggestions;
30 import com.android.inputmethod.latin.suggestions.MoreSuggestions.MoreSuggestionKey;
  /external/chromium_org/chrome/browser/autocomplete/
keyword_extensions_delegate_impl.cc 28 // Extension suggestions always come from the original profile, since that's
30 // suggestions are meant for us.
81 // suggestions from last time. We need to readjust the relevance to
152 const omnibox_api::SendSuggestions::Params& suggestions = local
155 if (suggestions.request_id != current_input_id_)
165 // TODO(mpcomplete): consider clamping the number of suggestions to
167 for (size_t i = 0; i < suggestions.suggest_results.size(); ++i) {
169 *suggestions.suggest_results[i];
170 // We want to order these suggestions in descending order, so start with
  /external/chromium_org/chrome/browser/search/suggestions/
suggestions_service.h 18 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h"
19 #include "chrome/browser/search/suggestions/thumbnail_manager.h"
31 namespace suggestions { namespace
43 // An interface to fetch server suggestions asynchronously.
58 // Request suggestions data, which will be passed to |callback|. Initiates a
85 // Called to service the requestors if the issued suggestions request has
90 // Called when fetch request completes. Parses the received suggestions data,
100 // Creates a request to the suggestions service, properly setting headers.
103 // Load the cached suggestions and service the requestors with them
    [all...]
suggestions_service_unittest.cc 5 #include "chrome/browser/search/suggestions/suggestions_service.h"
16 #include "chrome/browser/search/suggestions/proto/suggestions.pb.h"
17 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
18 #include "chrome/browser/search/suggestions/suggestions_store.h"
74 namespace suggestions { namespace
86 class MockSuggestionsStore : public suggestions::SuggestionsStore {
99 EXPECT_EQ(kTestTitle, suggestions_profile.suggestions(0).title());
100 EXPECT_EQ(kTestUrl, suggestions_profile.suggestions(0).url());
165 // Field trial enabled with a specific suggestions URL
    [all...]
suggestions_source.cc 5 #include "chrome/browser/search/suggestions/suggestions_source.h"
18 #include "chrome/browser/search/suggestions/suggestions_service.h"
19 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
27 namespace suggestions { namespace
32 "<!DOCTYPE html>\n<html>\n<head>\n<title>Suggestions</title>\n"
38 // Fills |output| with the HTML needed to display the suggestions.
45 out.push_back("<h1>Suggestions</h1>\n<ul>");
49 const ChromeSuggestion& suggestion = profile.suggestions(i);
70 // Fills |output| with the HTML needed to display that no suggestions are
76 out.push_back("<h1>Suggestions</h1>\n")
    [all...]
  /external/chromium_org/chrome/browser/spellchecker/
misspelling_unittest.cc 21 misspelling.suggestions.push_back(base::ASCIIToUTF16("does it"));
29 "\"suggestions\": [\"does it\"],"
spelling_service_client.cc 31 // The location of spellcheck suggestions in JSON response from spelling
148 // suggestions. This object consists of the following variables:
151 // - suggestions (array of string) - the suggestions for the misspelling
163 // "suggestions": [{ "suggestion": "quack" }],
198 // the Spelling service sends two or more suggestions, we read only the
206 base::ListValue* suggestions = NULL; local
209 !misspelling->GetList("suggestions", &suggestions)) {
215 if (!suggestions->GetDictionary(0, &suggestion) |
    [all...]
  /external/chromium_org/components/autofill/core/browser/
autocomplete_history_manager.h 59 // Sends the given |suggestions| for display in the Autofill popup.
60 void SendSuggestions(const std::vector<base::string16>* suggestions);
  /external/chromium_org/components/password_manager/core/browser/
password_autofill_manager_unittest.cc 163 // suggestions.
170 std::vector<base::string16> suggestions; local
171 suggestions.push_back(test_username_);
186 username_field_, element_bounds, suggestions, realms);
191 suggestions[0], autofill::POPUP_ITEM_ID_PASSWORD_ENTRY);
password_autofill_manager.h 47 // |suggestions| from the password manager.
51 const std::vector<base::string16>& suggestions,
  /packages/apps/Browser/src/com/android/browser/search/
OpenSearchSearchEngine.java 45 * Provides search suggestions, if any, for a given web search provider.
123 * suggestions ordered by best match.
145 * should be JSON arrays. The second element/array contains the suggestions and the
150 JSONArray suggestions = results.getJSONArray(1); local
160 return new SuggestionsCursor(suggestions, descriptions);
218 public SuggestionsCursor(JSONArray suggestions, JSONArray descriptions) {
219 mSuggestions = suggestions;
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SuggestionCursorUtil.java 34 public static void assertNoSuggestions(SuggestionCursor suggestions) {
35 assertNoSuggestions("", suggestions);
38 public static void assertNoSuggestions(String message, SuggestionCursor suggestions) {
39 assertNotNull(suggestions);
40 assertEquals(message, 0, suggestions.getCount());
218 assertTrue(message + ", no suggestions", observed.getCount() > 0);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
StringUtils.java 113 public static void removeDupes(final ArrayList<String> suggestions) {
114 if (suggestions.size() < 2) return;
116 // Don't cache suggestions.size(), since we may be removing items
117 while (i < suggestions.size()) {
118 final String cur = suggestions.get(i);
121 final String previous = suggestions.get(j);
123 suggestions.remove(i);
  /external/chromium_org/chrome/renderer/spellchecker/
spellcheck_unittest.cc 433 std::vector<base::string16> suggestions; local
446 &suggestions);
453 for (int j = 0; j < static_cast<int>(suggestions.size()); j++) {
454 if (suggestions.at(j).compare(
1270 std::vector<base::string16> suggestions; local
1363 std::vector<base::string16> suggestions; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchInvoke.java 223 * Any application that implements search suggestions based on previous actions (such as
226 * searches to be replayed by other users of the device (via suggestions).
229 * android.provider.SearchRecentSuggestions. If you have developed a custom suggestions
236 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local
238 suggestions.clearHistory();
  /external/chromium_org/ui/android/java/src/org/chromium/ui/
ColorPickerDialog.java 40 * @param suggestions The list of suggestions.
45 ColorSuggestion[] suggestions) {
116 mSimpleColorPicker.init(suggestions, this);
ColorSuggestionListAdapter.java 43 ColorSuggestionListAdapter(Context context, ColorSuggestion[] suggestions) {
45 mSuggestions = suggestions;
  /external/chromium_org/chrome/browser/ui/webui/options/
options_ui.h 125 // Takes the suggestions from |result| and adds them to |suggestions| so that
129 base::ListValue* const suggestions);
startup_pages_handler.cc 245 base::ListValue suggestions; local
246 OptionsUI::ProcessAutocompleteSuggestions(result, &suggestions);
248 "StartupOverlay.updateAutocompleteSuggestions", suggestions);
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 239 public void setSuggestions(List<String> suggestions, boolean completions,
242 if (suggestions != null) {
243 mSuggestions = new ArrayList<String>(suggestions);

Completed in 3291 milliseconds

1 2 34 5 6 7 8