Home
last modified time | relevance | path

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

/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()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java124 Intent upIntent = NavUtils.getParentActivityIntent(getActivity()); in onOptionsItemSelected() local
125 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK); in onOptionsItemSelected()
130 if (NavUtils.shouldUpRecreateTask(getActivity(), upIntent) in onOptionsItemSelected()
135 .addNextIntentWithParentStack(upIntent) in onOptionsItemSelected()