HomeSort by relevance Sort by last modified time
    Searched refs:upIntent (Results 1 - 25 of 45) sorted by null

1 2

  /frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
ContentViewActivity.java 53 Intent upIntent = NavUtils.getParentActivityIntent(this);
54 if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
60 NavUtils.navigateUpTo(this, upIntent);
  /frameworks/support/compat/src/main/java/androidx/core/app/
NavUtils.java 81 Intent upIntent = getParentActivityIntent(sourceActivity);
83 if (upIntent == null) {
91 navigateUpTo(sourceActivity, upIntent);
95 * Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity
96 * in the process. upIntent will have the flag {@link Intent#FLAG_ACTIVITY_CLEAR_TOP} set
105 * @param upIntent An intent representing the target destination for up navigation
107 public static void navigateUpTo(@NonNull Activity sourceActivity, @NonNull Intent upIntent) {
109 sourceActivity.navigateUpTo(upIntent);
111 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
112 sourceActivity.startActivity(upIntent);
    [all...]
  /development/samples/training/EffectiveNavigation/src/com/example/android/effectivenavigation/
CollectionDemoActivity.java 81 Intent upIntent = new Intent(this, MainActivity.class);
82 if (NavUtils.shouldUpRecreateTask(this, upIntent)) {
87 .addNextIntent(upIntent)
93 NavUtils.navigateUpTo(this, upIntent);
  /frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
AppCompatActivity.java 393 Intent upIntent = getSupportParentActivityIntent();
395 if (upIntent != null) {
396 if (supportShouldUpRecreateTask(upIntent)) {
412 supportNavigateUpTo(upIntent);
452 * Navigate from sourceActivity to the activity specified by upIntent, finishing sourceActivity
453 * in the process. upIntent will have the flag {@link android.content.Intent#FLAG_ACTIVITY_CLEAR_TOP} set
461 * @param upIntent An intent representing the target destination for up navigation
463 public void supportNavigateUpTo(@NonNull Intent upIntent) {
464 NavUtils.navigateUpTo(this, upIntent);
  /developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailFragment.java 124 Intent upIntent = NavUtils.getParentActivityIntent(getActivity());
125 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
130 if (NavUtils.shouldUpRecreateTask(getActivity(), upIntent)
135 .addNextIntentWithParentStack(upIntent)
  /developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/
DetailFragment.java 124 Intent upIntent = NavUtils.getParentActivityIntent(getActivity());
125 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
130 if (NavUtils.shouldUpRecreateTask(getActivity(), upIntent)
135 .addNextIntentWithParentStack(upIntent)
  /development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DetailFragment.java 124 Intent upIntent = NavUtils.getParentActivityIntent(getActivity());
125 upIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
130 if (NavUtils.shouldUpRecreateTask(getActivity(), upIntent)
135 .addNextIntentWithParentStack(upIntent)
  /frameworks/base/core/java/android/app/
Activity.java     [all...]
  /development/samples/ControllerSample/libs/
android-support-v4.jar 
  /development/samples/training/AnimationsDemo/libs/
android-support-v13.jar 
  /development/samples/training/ContactsList/libs/
android-support-v4.jar 
  /development/samples/training/EffectiveNavigation/libs/
android-support-v4.jar 
  /development/samples/training/InteractiveChart/libs/
android-support-v4.jar 
  /external/robolectric/v1/lib/main/
android-support-v4.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/13.0.0/
support-v4-13.0.0.jar 
  /sdk/apps/NotificationStudio/libs/
android-support-v4.jar 
  /developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 
  /developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
android-support-v4.jar 
  /development/samples/training/NavigationDrawer/libs/
android-support-v4.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/18.0.0/
support-v4-18.0.0.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.0/
support-v4-19.0.0.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.0.1/
support-v4-19.0.1.jar 
  /prebuilts/maven_repo/android/com/android/support/support-v4/19.1.0/
support-v4-19.1.0.jar 
  /development/samples/training/basic/FragmentBasics/libs/
android-support-v4.jar 
  /development/samples/training/location-aware/libs/
android-support-v4.jar 

Completed in 387 milliseconds

1 2