/cts/tests/fragment/src/android/fragment/cts/ |
D | PostponedTransitionTest.java | 168 final PostponedFragment1 fragment3 = new PostponedFragment1(); in forcedTransition1() local 184 .replace(R.id.fragmentContainer, fragment3) in forcedTransition1() 195 assertPostponedTransition(fragment2, fragment3, mBeginningFragment); in forcedTransition1() 198 fragment3.startPostponedEnterTransition(); in forcedTransition1() 201 assertForwardTransition(fragment2, fragment3); in forcedTransition1() 206 assertBackTransition(fragment3, fragment2); in forcedTransition1() 208 assertPostponedTransition(fragment2, mBeginningFragment, fragment3); in forcedTransition1() 236 final PostponedFragment1 fragment3 = new PostponedFragment1(); in forcedTransition2() local 239 .replace(R.id.fragmentContainer, fragment3) in forcedTransition2() 248 assertPostponedTransition(fragment2, fragment3, mBeginningFragment); in forcedTransition2() [all …]
|
D | FragmentExecuteTests.java | 157 final StrictViewFragment fragment3 = new StrictViewFragment(); in popBackStackImmediateInt() local 159 .add(R.id.fragmentContainer, fragment3, "3") in popBackStackImmediateInt() 166 assertFalse(fragment3.isAdded()); in popBackStackImmediateInt() 167 assertTrue(fragment3.mCalledOnDestroy || !fragment3.mCalledOnCreate); in popBackStackImmediateInt() 223 final StrictViewFragment fragment3 = new StrictViewFragment(); in popBackStackImmediateString() local 225 .add(R.id.fragmentContainer, fragment3, "3") in popBackStackImmediateString() 232 assertFalse(fragment3.isAdded()); in popBackStackImmediateString() 233 assertTrue(fragment3.mCalledOnDestroy || !fragment3.mCalledOnCreate); in popBackStackImmediateString()
|
D | FragmentViewTests.java | 68 final StrictViewFragment fragment3 = new StrictViewFragment(); in addFragments() local 71 .add(R.id.fragmentContainer, fragment3) in addFragments() 76 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); in addFragments() 113 final StrictViewFragment fragment3 = new StrictViewFragment(); in addTwoContainers() local 116 .add(R.id.fragmentContainer1, fragment3) in addTwoContainers() 122 FragmentTestUtil.assertChildren(container1, fragment1, fragment3); in addTwoContainers() 176 final StrictViewFragment fragment3 = new StrictViewFragment(); in removeFragments() local 181 .add(R.id.fragmentContainer, fragment3, "3") in removeFragments() 185 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); in removeFragments() 192 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3); in removeFragments() [all …]
|
D | FragmentTransitionTest.java | 166 final TransitionFragment fragment3 = new TransitionFragment(); in intermediateFragment() local 167 fragment3.setLayoutId(R.layout.scene2); in intermediateFragment() 169 verifyTransition(fragment2, fragment3, "blueSquare"); in intermediateFragment() 172 verifyPopTransition(2, fragment3, fragment1, fragment2); in intermediateFragment() 764 final TransitionFragment fragment3 = new TransitionFragment(); in noSharedElementTransition() local 765 fragment3.setLayoutId(R.layout.scene3); in noSharedElementTransition() 773 .replace(R.id.fragmentContainer, fragment3) in noSharedElementTransition() 789 verifyAndClearTransition(fragment3.enterTransition, null, endGreen, endBlue, endRed); in noSharedElementTransition() 791 verifyNoOtherTransitions(fragment3); in noSharedElementTransition() 794 verifyNoOtherTransitions(fragment3); in noSharedElementTransition()
|
D | FragmentAnimatorTest.java | 248 final AnimatorFragment fragment3 = new AnimatorFragment(); in replaceAnimators() local 251 .replace(R.id.fragmentContainer, fragment3) in replaceAnimators() 258 assertFragmentAnimation(fragment3, 1, true, ENTER); in replaceAnimators() 263 assertFragmentAnimation(fragment3, 2, false, POP_EXIT); in replaceAnimators()
|
D | FragmentTransactionTest.java | 360 Fragment fragment3 = new CorrectFragment(); in commitAllowStateLossDetached() local 362 .add(fragment3, "3") in commitAllowStateLossDetached()
|
D | FragmentLifecycleTest.java | 789 Fragment fragment3 = new StrictFragment(); in restoreNonConfig() local 793 .add(fragment3, "3") in restoreNonConfig()
|