Lines Matching refs:suggestion
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) {
71 String action = makeKeyComponent(suggestion.getSuggestionIntentAction());
72 String data = makeKeyComponent(normalizeUrl(suggestion.getSuggestionIntentDataString()));
73 String query = makeKeyComponent(normalizeUrl(suggestion.getSuggestionQuery()));