Searched refs:childFragment (Results 1 – 7 of 7) sorted by relevance
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
D | NestedFragmentTest.java | 106 final ChildFragment childFragment = mParentFragment.getChildFragment(); in testNestedFragmentStartActivityForResult() local 107 assertTrue(childFragment.onActivityResultCalled); in testNestedFragmentStartActivityForResult() 108 assertEquals(5, childFragment.onActivityResultRequestCode); in testNestedFragmentStartActivityForResult() 109 assertEquals(Activity.RESULT_OK, childFragment.onActivityResultResultCode); in testNestedFragmentStartActivityForResult()
|
D | NestedInflatedFragmentTest.java | 111 public void onAttachFragment(Fragment childFragment) { in onAttachFragment() argument 112 super.onAttachFragment(childFragment); in onAttachFragment() 113 childFragment.setUserVisibleHint(getUserVisibleHint()); in onAttachFragment()
|
D | FragmentLifecycleTest.java | 362 final StateSaveFragment childFragment = new StateSaveFragment("Child", "UnsavedChild"); in restoreRetainedInstanceFragments() local 364 childFragment.getSavedState()); in restoreRetainedInstanceFragments() 366 childFragment.getUnsavedState()); in restoreRetainedInstanceFragments() 368 .add(childFragment, "tag:child").commitNow(); in restoreRetainedInstanceFragments() 370 parentFragment, childFragment.getParentFragment()); in restoreRetainedInstanceFragments() 427 assertNotSame("child fragment instance state was saved", childFragment, restoredChild); in restoreRetainedInstanceFragments() 429 childFragment.getSavedState(), restoredChild.getSavedState()); in restoreRetainedInstanceFragments() 431 childFragment.getUnsavedState(), restoredChild.getUnsavedState()); in restoreRetainedInstanceFragments() 528 Fragment childFragment = fragment.getChildFragment(); in childFragmentManagerAttach() local 532 verify(mockRecursiveLc, times(1)).onFragmentActivityCreated(fm, childFragment, null); in childFragmentManagerAttach() [all …]
|
D | StrictFragment.java | 89 public void onAttachFragment(Fragment childFragment) { in onAttachFragment() argument
|
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/ |
D | PartiallyCoveredActivityTest.java | 135 CollectingSupportFragment childFragment = new CollectingSupportFragment(); in coveredWithDialog_childFragment() local 138 parentFragment.replaceFragment(childFragment); in coveredWithDialog_childFragment() 140 runTest(childFragment); in coveredWithDialog_childFragment()
|
/frameworks/support/fragment/src/main/java/androidx/fragment/app/ |
D | Fragment.java | 1393 public void onAttachFragment(Fragment childFragment) {
|
/frameworks/base/core/java/android/app/ |
D | Fragment.java | 1465 public void onAttachFragment(Fragment childFragment) {
|