Home
last modified time | relevance | path

Searched refs:replacement1 (Results 1 – 2 of 2) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DFragmentViewTests.java210 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeFragments() local
212 FragmentTestUtil.assertChildren(container, replacement1, replacement3); in removeFragments()
217 FragmentTestUtil.assertChildren(container, replacement1, replacement3, replacement2); in removeFragments()
222 …FragmentTestUtil.assertChildren(container, replacement1, replacement3, replacement2, replacement4); in removeFragments()
244 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeHiddenView() local
245 FragmentTestUtil.assertChildren(container, replacement1); in removeHiddenView()
246 assertTrue(replacement1.isHidden()); in removeHiddenView()
247 assertEquals(View.GONE, replacement1.getView().getVisibility()); in removeHiddenView()
273 final Fragment replacement1 = fm.findFragmentByTag("1"); in removeDetatchedView() local
275 assertTrue(replacement1.isDetached()); in removeDetatchedView()
[all …]
DFragmentAnimatorTest.java263 final AnimatorFragment replacement1 = (AnimatorFragment) fm.findFragmentByTag("1"); in replaceAnimators() local
265 int expectedAnimations = replacement1 == fragment1 ? 2 : 1; in replaceAnimators()
266 assertFragmentAnimation(replacement1, expectedAnimations, true, POP_ENTER); in replaceAnimators()