Searched refs:upIntent (Results 1 - 5 of 5) sorted by relevance

/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DContentViewActivity.java54 Intent upIntent = NavUtils.getParentActivityIntent(this);
55 if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
61 NavUtils.navigateUpTo(this, upIntent);
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
H A DContentViewActivity.java54 Intent upIntent = NavUtils.getParentActivityIntent(this);
55 if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
61 NavUtils.navigateUpTo(this, upIntent);
/frameworks/support/core-utils/java/android/support/v4/app/
H A DNavUtils.java78 Intent upIntent = getParentActivityIntent(sourceActivity);
80 if (upIntent == null) {
88 navigateUpTo(sourceActivity, upIntent);
92 * Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity
93 * in the process. upIntent will have the flag {@link Intent#FLAG_ACTIVITY_CLEAR_TOP} set
102 * @param upIntent An intent representing the target destination for up navigation
104 public static void navigateUpTo(Activity sourceActivity, Intent upIntent) { argument
106 sourceActivity.navigateUpTo(upIntent);
108 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
109 sourceActivity.startActivity(upIntent);
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatActivity.java392 Intent upIntent = getSupportParentActivityIntent();
394 if (upIntent != null) {
395 if (supportShouldUpRecreateTask(upIntent)) {
411 supportNavigateUpTo(upIntent);
451 * Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity
452 * in the process. upIntent will have the flag {@link android.content.Intent#FLAG_ACTIVITY_CLEAR_TOP} set
460 * @param upIntent An intent representing the target destination for up navigation
462 public void supportNavigateUpTo(@NonNull Intent upIntent) { argument
463 NavUtils.navigateUpTo(this, upIntent);
/frameworks/base/core/java/android/app/
H A DActivity.java3630 Intent upIntent = getParentActivityIntent();
3631 if (upIntent != null) {
3637 } else if (shouldUpRecreateTask(upIntent)) {
3653 navigateUpTo(upIntent);
6752 * Navigate from this activity to the activity specified by upIntent, finishing this activity
6753 * in the process. If the activity indicated by upIntent already exists in the task's history,
6767 * @param upIntent An intent representing the target destination for up navigation
6769 * @return true if up navigation successfully reached the activity indicated by upIntent and
6770 * upIntent was delivered to it. false if an instance of the indicated activity could
6773 public boolean navigateUpTo(Intent upIntent) { argument
6817 navigateUpToFromChild(Activity child, Intent upIntent) argument
[all...]

Completed in 186 milliseconds