HomeSort by relevance Sort by last modified time
    Searched refs:suggestions (Results 1 - 25 of 116) sorted by null

1 2 3 4 5

  /external/chromium_org/chrome/browser/resources/ntp4/
suggestions_page.css 5 .suggestions {
10 .suggestions {
17 .suggestions:focus {
21 .suggestions .close-button {
30 html[dir=rtl] .suggestions .close-button {
35 .suggestions:hover .close-button {
40 .suggestions .close-button:hover {
44 .suggestions .favicon {
55 html[dir='rtl'] .suggestions .favicon {
59 .suggestions .color-stripe
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DelayingSuggestionsAdapter.java 21 import com.android.quicksearchbox.Suggestions;
28 * A {@link SuggestionsListAdapter} that doesn't expose the new suggestions
38 private Suggestions mPendingSuggestions;
52 public void setSuggestions(Suggestions suggestions) {
53 if (suggestions == null) {
58 if (shouldPublish(suggestions)) {
59 if (DBG) Log.d(TAG, "Publishing suggestions immediately: " + suggestions);
60 mDelayedAdapter.setSuggestions(suggestions);
    [all...]
SuggestionsAdapterBase.java 21 import com.android.quicksearchbox.Suggestions;
32 * Base class for suggestions adapters. The templated class A is the list adapter class.
45 private Suggestions mSuggestions;
85 public void setSuggestions(Suggestions suggestions) {
86 if (mSuggestions == suggestions) {
90 if (suggestions != null) {
91 suggestions.release();
98 // TODO: delay the change if there are no suggestions for the currently visible tab.
103 mSuggestions = suggestions;
    [all...]
SuggestionsAdapter.java 20 import com.android.quicksearchbox.Suggestions;
27 * Interface for suggestions adapters.
35 * Sets the listener to be notified of clicks on suggestions.
45 * Sets the current suggestions.
47 void setSuggestions(Suggestions suggestions);
50 * Indicates if there's any suggestions in this adapter.
55 * Gets the current suggestions.
57 Suggestions getSuggestions();
  /external/chromium/chrome/browser/extensions/
extension_omnibox_unittest.cc 57 ExtensionOmniboxSuggestion suggestions; local
58 suggestions.description.resize(10);
59 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
60 CompareClassification(styles_expected, suggestions.description_styles);
66 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
67 CompareClassification(styles_expected, suggestions.description_styles);
93 ExtensionOmniboxSuggestion suggestions; local
94 suggestions.description.resize(10);
95 EXPECT_TRUE(suggestions.ReadStylesFromValue(styles_value));
96 CompareClassification(styles_expected, suggestions.description_styles)
129 ExtensionOmniboxSuggestion suggestions; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ColorChooserClient.h 53 virtual Vector<Color> suggestions() const = 0;
  /external/chromium_org/chrome/browser/spellchecker/
misspelling.h 25 // misspelling.suggestions = std::vector<string16>(1, ASCIIToUTF16("Hello"));
36 const std::vector<string16>& suggestions,
58 // Spelling suggestions.
59 std::vector<string16> suggestions; member in class:Misspelling
misspelling.cc 17 // Builds a value from a list of spellcheck suggestions. The caller owns the
41 const std::vector<string16>& suggestions,
46 suggestions(suggestions),
63 result->Set("suggestions", BuildSuggestionsValue(suggestions));
spellcheck_platform_mac_unittest.cc 362 std::vector<string16> suggestions; local
363 spellcheck_mac::FillSuggestionList(word, &suggestions);
366 for (size_t j = 0; j < suggestions.size(); j++) {
367 if (suggestions[j].compare(suggested_word) == 0) {
  /external/chromium_org/chrome/browser/resources/suggestions_internals/
suggestions_internals.css 5 .suggestions-debug-table {
10 .suggestions-debug-table th {
14 .suggestions-debug-table td {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
AndroidSpellCheckerServiceTest.java 37 final String[] suggestions = span.getSuggestions(); local
38 // For this test we consider "tgis" should yield at least 2 suggestions (at this moment
40 assertTrue(suggestions.length >= 2);
42 assertEquals("", "this", suggestions[0]);
57 final String[] suggestions = span.getSuggestions(); local
58 // For this test we consider "????" should yield at least 2 suggestions (at this moment
60 assertTrue(suggestions.length >= 2);
63 assertEquals("", "????", suggestions[0]);
  /external/chromium_org/chrome/browser/ui/webui/options/
home_page_overlay_handler.cc 60 base::ListValue suggestions; local
61 OptionsUI::ProcessAutocompleteSuggestions(result, &suggestions);
63 "HomePageOverlay.updateAutocompleteSuggestions", suggestions);
  /external/chromium_org/chrome/renderer/spellchecker/
hunspell_engine.cc 26 // Maximum length of words we provide suggestions for.
79 // offer suggestions on them, either, there's no point in flagging them to
110 char** suggestions = NULL; local
112 hunspell_->suggest(&suggestions, wrong_word_utf8.c_str());
117 optional_suggestions->push_back(UTF8ToUTF16(suggestions[i]));
118 free(suggestions[i]);
120 if (suggestions != NULL)
121 free(suggestions);
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionsProviderImpl.java 28 * Suggestions provider implementation.
61 public Suggestions getSuggestions(String query, Source sourceToQuery) {
63 final Suggestions suggestions = new Suggestions(query, sourceToQuery); local
68 receiver = new SuggestionCursorReceiver(suggestions);
71 suggestions.done();
78 return suggestions;
93 private final Suggestions mSuggestions;
95 public SuggestionCursorReceiver(Suggestions suggestions)
    [all...]
EventLogLogger.java 70 String suggestions = getSuggestions(suggestionCursor); local
72 EventLogTags.writeQsbClick(id, suggestions, null, numChars,
88 String suggestions = getSuggestions(suggestionCursor); local
89 EventLogTags.writeQsbExit(suggestions, numChars);
  /external/chromium/chrome/browser/
spellchecker_platform_engine_unittest.cc 322 std::vector<string16> suggestions; local
323 SpellCheckerPlatform::FillSuggestionList(word, &suggestions);
326 for (size_t j = 0; j < suggestions.size(); j++) {
327 if (suggestions[j].compare(suggested_word) == 0) {
spellcheck_message_filter.h 24 std::vector<string16>* suggestions);
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
MockSpellCheck.h 48 static void fillSuggestionList(const WebKit::WebString& word, WebKit::WebVector<WebKit::WebString>* suggestions);
SpellCheckClient.cpp 140 WebVector<WebString> suggestions; local
141 m_spellcheck.fillSuggestionList(WebString(text.substr(misspelledPosition, misspelledLength)), &suggestions); local
142 results.push_back(WebTextCheckingResult(WebTextCheckingTypeSpelling, offset + misspelledPosition, misspelledLength, suggestions.isEmpty() ? WebString() : suggestions[0]));
  /frameworks/base/core/java/android/view/textservice/
SuggestionsInfo.java 25 * This class contains a metadata of suggestions from the text service
31 * Flag of the attributes of the suggestions that can be obtained by
37 * Flag of the attributes of the suggestions that can be obtained by
43 * Flag of the attributes of the suggestions that can be obtained by
45 * the result suggestions include highly recommended ones.
57 * @param suggestions from the text service
59 public SuggestionsInfo(int suggestionsAttributes, String[] suggestions) {
60 this(suggestionsAttributes, suggestions, 0, 0);
66 * @param suggestions from the text service
71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputConnectionAndTextRangeTests.java 136 * Test for getting previous word (for bigram suggestions)
139 // If one of the following cases breaks, the bigram suggestions won't work.
245 SuggestionSpan[] suggestions; local
248 suggestions = r.getSuggestionSpansAtWord();
249 assertEquals(suggestions.length, 1);
250 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1);
260 suggestions = r.getSuggestionSpansAtWord();
261 assertEquals(suggestions.length, 2);
262 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1);
263 MoreAsserts.assertEquals(suggestions[1].getSuggestions(), SUGGESTIONS2)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryCollection.java 66 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composer,
68 if (null == suggestions) suggestions = CollectionUtils.newArrayList();
73 if (null != sugg) suggestions.addAll(sugg);
75 return suggestions;
  /external/chromium_org/components/autofill/core/browser/
autocomplete_history_manager.cc 29 // Limit on the number of suggestions to appear in the pop-up menu under an
86 std::vector<base::string16> suggestions = autofill_result->GetValue(); local
87 SendSuggestions(&suggestions);
170 const std::vector<base::string16>* suggestions) {
171 if (suggestions) {
173 for (size_t i = 0; i < suggestions->size(); ++i) {
177 if (autofill_values_[j] == (*suggestions)[i]) {
184 autofill_values_.push_back((*suggestions)[i]);
  /external/chromium_org/third_party/WebKit/Source/web/
ColorChooserPopupUIController.cpp 88 Vector<Color> suggestions = m_client->suggestions(); local
90 for (unsigned i = 0; i < suggestions.size(); i++)
91 suggestionValues.append(suggestions[i].serialized());
  /external/chromium_org/chrome/common/
localized_error.cc 73 int suggestions; // Bitmap of SUGGEST_* values. member in struct:__anon9154::LocalizedErrorMap
520 options.suggestions = SUGGEST_NONE;
581 base::ListValue* suggestions = new base::ListValue(); local
613 if (options.suggestions & SUGGEST_RELOAD) {
632 suggestions->Append(suggest_reload_repost);
636 if (options.suggestions & SUGGEST_CHECK_CONNECTION) {
644 suggestions->Append(suggest_check_connection);
647 if (options.suggestions & SUGGEST_DNS_CONFIG) {
655 suggestions->Append(suggest_dns_config);
669 suggestions->Append(suggest_network_prediction)
    [all...]

Completed in 1098 milliseconds

1 2 3 4 5