/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) {
|
autocomplete_history_manager.cc | 25 // Limit on the number of suggestions to appear in the pop-up menu under an 190 std::vector<string16> suggestions = autofill_result->GetValue(); local 191 SendSuggestions(&suggestions); 217 const std::vector<string16>* suggestions) { 218 if (suggestions) { 220 for (size_t i = 0; i < suggestions->size(); ++i) { 224 if (autofill_values_[j] == (*suggestions)[i]) { 231 autofill_values_.push_back((*suggestions)[i]);
|
/external/chromium_org/chrome/browser/spellchecker/ |
misspelling.h | 25 // misspelling.suggestions = 37 const std::vector<base::string16>& suggestions, 59 // Spelling suggestions. 60 std::vector<base::string16> suggestions; member in class:Misspelling
|
spellcheck_platform_mac_unittest.cc | 362 std::vector<base::string16> suggestions; local 363 spellcheck_mac::FillSuggestionList(word, &suggestions); 367 for (size_t j = 0; j < suggestions.size(); j++) { 368 if (suggestions[j].compare(suggested_word) == 0) {
|
spelling_service_client.cc | 33 // The location of spellcheck suggestions in JSON response from spelling 156 // suggestions. This object consists of the following variables: 159 // - suggestions (array of string) - the suggestions for the misspelling 171 // "suggestions": [{ "suggestion": "quack" }], 206 // the Spelling service sends two or more suggestions, we read only the 214 ListValue* suggestions = NULL; local 217 !misspelling->GetList("suggestions", &suggestions)) { 223 if (!suggestions->GetDictionary(0, &suggestion) | [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SearchQueryResults.java | 97 // Record the query string in the recent queries suggestions provider. 98 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 100 suggestions.saveRecentQuery(queryString, null);
|
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();
|
/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/extensions/ |
extension_omnibox_api.h | 77 std::vector<ExtensionOmniboxSuggestion> suggestions; member in struct:ExtensionOmniboxSuggestions
|
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/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. 80 // offer suggestions on them, either, there's no point in flagging them to 111 char** suggestions = NULL; local 113 hunspell_->suggest(&suggestions, wrong_word_utf8.c_str()); 118 optional_suggestions->push_back(UTF8ToUTF16(suggestions[i])); 119 free(suggestions[i]); 121 if (suggestions != NULL) 122 free(suggestions);
|
spellcheck_provider.cc | 133 std::vector<base::string16> suggestions; local 136 &offset, &length, optional_suggestions ? & suggestions : NULL); 138 *optional_suggestions = suggestions; 139 UMA_HISTOGRAM_COUNTS("SpellCheck.api.check.suggestions", word.size());
|
/external/chromium_org/components/autofill/core/browser/ |
autocomplete_history_manager.cc | 22 // Limit on the number of suggestions to appear in the pop-up menu under an 77 std::vector<base::string16> suggestions = autofill_result->GetValue(); local 78 SendSuggestions(&suggestions); 161 const std::vector<base::string16>* suggestions) { 162 if (suggestions) { 164 for (size_t i = 0; i < suggestions->size(); ++i) { 168 if (autofill_values_[j] == (*suggestions)[i]) { 175 autofill_values_.push_back((*suggestions)[i]);
|
autofill_external_delegate_unittest.cc | 316 // Autofill is disabled for a website when there are no Autofill suggestions. 390 // suggestions. 394 std::vector<base::string16> suggestions; local 395 suggestions.push_back(kUsername); 419 external_delegate_->OnShowPasswordSuggestions(suggestions, 429 suggestions[0],
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebDateTimeChooserParams.h | 50 // <datalist> option suggestions associated to the requester element. The 52 WebVector<WebDateTimeSuggestion> suggestions; member in struct:blink::WebDateTimeChooserParams
|
/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/third_party/WebKit/Source/platform/ |
DateTimeChooser.h | 57 Vector<DateTimeSuggestion> suggestions; member in struct:WebCore::DateTimeChooserParameters
|
/external/chromium_org/third_party/WebKit/Source/testing/runner/ |
SpellCheckClient.cpp | 146 WebVector<WebString> suggestions; local 147 m_spellcheck.fillSuggestionList(WebString(text.substr(misspelledPosition, misspelledLength)), &suggestions); local 148 results.push_back(WebTextCheckingResult(WebTextDecorationTypeSpelling, offset + misspelledPosition, misspelledLength, suggestions.isEmpty() ? WebString() : suggestions[0]));
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ColorChooserPopupUIController.cpp | 85 Vector<ColorSuggestion> suggestions = m_client->suggestions(); local 87 for (unsigned i = 0; i < suggestions.size(); i++) 88 suggestionValues.append(suggestions[i].color.serialized());
|
ContextMenuClientImpl.cpp | 118 // Don't provide suggestions for multiple words. 310 // words and attaches suggestions to these markers in the background. Therefore, when a user right-clicks 317 Vector<String> suggestions; local 318 marker.description().split('\n', suggestions); 319 data.dictionarySuggestions = suggestions;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
MoreSuggestionsView.java | 17 package com.android.inputmethod.latin.suggestions; 27 import com.android.inputmethod.latin.suggestions.MoreSuggestions.MoreSuggestionsListener;
|
/external/chromium_org/chrome/common/extensions/ |
command.cc | 401 // We'll build up a map of platform-to-shortcut suggestions. 403 SuggestionMap suggestions; local 414 // Found a platform, add it to the suggestions list. 415 suggestions[iter.key()] = suggested_key_string; 433 suggestions[values::kKeybindingPlatformDefault] = suggested_key_string; 435 suggestions[values::kKeybindingPlatformDefault] = ""; 445 // Normalize the suggestions. 446 for (SuggestionMap::iterator iter = suggestions.begin(); 447 iter != suggestions.end(); ++iter) { 462 suggestions[iter->first] = NormalizeShortcutSuggestion(iter->second [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
ColorInputType.cpp | 56 // Upper limit of number of datalist suggestions shown. 58 // Upper limit for the length of the labels for datalist suggestions. 233 Vector<ColorSuggestion> ColorInputType::suggestions() const function in class:WebCore::ColorInputType 235 Vector<ColorSuggestion> suggestions; local 247 suggestions.append(suggestion); 248 if (suggestions.size() >= maxSuggestions) 253 return suggestions;
|