Home | History | Annotate | Download | only in browse

Lines Matching defs:Intent

24 import android.content.Intent;
105 new Intent(Intent.ACTION_DIAL, Uri.parse(WebView.SCHEME_TEL)),
108 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:")),
156 * Sends an intent and reports the analytics event.
159 private Intent mIntent;
165 public SendIntent(Intent intent, String analyticsLabel) {
167 setIntent(intent);
170 void setIntent(Intent intent) {
171 mIntent = intent;
189 final Intent send = new Intent(Intent.ACTION_SEND);
191 send.putExtra(Intent.EXTRA_TEXT, url);
192 setIntent(Intent.createChooser(send, mActivity.getText(
199 Intent send = new Intent(Intent.ACTION_SEND);
285 final Intent intent = new Intent(Intent.ACTION_DIAL,
287 dialMenuItem.setOnMenuItemClickListener(new SendIntent(intent, "dial"));
296 final Intent intent =
297 new Intent(Intent.ACTION_SENDTO, Uri.parse("smsto:" + extra));
298 sendSmsMenuItem.setOnMenuItemClickListener(new SendIntent(intent, "sms"));
304 final Intent addIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT);
321 final Intent mailtoIntent =
322 new Intent(Intent.ACTION_VIEW, Uri.parse(WebView.SCHEME_MAILTO + extra));
341 final Intent viewMap =
342 new Intent(Intent.ACTION_VIEW, Uri.parse(WebView.SCHEME_GEO + geoExtra));
384 new SendIntent(new Intent(Intent.ACTION_VIEW, Uri.parse(extra)), "open_link"));
405 final Intent intent = mIntentBuilder.createInlineAttachmentViewIntent(mActivity, url, msg);
406 if (intent == null) {
412 menuItem.setOnMenuItemClickListener(new SendIntent(intent, "view_image"));