Home
last modified time | relevance | path

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

/frameworks/support/core-utils/java/android/support/v4/app/
DNavUtils.java78 Intent upIntent = getParentActivityIntent(sourceActivity); in navigateUpFromSameTask() local
80 if (upIntent == null) { in navigateUpFromSameTask()
88 navigateUpTo(sourceActivity, upIntent); in navigateUpFromSameTask()
104 public static void navigateUpTo(Activity sourceActivity, Intent upIntent) { in navigateUpTo() argument
106 sourceActivity.navigateUpTo(upIntent); in navigateUpTo()
108 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in navigateUpTo()
109 sourceActivity.startActivity(upIntent); in navigateUpTo()
/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.java393 Intent upIntent = getSupportParentActivityIntent(); in onSupportNavigateUp() local
395 if (upIntent != null) { in onSupportNavigateUp()
396 if (supportShouldUpRecreateTask(upIntent)) { in onSupportNavigateUp()
412 supportNavigateUpTo(upIntent); in onSupportNavigateUp()
463 public void supportNavigateUpTo(@NonNull Intent upIntent) { in supportNavigateUpTo() argument
464 NavUtils.navigateUpTo(this, upIntent); in supportNavigateUpTo()
/frameworks/base/core/java/android/app/
DActivity.java3615 Intent upIntent = getParentActivityIntent(); in onNavigateUp() local
3616 if (upIntent != null) { in onNavigateUp()
3622 } else if (shouldUpRecreateTask(upIntent)) { in onNavigateUp()
3638 navigateUpTo(upIntent); in onNavigateUp()
6740 public boolean navigateUpTo(Intent upIntent) { in navigateUpTo() argument
6742 ComponentName destInfo = upIntent.getComponent(); in navigateUpTo()
6744 destInfo = upIntent.resolveActivity(getPackageManager()); in navigateUpTo()
6748 upIntent = new Intent(upIntent); in navigateUpTo()
6749 upIntent.setComponent(destInfo); in navigateUpTo()
6761 upIntent.prepareToLeaveProcess(this); in navigateUpTo()
[all …]