Home | History | Annotate | Download | only in quicksearchbox

Lines Matching refs:suggestion

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);
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());
514 launchSuggestion(suggestion.getCursor(), suggestion.getPosition());
527 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id);
528 if (suggestion == null) return;
529 CharSequence title = suggestion.getSuggestionText1();
546 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id);
547 if (suggestion == null) return;
548 removeFromHistory(suggestion.getCursor(), suggestion.getPosition());
567 if (DBG) Log.d(TAG, "Removing suggestion " + position + " from shortcuts");
573 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id);
574 if (suggestion == null) return;
576 if (DBG) Log.d(TAG, "Used suggestion " + suggestion.getPosition());
579 // Log suggestion click
580 getLogger().logSuggestionClick(id, suggestion.getCursor(), getCurrentIncludedCorpora(),
584 getShortcutRepository().reportClick(suggestion.getCursor(), suggestion.getPosition());
589 SuggestionPosition suggestion = getCurrentSuggestions(adapter, id);
590 if (suggestion == null) {
593 String query = suggestion.getSuggestionQuery();
599 getLogger().logSuggestionClick(id, suggestion.getCursor(), getCurrentIncludedCorpora(),