Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DFragmentTransaction.java33 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add() argument
50 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add() argument
56 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace() argument
74 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace() argument
DBackStackRecord.java455 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() argument
456 doAddOp(containerViewId, fragment, null, OP_ADD); in add()
460 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() argument
461 doAddOp(containerViewId, fragment, tag, OP_ADD); in add()
465 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() argument
477 if (containerViewId != 0) { in doAddOp()
478 if (containerViewId == View.NO_ID) { in doAddOp()
482 if (fragment.mFragmentId != 0 && fragment.mFragmentId != containerViewId) { in doAddOp()
485 + " now " + containerViewId); in doAddOp()
487 fragment.mContainerId = fragment.mFragmentId = containerViewId; in doAddOp()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DFragmentTransaction.java50 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add() argument
67 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add() argument
73 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace() argument
91 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace() argument
DBackStackRecord.java419 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() argument
420 doAddOp(containerViewId, fragment, null, OP_ADD); in add()
425 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() argument
426 doAddOp(containerViewId, fragment, tag, OP_ADD); in add()
430 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() argument
451 if (containerViewId != 0) { in doAddOp()
452 if (containerViewId == View.NO_ID) { in doAddOp()
456 if (fragment.mFragmentId != 0 && fragment.mFragmentId != containerViewId) { in doAddOp()
459 + " now " + containerViewId); in doAddOp()
461 fragment.mContainerId = fragment.mFragmentId = containerViewId; in doAddOp()
[all …]