Lines Matching refs:intent

96      * if the intent is the result of selecting a suggestion.
116 * to launch the intent.
155 * intent will fill in and launch the pending intent. The data URI will be filled in with an
277 * forming the suggestion's intent. If the element is not provided, the action will be taken
279 * these must be present for the suggestion to generate an intent.</i> Note: If your action is
287 * forming the suggestion's intent. If the element is not provided, the data will be taken
297 * forming the suggestion's intent. If not provided, the Intent's extra data field will be null.
367 * The global search provider should handle this intent.
378 * The global search provider should handle this intent.
385 * Web search providers should handle this intent if they have provider-specific
393 * Components should handle this intent if they cache any searchable data and wish to stay
465 * a search intent.</li>
487 * searches. This data will be returned with SEARCH intent(s). Null if
508 * source bounds for the global search intent.
546 Intent intent = new Intent(INTENT_ACTION_GLOBAL_SEARCH);
547 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
548 intent.setComponent(globalSearchActivity);
559 intent.putExtra(APP_DATA, appSearchData);
561 intent.putExtra(QUERY, initialQuery);
564 intent.putExtra(EXTRA_SELECT_QUERY, selectInitialQuery);
566 intent.setSourceBounds(sourceBounds);
568 if (DBG) Log.d(TAG, "Starting global search: " + intent.toUri(0));
569 mContext.startActivity(intent);
577 * intent.
628 * searches. This data will be returned with SEARCH intent(s). Null if
844 * Gets an intent for launching installed assistant activity, or null if not available.
845 * @return The assist intent.
854 * Gets an intent for launching installed assistant activity, or null if not available.
855 * @return The assist intent.
868 Intent intent = new Intent(Intent.ACTION_ASSIST);
869 intent.setComponent(comp);
874 intent.replaceExtras(extras);
877 return intent;