Lines Matching refs:context
33 * An extra that provides context for search UI and defines the scope for
41 public static void startSearch(Activity context, String initialQuery) {
42 context.startActivity(buildIntent(context, initialQuery, null));
45 public static void startSearchForResult(Activity context, String initialQuery,
47 context.startActivityForResult(
48 buildIntent(context, initialQuery, originalRequest), requestCode);
51 public static void startSearch(Activity context, String initialQuery,
53 context.startActivity(buildIntent(context, initialQuery, originalRequest));
57 Activity context, String initialQuery, ContactsRequest originalRequest) {
62 Intent originalIntent = context.getIntent();