/cts/tests/fragment/src/android/fragment/cts/ |
PostponedTransitionTest.java | 167 final PostponedFragment1 fragment3 = new PostponedFragment1(); local 183 .replace(R.id.fragmentContainer, fragment3) 193 // fragment3 should be postponed, but fragment2 should be executed with no transition. 194 assertPostponedTransition(fragment2, fragment3, mBeginningFragment); 197 fragment3.startPostponedEnterTransition(); 200 assertForwardTransition(fragment2, fragment3); 205 assertBackTransition(fragment3, fragment2); 207 assertPostponedTransition(fragment2, mBeginningFragment, fragment3); 235 final PostponedFragment1 fragment3 = new PostponedFragment1(); local 238 .replace(R.id.fragmentContainer, fragment3) 341 final TransitionFragment fragment3 = new PostponedFragment2(); local 433 final TransitionFragment fragment3 = new PostponedFragment2(); local 525 final TransitionFragment fragment3 = new PostponedFragment2(); local 637 TransitionFragment fragment3 = new PostponedFragment1(); local [all...] |
FragmentExecuteTests.java | 157 final StrictViewFragment fragment3 = new StrictViewFragment(); local 159 .add(R.id.fragmentContainer, fragment3, "3") 166 assertFalse(fragment3.isAdded()); 167 assertTrue(fragment3.mCalledOnDestroy || !fragment3.mCalledOnCreate); 223 final StrictViewFragment fragment3 = new StrictViewFragment(); local 225 .add(R.id.fragmentContainer, fragment3, "3") 232 assertFalse(fragment3.isAdded()); 233 assertTrue(fragment3.mCalledOnDestroy || !fragment3.mCalledOnCreate) [all...] |
FragmentViewTests.java | 68 final StrictViewFragment fragment3 = new StrictViewFragment(); local 71 .add(R.id.fragmentContainer, fragment3) 76 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); 113 final StrictViewFragment fragment3 = new StrictViewFragment(); local 116 .add(R.id.fragmentContainer1, fragment3) 122 FragmentTestUtil.assertChildren(container1, fragment1, fragment3); 176 final StrictViewFragment fragment3 = new StrictViewFragment(); local 181 .add(R.id.fragmentContainer, fragment3, "3") 185 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); 192 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3); 662 final StrictViewFragment fragment3 = new StrictViewFragment(); local 764 final StrictViewFragment fragment3 = new StrictViewFragment(); local 872 final StrictViewFragment fragment3 = new StrictViewFragment(); local 979 final SimpleViewFragment fragment3 = new SimpleViewFragment(); local [all...] |
FragmentTransitionTest.java | 166 final TransitionFragment fragment3 = new TransitionFragment(); local 167 fragment3.setLayoutId(R.layout.scene2); 169 verifyTransition(fragment2, fragment3, "blueSquare"); 172 verifyPopTransition(2, fragment3, fragment1, fragment2); 764 final TransitionFragment fragment3 = new TransitionFragment(); local 765 fragment3.setLayoutId(R.layout.scene3); 773 .replace(R.id.fragmentContainer, fragment3) 789 verifyAndClearTransition(fragment3.enterTransition, null, endGreen, endBlue, endRed); 791 verifyNoOtherTransitions(fragment3); 793 // fragment3 doesn't get a transition since it conflicts with the pop transitio [all...] |
FragmentAnimatorTest.java | 248 final AnimatorFragment fragment3 = new AnimatorFragment(); local 251 .replace(R.id.fragmentContainer, fragment3) 258 assertFragmentAnimation(fragment3, 1, true, ENTER); 263 assertFragmentAnimation(fragment3, 2, false, POP_EXIT);
|
FragmentTransactionTest.java | 360 Fragment fragment3 = new CorrectFragment(); 362 .add(fragment3, "3")
|
FragmentLifecycleTest.java | [all...] |