Lines Matching refs:intent

219  * intent is delivered -- so the code in these methods should be fairly
761 /** Return the intent that started this activity. */
767 * Change the intent returned by {@link #getIntent}. This holds a
768 * reference to the given intent; it does not copy it. Often used in
1123 * <p>An activity will always be paused before receiving a new intent, so
1129 * @param intent The new intent that was started for the activity.
1135 protected void onNewIntent(Intent intent) {
2108 Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + str));
2109 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
2110 startActivity(intent);
2747 // specify a parent activity intent in the first place. Just finish
2793 * if {@link #shouldUpRecreateTask(Intent)} returns true when supplied with the intent
3209 * searches. This data will be returned with SEARCH intent(s). Null if
3233 * searches. This data will be returned with SEARCH intent(s). Null if
3342 * @param intent The intent to start.
3350 public void startActivityForResult(Intent intent, int requestCode) {
3351 startActivityForResult(intent, requestCode, null);
3377 * @param intent The intent to start.
3388 public void startActivityForResult(Intent intent, int requestCode, Bundle options) {
3393 intent, requestCode, options);
3411 mParent.startActivityFromChild(this, intent, requestCode, options);
3415 mParent.startActivityFromChild(this, intent, requestCode);
3423 public void startActivityAsUser(Intent intent, UserHandle user) {
3424 startActivityAsUser(intent, null, user);
3430 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) {
3437 intent, -1, options, user);
3449 * @param intent The IntentSender to launch.
3453 * intent parameter to {@link IntentSender#sendIntent}.
3460 public void startIntentSenderForResult(IntentSender intent, int requestCode,
3463 startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask,
3476 * @param intent The IntentSender to launch.
3480 * intent parameter to {@link IntentSender#sendIntent}.
3492 public void startIntentSenderForResult(IntentSender intent, int requestCode,
3496 startIntentSenderForResultInner(intent, requestCode, fillInIntent,
3499 mParent.startIntentSenderFromChild(this, intent, requestCode,
3504 mParent.startIntentSenderFromChild(this, intent, requestCode,
3509 private void startIntentSenderForResultInner(IntentSender intent, int requestCode,
3521 .startActivityIntentSender(mMainThread.getApplicationThread(), intent,
3546 * @param intent The intent to start.
3554 public void startActivity(Intent intent) {
3555 startActivity(intent, null);
3570 * @param intent The intent to start.
3581 public void startActivity(Intent intent, Bundle options) {
3583 startActivityForResult(intent, -1, options);
3587 startActivityForResult(intent, -1);
3639 * @param intent The IntentSender to launch.
3641 * intent parameter to {@link IntentSender#sendIntent}.
3648 public void startIntentSender(IntentSender intent,
3651 startIntentSender(intent, fillInIntent, flagsMask, flagsValues,
3661 * @param intent The IntentSender to launch.
3663 * intent parameter to {@link IntentSender#sendIntent}.
3675 public void startIntentSender(IntentSender intent,
3679 startIntentSenderForResult(intent, -1, fillInIntent, flagsMask,
3684 startIntentSenderForResult(intent, -1, fillInIntent, flagsMask,
3693 * @param intent The intent to start.
3704 public boolean startActivityIfNeeded(Intent intent, int requestCode) {
3705 return startActivityIfNeeded(intent, requestCode, null);
3716 * that handles <var>intent</var> is the same as your currently running
3724 * @param intent The intent to start.
3738 public boolean startActivityIfNeeded(Intent intent, int requestCode, Bundle options) {
3742 intent.migrateExtraStreamToClipData();
3743 intent.prepareToLeaveProcess();
3746 intent, intent.resolveTypeIfNeeded(getContentResolver()),
3754 Instrumentation.checkStartActivityResult(result, intent);
3777 * @param intent The intent to dispatch to the next activity. For
3787 public boolean startNextMatchingActivity(Intent intent) {
3788 return startNextMatchingActivity(intent, null);
3797 * @param intent The intent to dispatch to the next activity. For
3810 public boolean startNextMatchingActivity(Intent intent, Bundle options) {
3813 intent.migrateExtraStreamToClipData();
3814 intent.prepareToLeaveProcess();
3816 .startNextMatchingActivity(mToken, intent, options);
3832 * @param intent The intent to start.
3840 public void startActivityFromChild(Activity child, Intent intent,
3842 startActivityFromChild(child, intent, requestCode, null);
3853 * @param intent The intent to start.
3864 public void startActivityFromChild(Activity child, Intent intent,
3869 intent, requestCode, options);
3882 * @param intent The intent to start.
3890 public void startActivityFromFragment(Fragment fragment, Intent intent,
3892 startActivityFromFragment(fragment, intent, requestCode, null);
3904 * @param intent The intent to start.
3915 public void startActivityFromFragment(Fragment fragment, Intent intent,
3920 intent, requestCode, options);
3932 public void startIntentSenderFromChild(Activity child, IntentSender intent,
3936 startIntentSenderFromChild(child, intent, requestCode, fillInIntent,
3946 public void startIntentSenderFromChild(Activity child, IntentSender intent,
3950 startIntentSenderForResultInner(intent, requestCode, fillInIntent,
4313 * of the intent that can be supplied when the actual send happens.
4941 * @param targetIntent An intent representing the target destination for up navigation
4981 * @param upIntent An intent representing the target destination for up navigation
5025 * @param upIntent An intent representing the target destination for up navigation
5041 * the parent intent entirely.
5052 // If the parent itself has no parent, generate a main activity intent.
5075 Application application, Intent intent, ActivityInfo info, CharSequence title,
5078 attach(context, aThread, instr, token, 0, application, intent, info, title, parent, id,
5084 Application application, Intent intent, ActivityInfo info,
5108 mIntent = intent;
5109 mComponent = intent.getComponent();