Home
last modified time | relevance | path

Searched refs:fm1 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/fragment/src/android/fragment/cts/
DFragmentAnimatorTest.java398 final FragmentManager fm1 = fc1.getFragmentManager(); in saveWhileAnimatingAway() local
402 fm1.beginTransaction() in saveWhileAnimatingAway()
409 fm1.beginTransaction() in saveWhileAnimatingAway()
414 mActivityRule.runOnUiThread(fm1::executePendingTransactions); in saveWhileAnimatingAway()
417 fm1.popBackStack(); in saveWhileAnimatingAway()
419 mActivityRule.runOnUiThread(fm1::executePendingTransactions); in saveWhileAnimatingAway()
423 assertEquals(fragment2, fm1.findFragmentByTag("2")); // still exists because it is animating in saveWhileAnimatingAway()
DFragmentLifecycleTest.java548 final FragmentManager fm1 = fc1.getFragmentManager(); in targetFragmentRestoreLifecycleStateBackStack()
554 fm1.beginTransaction().add(target, "target").commitNow(); in targetFragmentRestoreLifecycleStateBackStack()
559 fm1.beginTransaction() in targetFragmentRestoreLifecycleStateBackStack()
614 final FragmentManager fm1 = fc1.getFragmentManager(); in targetFragmentRestoreLifecycleStateManagerOrder()
623fm1.beginTransaction().add(target1, "target1").add(referrer1, "referrer1").commitNow(); in targetFragmentRestoreLifecycleStateManagerOrder()
630fm1.beginTransaction().add(referrer2, "referrer2").add(target2, "target2").commitNow(); in targetFragmentRestoreLifecycleStateManagerOrder()
694 final FragmentManager fm1 = fc1.getFragmentManager(); in testLifecycleTransitionFailure() local
698 fm1.beginTransaction() in testLifecycleTransitionFailure()
702 fm1.executePendingTransactions(); in testLifecycleTransitionFailure()
DPostponedTransitionTest.java694 final FragmentManager fm1 = fc1.getFragmentManager(); in saveWhilePostponed() local
697 fm1.beginTransaction() in saveWhilePostponed()