Home
last modified time | relevance | path

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

/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
DNestedFragmentTest.java106 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()
DNestedInflatedFragmentTest.java111 public void onAttachFragment(Fragment childFragment) { in onAttachFragment() argument
112 super.onAttachFragment(childFragment); in onAttachFragment()
113 childFragment.setUserVisibleHint(getUserVisibleHint()); in onAttachFragment()
DFragmentLifecycleTest.java362 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 …]
DStrictFragment.java89 public void onAttachFragment(Fragment childFragment) { in onAttachFragment() argument
/frameworks/support/lifecycle/integration-tests/testapp/src/androidTest/java/androidx/lifecycle/
DPartiallyCoveredActivityTest.java135 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/
DFragment.java1393 public void onAttachFragment(Fragment childFragment) {
/frameworks/base/core/java/android/app/
DFragment.java1465 public void onAttachFragment(Fragment childFragment) {