Lines Matching refs:intent

237  * intent is delivered -- so the code in these methods should be fairly
800 /** Return the intent that started this activity. */
806 * Change the intent returned by {@link #getIntent}. This holds a
807 * reference to the given intent; it does not copy it. Often used in
1274 * <p>An activity will always be paused before receiving a new intent, so
1280 * @param intent The new intent that was started for the activity.
1286 protected void onNewIntent(Intent intent) {
2405 Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + str));
2406 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
2407 startActivity(intent);
3069 // specify a parent activity intent in the first place. Just finish
3115 * if {@link #shouldUpRecreateTask(Intent)} returns true when supplied with the intent
3550 * searches. This data will be returned with SEARCH intent(s). Null if
3574 * searches. This data will be returned with SEARCH intent(s). Null if
3697 * @param intent The intent to start.
3705 public void startActivityForResult(Intent intent, int requestCode) {
3706 startActivityForResult(intent, requestCode, null);
3732 * @param intent The intent to start.
3743 public void startActivityForResult(Intent intent, int requestCode, @Nullable Bundle options) {
3748 intent, requestCode, options);
3772 mParent.startActivityFromChild(this, intent, requestCode, options);
3776 mParent.startActivityFromChild(this, intent, requestCode);
3787 public void startActivityForResultAsUser(Intent intent, int requestCode, UserHandle user) {
3788 startActivityForResultAsUser(intent, requestCode, null, user);
3794 public void startActivityForResultAsUser(Intent intent, int requestCode,
3803 this, mMainThread.getApplicationThread(), mToken, this, intent, requestCode,
3829 public void startActivityAsUser(Intent intent, UserHandle user) {
3830 startActivityAsUser(intent, null, user);
3836 public void startActivityAsUser(Intent intent, Bundle options, UserHandle user) {
3843 intent, -1, options, user);
3854 * as intermediaries that dispatch their intent to the target the user selects -- to
3859 public void startActivityAsCaller(Intent intent, @Nullable Bundle options, int userId) {
3866 intent, -1, options, userId);
3878 * @param intent The IntentSender to launch.
3882 * intent parameter to {@link IntentSender#sendIntent}.
3889 public void startIntentSenderForResult(IntentSender intent, int requestCode,
3892 startIntentSenderForResult(intent, requestCode, fillInIntent, flagsMask,
3905 * @param intent The IntentSender to launch.
3909 * intent parameter to {@link IntentSender#sendIntent}.
3921 public void startIntentSenderForResult(IntentSender intent, int requestCode,
3925 startIntentSenderForResultInner(intent, requestCode, fillInIntent,
3928 mParent.startIntentSenderFromChild(this, intent, requestCode,
3933 mParent.startIntentSenderFromChild(this, intent, requestCode,
3938 private void startIntentSenderForResultInner(IntentSender intent, int requestCode,
3950 .startActivityIntentSender(mMainThread.getApplicationThread(), intent,
3975 * @param intent The intent to start.
3983 public void startActivity(Intent intent) {
3984 this.startActivity(intent, null);
3999 * @param intent The intent to start.
4010 public void startActivity(Intent intent, @Nullable Bundle options) {
4012 startActivityForResult(intent, -1, options);
4016 startActivityForResult(intent, -1);
4068 * @param intent The IntentSender to launch.
4070 * intent parameter to {@link IntentSender#sendIntent}.
4077 public void startIntentSender(IntentSender intent,
4080 startIntentSender(intent, fillInIntent, flagsMask, flagsValues,
4090 * @param intent The IntentSender to launch.
4092 * intent parameter to {@link IntentSender#sendIntent}.
4104 public void startIntentSender(IntentSender intent,
4108 startIntentSenderForResult(intent, -1, fillInIntent, flagsMask,
4113 startIntentSenderForResult(intent, -1, fillInIntent, flagsMask,
4122 * @param intent The intent to start.
4133 public boolean startActivityIfNeeded(@NonNull Intent intent, int requestCode) {
4134 return startActivityIfNeeded(intent, requestCode, null);
4145 * that handles <var>intent</var> is the same as your currently running
4153 * @param intent The intent to start.
4167 public boolean startActivityIfNeeded(@NonNull Intent intent, int requestCode,
4172 intent.migrateExtraStreamToClipData();
4173 intent.prepareToLeaveProcess();
4176 intent, intent.resolveTypeIfNeeded(getContentResolver()), mToken,
4183 Instrumentation.checkStartActivityResult(result, intent);
4206 * @param intent The intent to dispatch to the next activity. For
4216 public boolean startNextMatchingActivity(@NonNull Intent intent) {
4217 return startNextMatchingActivity(intent, null);
4226 * @param intent The intent to dispatch to the next activity. For
4239 public boolean startNextMatchingActivity(@NonNull Intent intent, @Nullable Bundle options) {
4242 intent.migrateExtraStreamToClipData();
4243 intent.prepareToLeaveProcess();
4245 .startNextMatchingActivity(mToken, intent, options);
4261 * @param intent The intent to start.
4269 public void startActivityFromChild(@NonNull Activity child, Intent intent,
4271 startActivityFromChild(child, intent, requestCode, null);
4282 * @param intent The intent to start.
4293 public void startActivityFromChild(@NonNull Activity child, Intent intent,
4298 intent, requestCode, options);
4311 * @param intent The intent to start.
4319 public void startActivityFromFragment(@NonNull Fragment fragment, Intent intent,
4321 startActivityFromFragment(fragment, intent, requestCode, null);
4333 * @param intent The intent to start.
4344 public void startActivityFromFragment(@NonNull Fragment fragment, Intent intent,
4352 intent, requestCode, options);
4364 public void startIntentSenderFromChild(Activity child, IntentSender intent,
4368 startIntentSenderFromChild(child, intent, requestCode, fillInIntent,
4378 public void startIntentSenderFromChild(Activity child, IntentSender intent,
4382 startIntentSenderForResultInner(intent, requestCode, fillInIntent,
4469 * return the referrer that submitted that new intent to the activity. Otherwise, it
4477 Intent intent = getIntent();
4478 Uri referrer = intent.getParcelableExtra(Intent.EXTRA_REFERRER);
4482 String referrerName = intent.getStringExtra(Intent.EXTRA_REFERRER_NAME);
4854 * of the intent that can be supplied when the actual send happens.
5729 * @param targetIntent An intent representing the target destination for up navigation
5769 * @param upIntent An intent representing the target destination for up navigation
5813 * @param upIntent An intent representing the target destination for up navigation
5829 * the parent intent entirely.
5841 // If the parent itself has no parent, generate a main activity intent.
5924 Application application, Intent intent, ActivityInfo info,
5949 mIntent = intent;
5951 mComponent = intent.getComponent();