Home
last modified time | relevance | path

Searched refs:upIntent (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/core-utils/java/android/support/v4/app/
DNavUtils.java45 void navigateUpTo(Activity activity, Intent upIntent); in navigateUpTo() argument
78 public void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo() argument
79 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in navigateUpTo()
80 activity.startActivity(upIntent); in navigateUpTo()
119 public void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo() argument
120 NavUtilsJB.navigateUpTo(activity, upIntent); in navigateUpTo()
175 Intent upIntent = getParentActivityIntent(sourceActivity); in navigateUpFromSameTask() local
177 if (upIntent == null) { in navigateUpFromSameTask()
185 navigateUpTo(sourceActivity, upIntent); in navigateUpFromSameTask()
201 public static void navigateUpTo(Activity sourceActivity, Intent upIntent) { in navigateUpTo() argument
[all …]
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DContentViewActivity.java54 Intent upIntent = NavUtils.getParentActivityIntent(this); in onOptionsItemSelected() local
55 if (NavUtils.shouldUpRecreateTask(this, upIntent)) { in onOptionsItemSelected()
61 NavUtils.navigateUpTo(this, upIntent); in onOptionsItemSelected()
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DAppCompatActivity.java394 Intent upIntent = getSupportParentActivityIntent(); in onSupportNavigateUp() local
396 if (upIntent != null) { in onSupportNavigateUp()
397 if (supportShouldUpRecreateTask(upIntent)) { in onSupportNavigateUp()
413 supportNavigateUpTo(upIntent); in onSupportNavigateUp()
464 public void supportNavigateUpTo(@NonNull Intent upIntent) { in supportNavigateUpTo() argument
465 NavUtils.navigateUpTo(this, upIntent); in supportNavigateUpTo()
/frameworks/support/core-utils/jellybean/android/support/v4/app/
DNavUtilsJB.java32 public static void navigateUpTo(Activity activity, Intent upIntent) { in navigateUpTo() argument
33 activity.navigateUpTo(upIntent); in navigateUpTo()
/frameworks/base/core/java/android/app/
DActivity.java3384 Intent upIntent = getParentActivityIntent(); in onNavigateUp() local
3385 if (upIntent != null) { in onNavigateUp()
3391 } else if (shouldUpRecreateTask(upIntent)) { in onNavigateUp()
3407 navigateUpTo(upIntent); in onNavigateUp()
6446 public boolean navigateUpTo(Intent upIntent) { in navigateUpTo() argument
6448 ComponentName destInfo = upIntent.getComponent(); in navigateUpTo()
6450 destInfo = upIntent.resolveActivity(getPackageManager()); in navigateUpTo()
6454 upIntent = new Intent(upIntent); in navigateUpTo()
6455 upIntent.setComponent(destInfo); in navigateUpTo()
6467 upIntent.prepareToLeaveProcess(this); in navigateUpTo()
[all …]
/frameworks/base/docs/html/training/implementing-navigation/
Dancestral.jd203 Intent upIntent = NavUtils.getParentActivityIntent(this);
204 if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
209 .addNextIntentWithParentStack(upIntent)
215 NavUtils.navigateUpTo(this, upIntent);
Dtemporal.jd148 .addNextIntentWithParentStack(upIntent)