Home | History | Annotate | Download | only in browser

Lines Matching defs:intent

19 import android.content.Intent;
38 Intent intent = new Intent(Intent.ACTION_VIEW);
39 intent.setData(Uri.parse("http://google.com/"));
40 sendIntent(intent);
46 intent.setData(Uri.parse("http://maps.google.com/"));
47 sendIntent(intent);
52 intent.setData(Uri.parse("http://google.com/"));
53 sendIntent(intent);
59 Intent intent = BookmarkUtils.createShortcutIntent("http://google.com/");
60 sendIntent(intent);
65 sendIntent(intent);
69 sendIntent(intent);
84 Intent intent = new Intent(Intent.ACTION_VIEW);
85 intent.setData(Uri.parse("http://google.com/"));
86 intent.putExtra(Browser.EXTRA_APPLICATION_ID, getClass().getName());
87 sendIntent(intent);
93 intent.setData(Uri.parse("http://maps.google.com/"));
94 sendIntent(intent);
133 private void sendIntent(final Intent intent) throws Throwable {
134 sendIntent(intent, true);
137 private void sendIntent(final Intent intent, boolean waitForLoadStart) throws Throwable {
140 intent.putExtra(Controller.NO_CRASH_RECOVERY, true);
141 setActivityIntent(intent);
148 getInstrumentation().callActivityOnNewIntent(activity, intent);
153 String url = intent.getDataString();