Searched refs:childFragment (Results 1 - 7 of 7) sorted by relevance

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DNestedFragmentTest.java106 final ChildFragment childFragment = mParentFragment.getChildFragment();
107 assertTrue(childFragment.onActivityResultCalled);
108 assertEquals(5, childFragment.onActivityResultRequestCode);
109 assertEquals(Activity.RESULT_OK, childFragment.onActivityResultResultCode);
H A DNestedInflatedFragmentTest.java111 public void onAttachFragment(Fragment childFragment) { argument
112 super.onAttachFragment(childFragment);
113 childFragment.setUserVisibleHint(getUserVisibleHint());
H A DStrictFragment.java89 public void onAttachFragment(Fragment childFragment) { argument
H A DFragmentLifecycleTest.java362 final StateSaveFragment childFragment = new StateSaveFragment("Child", "UnsavedChild");
364 childFragment.getSavedState());
366 childFragment.getUnsavedState());
368 .add(childFragment, "tag:child").commitNow();
370 parentFragment, childFragment.getParentFragment());
427 assertNotSame("child fragment instance state was saved", childFragment, restoredChild);
429 childFragment.getSavedState(), restoredChild.getSavedState());
431 childFragment.getUnsavedState(), restoredChild.getUnsavedState());
528 Fragment childFragment = fragment.getChildFragment();
532 verify(mockRecursiveLc, times(1)).onFragmentActivityCreated(fm, childFragment, nul
[all...]
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
H A DPartiallyCoveredActivityTest.java135 CollectingSupportFragment childFragment = new CollectingSupportFragment();
138 parentFragment.replaceFragment(childFragment);
140 runTest(childFragment);
/frameworks/base/core/java/android/app/
H A DFragment.java1463 * @param childFragment child fragment being attached
1465 public void onAttachFragment(Fragment childFragment) { argument
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
H A DFragment.java1391 * @param childFragment child fragment being attached
1393 public void onAttachFragment(Fragment childFragment) { argument

Completed in 400 milliseconds