Home | History | Annotate | Download | only in quicksearchbox

Lines Matching refs:Suggestion

40     public boolean add(Suggestion suggestion) {
41 String key = getSuggestionKey(suggestion);
43 return super.add(suggestion);
51 * Gets a unique key that identifies a suggestion. This is used to avoid
54 private String getSuggestionKey(Suggestion suggestion) {
55 String action = makeKeyComponent(suggestion.getSuggestionIntentAction());
56 String data = makeKeyComponent(normalizeUrl(suggestion.getSuggestionIntentDataString()));
57 String query = makeKeyComponent(normalizeUrl(suggestion.getSuggestionQuery()));