Home
last modified time | relevance | path

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

/frameworks/base/tests/UiBench/src/com/android/test/uibench/listview/
DCompatListActivity.java33 int containerViewId = getListFragmentContainerViewId(); in onCreate() local
35 Fragment fragment = fm.findFragmentById(containerViewId); in onCreate()
39 fm.beginTransaction().add(containerViewId, listFragment).commit(); in onCreate()
/frameworks/base/core/java/android/app/
DFragmentTransaction.java38 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment); in add() argument
55 public abstract FragmentTransaction add(@IdRes int containerViewId, Fragment fragment, in add() argument
61 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment); in replace() argument
79 public abstract FragmentTransaction replace(@IdRes int containerViewId, Fragment fragment, in replace() argument
DBackStackRecord.java413 public FragmentTransaction add(int containerViewId, Fragment fragment) { in add() argument
414 doAddOp(containerViewId, fragment, null, OP_ADD); in add()
418 public FragmentTransaction add(int containerViewId, Fragment fragment, String tag) { in add() argument
419 doAddOp(containerViewId, fragment, tag, OP_ADD); in add()
423 private void doAddOp(int containerViewId, Fragment fragment, String tag, int opcmd) { in doAddOp() argument
445 if (containerViewId != 0) { in doAddOp()
446 if (containerViewId == View.NO_ID) { in doAddOp()
450 if (fragment.mFragmentId != 0 && fragment.mFragmentId != containerViewId) { in doAddOp()
453 + " now " + containerViewId); in doAddOp()
455 fragment.mContainerId = fragment.mFragmentId = containerViewId; in doAddOp()
[all …]