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

1 23 4 5 6 7 8

  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
ColorInputType.cpp 57 // Upper limit of number of datalist suggestions shown.
59 // Upper limit for the length of the labels for datalist suggestions.
234 Vector<ColorSuggestion> ColorInputType::suggestions() const function in class:WebCore::ColorInputType
236 Vector<ColorSuggestion> suggestions; local
247 suggestions.append(suggestion);
248 if (suggestions.size() >= maxSuggestions)
252 return suggestions;
ColorInputType.h 52 virtual Vector<ColorSuggestion> suggestions() const OVERRIDE;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryCollection.java 67 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composer,
70 if (null == suggestions) suggestions = new ArrayList<>();
76 if (null != sugg) suggestions.addAll(sugg);
78 return suggestions;
Suggest.java 34 * This class loads a dictionary and provides a list of suggestions for a given sequence of
108 private static String getWhitelistedWordOrNull(final ArrayList<SuggestedWordInfo> suggestions) {
109 if (suggestions.isEmpty()) {
112 final SuggestedWordInfo firstSuggestedWordInfo = suggestions.get(0);
119 // Retrieves suggestions for non-batch input (typing, recorrection, predictions...)
120 // and calls the callback function with the suggestions.
207 // Retrieves suggestions for the batch input
208 // and calls the callback function with the suggestions.
239 // For some reason some suggestions with MIN_VALUE are making their way here.
260 final String typedWord, final ArrayList<SuggestedWordInfo> suggestions) {
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputConnectionAndTextRangeTests.java 157 * Test for getting previous word (for bigram suggestions)
160 // If one of the following cases breaks, the bigram suggestions won't work.
305 SuggestionSpan[] suggestions; local
308 suggestions = r.getSuggestionSpansAtWord();
309 assertEquals(suggestions.length, 1);
310 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1);
320 suggestions = r.getSuggestionSpansAtWord();
321 assertEquals(suggestions.length, 2);
322 MoreAsserts.assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1);
323 MoreAsserts.assertEquals(suggestions[1].getSuggestions(), SUGGESTIONS2)
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SearchActivity.java 67 // or suggestions, since QSB was last started.
266 // TODO we should log both sets of suggestions in 2-pane mode
378 SuggestionCursor suggestions = pos.getCursor(); local
380 if (suggestions == null) {
383 int count = suggestions.getCount();
388 suggestions.moveTo(position);
400 // Since the intents for suggestions specified by suggestion providers,
423 protected void launchSuggestion(SuggestionCursor suggestions, int position) {
424 suggestions.moveTo(position);
425 Intent intent = SuggestionUtils.getSuggestionIntent(suggestions, mAppSearchData)
476 Suggestions suggestions = getSuggestionsProvider().getSuggestions( local
    [all...]
ListSuggestionCursor.java 29 * A SuggestionCursor that is backed by a list of Suggestions.
48 public ListSuggestionCursor(String userQuery, Suggestion...suggestions) {
49 this(userQuery, suggestions.length);
50 for (Suggestion suggestion : suggestions) {
  /frameworks/base/core/java/android/text/style/
SuggestionSpan.java 41 * the original text by one of the suggestions.
53 * Sets this flag if the suggestions should be easily accessible with few interactions.
54 * This flag should be set for every suggestions that the user is likely to use.
59 * Sets this flag if the suggestions apply to a misspelled word/text. This type of suggestion is
103 * @param suggestions Suggestions for the string under the span
106 public SuggestionSpan(Context context, String[] suggestions, int flags) {
107 this(context, null, suggestions, flags, null);
111 * @param locale Locale of the suggestions
112 * @param suggestions Suggestions for the string under the spa
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/autofill/
AutofillTest.java 106 public boolean openAutofillPopupAndWaitUntilReady(final AutofillSuggestion[] suggestions)
111 mAutofillPopup.filterAndShow(suggestions);
135 AutofillSuggestion[] suggestions = createTwoAutofillSuggestionArray();
136 assertTrue(openAutofillPopupAndWaitUntilReady(suggestions));
  /external/chromium_org/chrome/browser/search/suggestions/
suggestions_service_factory.cc 5 #include "chrome/browser/search/suggestions/suggestions_service_factory.h"
10 #include "chrome/browser/search/suggestions/suggestions_service.h"
11 #include "chrome/browser/search/suggestions/suggestions_store.h"
16 namespace suggestions { namespace
58 } // namespace suggestions
  /external/chromium_org/chrome/browser/spellchecker/
spellcheck_message_filter_mac.h 41 std::vector<base::string16>* suggestions);
  /external/chromium_org/chrome/browser/ui/autofill/
mock_address_validator.h 38 std::vector< ::i18n::addressinput::AddressData>* suggestions));
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
FilterSuggestionBuilder.js 65 var suggestions = [];
69 suggestions.push(this._keys[j] + ":");
77 suggestions.push(key + ":" + items[i]);
80 return suggestions;
  /external/chromium_org/third_party/WebKit/Source/web/
ColorChooserUIController.cpp 90 this, static_cast<WebColor>(m_client->currentColor().rgb()), m_client->suggestions()));
DateTimeChooserImpl.cpp 144 if (m_parameters.suggestions.size()) {
148 for (unsigned i = 0; i < m_parameters.suggestions.size(); i++) {
149 suggestionValues.append(valueToDateTimeString(m_parameters.suggestions[i].value, m_parameters.type));
150 localizedSuggestionValues.append(m_parameters.suggestions[i].localizedValue);
151 suggestionLabels.append(m_parameters.suggestions[i].label);
  /external/chromium_org/third_party/libaddressinput/chromium/cpp/include/libaddressinput/
address_validator.h 123 // Fills in |suggestions| for the partially typed in |user_input|, assuming
124 // the user is typing in the |focused_field|. If the number of |suggestions|
125 // is over the |suggestion_limit|, then returns no |suggestions| at all.
128 // rules are available, but does not fill in suggestions.
134 // suggestions limit = 1
142 // suggestions limit = 10
151 std::vector<AddressData>* suggestions) const = 0;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 64 public SuggestionsParams(String[] suggestions, int flags) {
65 mSuggestions = suggestions;
91 final String[] suggestions, final int flags) {
92 if (suggestions == null || TextUtils.isEmpty(query)) {
96 generateKey(query, prevWordsInfo), new SuggestionsParams(suggestions, flags));
170 // If the string contains a period, native returns strange suggestions (it seems
171 // to return suggestions for everything up to the period only and to ignore the
173 // TODO: investigate why native returns these suggestions and remove this code.
216 * Gets a list of suggestions for a specific string. This returns a list of possible
284 // TODO: Don't gather suggestions if the limit is <= 0 unless necessar
348 final ArrayList<String> suggestions = new ArrayList<>(); local
    [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);
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/autofill/
AutofillPopupBridge.java 72 * Shows an Autofill popup with specified suggestions.
73 * @param suggestions Autofill suggestions to be displayed.
76 private void show(AutofillSuggestion[] suggestions) {
77 if (mAutofillPopup != null) mAutofillPopup.filterAndShow(suggestions);
  /external/chromium_org/ui/file_manager/file_manager/foreground/css/
file_types.css 17 list.autocomplete-suggestions [selected] [file-type-icon] {
31 list.autocomplete-suggestions [selected] [file-type-icon='archive'] {
45 list.autocomplete-suggestions [selected] [file-type-icon='audio'] {
59 list.autocomplete-suggestions [selected] [file-type-icon='excel'] {
79 list.autocomplete-suggestions [selected] .shared[file-type-icon='folder'] {
87 list.autocomplete-suggestions [selected] [file-type-icon='folder'] {
101 list.autocomplete-suggestions [selected] [file-type-icon='form'] {
115 list.autocomplete-suggestions [selected] [file-type-icon='gdoc'] {
129 list.autocomplete-suggestions [selected] [file-type-icon='gdraw'] {
143 list.autocomplete-suggestions [selected] [file-type-icon='glink']
    [all...]
  /external/chromium_org/chrome/renderer/resources/extensions/
omnibox_custom_bindings.js 103 var suggestions = [];
108 $Array.push(suggestions, parseResult);
110 return [requestId, suggestions];
118 var suggestCallback = function(suggestions) {
119 chrome.omnibox.sendSuggestions(requestId, suggestions);
  /external/chromium_org/chrome/common/extensions/
command.cc 410 // We'll build up a map of platform-to-shortcut suggestions.
412 SuggestionMap suggestions; local
423 // Found a platform, add it to the suggestions list.
424 suggestions[iter.key()] = suggested_key_string;
442 suggestions[values::kKeybindingPlatformDefault] = suggested_key_string;
444 suggestions[values::kKeybindingPlatformDefault] = "";
453 // Normalize the suggestions.
454 for (SuggestionMap::iterator iter = suggestions.begin();
455 iter != suggestions.end(); ++iter) {
470 suggestions[iter->first] = NormalizeShortcutSuggestion(iter->second
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SearchActivityView.java 44 import com.android.quicksearchbox.Suggestions;
95 mSuggestionsView = (SuggestionsView) findViewById(R.id.suggestions);
102 // suggestions?
193 public Suggestions getSuggestions() {
201 public void setSuggestions(Suggestions suggestions) {
202 suggestions.acquire();
203 mSuggestionsAdapter.setSuggestions(suggestions);
220 * Sets the text in the query box. Does not update the suggestions.
336 * is All or Web, use the web search suggestions as completions
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestClient.java 50 * Use network-based Google Suggests to provide search suggestions.
94 * suggestions ordered by best match.
122 * 2 which contain the suggestions and their popularity.
125 JSONArray suggestions = results.getJSONArray(1); local
127 if (DBG) Log.d(LOG_TAG, "Got " + suggestions.length() + " results");
128 return new GoogleSuggestCursor(this, query, suggestions, popularity);
163 /* Contains the actual suggestions */
172 JSONArray suggestions, JSONArray popularity) {
174 mSuggestions = suggestions;
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
AutocompleteController.java 30 void onSuggestionsReceived(List<OmniboxSuggestion> suggestions,
48 * <p>This will implicitly stop the autocomplete suggestions, so
51 * waiting on omnibox suggestions.
66 * Starts querying for omnibox suggestions for a given text.
70 * @param text The text to query autocomplete suggestions for.
71 * @param preventInlineAutocomplete Whether autocomplete suggestions should be prevented.
87 * the user pressed enter before omnibox suggestions had been shown).
102 * Starts a query for suggestions before any input is available from the user.
122 * Stops generating autocomplete suggestions for the currently specified text from
169 List<OmniboxSuggestion> suggestions,
    [all...]

Completed in 1382 milliseconds

1 23 4 5 6 7 8