Home
last modified time | relevance | path

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

/development/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()
/development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
DCollectionDemoActivity.java81 Intent upIntent = new Intent(this, MainActivity.class); in onOptionsItemSelected() local
82 if (NavUtils.shouldUpRecreateTask(this, upIntent)) { in onOptionsItemSelected()
87 .addNextIntent(upIntent) in onOptionsItemSelected()
93 NavUtils.navigateUpTo(this, upIntent); in onOptionsItemSelected()