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

  /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...]
  /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...]
ShortcutRepositoryImplLog.java 310 private boolean shouldRefresh(Suggestion suggestion) {
311 return mRefresher.shouldRefresh(suggestion.getSuggestionSource(),
312 suggestion.getShortcutId());
416 // original suggestion.
528 private ContentValues makeShortcutRow(Suggestion suggestion) {
529 String intentAction = suggestion.getSuggestionIntentAction();
530 String intentComponent = componentNameToString(suggestion.getSuggestionIntentComponent());
531 String intentData = suggestion.getSuggestionIntentDataString()
    [all...]
ShortcutsProvider.java 175 SuggestionData suggestion = new SuggestionData(source); local
176 suggestion.setFormat(format);
177 suggestion.setText1(text1);
178 suggestion.setText2(text2);
179 suggestion.setText2Url(text2Url);
180 suggestion.setIcon1(icon1);
181 suggestion.setIcon2(icon2);
182 suggestion.setShortcutId(shortcutId);
183 suggestion.setSpinnerWhileRefreshing(spinnerWhileRefreshing);
184 suggestion.setIntentAction(intentAction)
    [all...]
SearchActivity.java 339 // Close all open suggestion cursors. The query will be redone in onResume()
473 Log.w(TAG, "Invalid suggestion position " + position + ", count = " + count);
493 // Since the intents for suggestions specified by suggestion providers,
500 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
501 if (suggestion == null) return false;
503 if (DBG) Log.d(TAG, "Launching suggestion " + id);
506 // Log suggestion click
507 getLogger().logSuggestionClick(id, suggestion.getCursor(), getCurrentIncludedCorpora(),
511 getShortcutRepository().reportClick(suggestion.getCursor(), suggestion.getPosition())
527 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
546 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
573 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
589 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id); local
    [all...]
  /external/chromium/chrome/browser/autocomplete/
keyword_provider.cc 462 // It's possible to change the default suggestion while not in an editing
493 const ExtensionOmniboxSuggestion& suggestion = local
497 // and subtract 1 for each subsequent suggestion from the extension.
504 suggestion.content, first_relevance - (i + 1)));
507 match->contents.assign(suggestion.description);
508 match->contents_class = suggestion.description_styles;
autocomplete_edit.cc 197 const string16 suggestion = view_->GetInstantSuggestion(); local
198 if (suggestion.empty())
201 FinalizeInstantQuery(view_->GetText(), suggestion, skip_inline_autocomplete);
285 // autocomplete suggestion of "foo.net". He now presses ctrl-a (e.g. to
811 // Return true if the suggestion type warrants a TCP/IP preconnection.
    [all...]
autocomplete_edit_view_gtk.cc 361 // Setup for the Instant suggestion text view.
765 void AutocompleteEditViewGtk::SetInstantSuggestion(const string16& suggestion,
767 std::string suggestion_utf8 = UTF16ToUTF8(suggestion);
773 if (suggestion.empty()) {
792 const gchar* suggestion = gtk_label_get_text(GTK_LABEL(instant_view_)); local
793 return suggestion ? UTF8ToUTF16(suggestion) : string16();
816 // Use the real end iterator here to take the width of instant suggestion
    [all...]
  /external/chromium/chrome/browser/extensions/
extension_omnibox_api.cc 27 "Suggestion descriptionStyles must be in increasing non-overlapping order.";
29 "Suggestion descriptionStyles contains an offset longer than the"
46 // Returns the suggestion object set by the extension via the
118 ExtensionOmniboxSuggestion& suggestion = suggestions.suggestions[i]; local
123 kSuggestionContent, &suggestion.content));
125 kSuggestionDescription, &suggestion.description));
131 EXTENSION_FUNCTION_VALIDATE(suggestion.ReadStylesFromValue(*styles));
133 suggestion.description_styles.clear();
134 suggestion.description_styles.push_back(
148 ExtensionOmniboxSuggestion suggestion; local
238 const ExtensionOmniboxSuggestion* suggestion = local
    [all...]
  /development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
CandidateView.java 182 String suggestion = mSuggestions.get(i); local
183 float textWidth = paint.measureText(suggestion);
206 canvas.drawText(suggestion, x + X_GAP, y, paint);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
AndroidWordLevelSpellCheckerSession.java 306 for (final SuggestedWordInfo suggestion : suggestions) {
307 final String suggestionStr = suggestion.mWord;
309 suggestionStr.length(), suggestion.mScore);
324 Log.i(TAG, "Spell checking results for " + text + " with suggestion limit "
330 for (String suggestion : result.mSuggestions) {
331 Log.i(TAG, suggestion);
  /external/chromium/chrome/browser/instant/
instant_loader.cc 641 // If state hasn't changed, reuse the last suggestion. There are two cases:
856 string16 suggestion = complete_suggested_text_.substr(user_text_.size()); local
858 delegate_->SetSuggestedTextFor(this, suggestion, behavior);
    [all...]
  /external/oprofile/libpp/
arrange_profiles.cpp 105 string suggestion; member in struct:__anon12756::axis_t
205 str += "Suggestion: ";
206 str += axes[classes.axis].suggestion;
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 70 public static final class Suggestion {
373 public List<Suggestion> getSuggestions() {
374 ArrayList<Suggestion> list = Lists.newArrayList();
376 Suggestion suggestion = null; local
382 suggestion = new Suggestion();
383 suggestion.contactId = contactId;
384 suggestion.name = mDataCursor.getString(DataQuery.DISPLAY_NAME);
385 suggestion.lookupKey = mDataCursor.getString(DataQuery.LOOKUP_KEY)
    [all...]
ContactEditorFragment.java 79 import com.android.contacts.editor.AggregationSuggestionEngine.Suggestion;
191 * - After the user has accepted an edit suggestion
271 private final List<Suggestion> mSuggestions;
274 AggregationSuggestionView.Listener listener, List<Suggestion> suggestions) {
283 Suggestion suggestion = (Suggestion) getItem(position); local
290 suggestionView.bindSuggestion(suggestion);
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
LatinIME.java 119 // Swap punctuation: the state where a weak space and a punctuation from the suggestion strip
122 // Weak space: a space that should be swapped only by suggestion strip punctuation. Weak
123 // spaces happen when the user presses space, accepting the current suggestion (whether
128 // Phantom spaces happen when a user chooses a word from the suggestion strip.
2304 final String suggestion = suggestionInfo.mWord; local
    [all...]
  /frameworks/base/core/java/android/widget/
Editor.java 2526 String suggestion = suggestions[suggestionIndex]; local
2699 final String suggestion = suggestionInfo.text.subSequence( local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.help_3.5.0.v20100524.jar 
org.eclipse.pde.core_3.6.1.v20100902_r361.jar 
  /prebuilts/devtools/tools/lib/
lint-checks.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.ui.workbench.texteditor_3.6.1.r361_v20100714-0800.jar 

Completed in 1043 milliseconds