Searched refs:fm1 (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/app/ |
D | LoaderLifecycleTest.java | 55 final FragmentManager fm1 = fc1.getFragmentManager(); in loaderIdentityTest() local 58 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest() 67 fm1.beginTransaction().remove(f1).commitNow(); in loaderIdentityTest() 68 fm1.beginTransaction().add(f2, "two").commitNow(); in loaderIdentityTest() 69 fm1.beginTransaction().add(f1, "one").commitNow(); in loaderIdentityTest() 149 final FragmentManager fm1 = fc1.getFragmentManager(); in backStackLoaderIdentityTest() local 152 fm1.beginTransaction().add(f1, "one").commitNow(); in backStackLoaderIdentityTest() 157 fm1.beginTransaction().remove(f1).addToBackStack("backentry").commit(); in backStackLoaderIdentityTest() 158 fm1.executePendingTransactions(); in backStackLoaderIdentityTest()
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
D | FragmentAnimatorTest.java | 456 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in saveWhileAnimatingAway() local 460 fm1.beginTransaction() in saveWhileAnimatingAway() 468 fm1.beginTransaction() in saveWhileAnimatingAway() 474 FragmentTestUtil.executePendingTransactions(mActivityRule, fm1); in saveWhileAnimatingAway() 477 fm1.popBackStack(); in saveWhileAnimatingAway() 479 FragmentTestUtil.executePendingTransactions(mActivityRule, fm1); in saveWhileAnimatingAway() 483 assertEquals(fragment2, fm1.findFragmentByTag("2")); // still exists because it is animating in saveWhileAnimatingAway()
|
D | FragmentAnimationTest.java | 367 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in saveWhileAnimatingAway() local 371 fm1.beginTransaction() in saveWhileAnimatingAway() 378 fm1.beginTransaction() in saveWhileAnimatingAway() 386 fm1.executePendingTransactions(); in saveWhileAnimatingAway() 391 fm1.popBackStack(); in saveWhileAnimatingAway() 396 fm1.executePendingTransactions(); in saveWhileAnimatingAway() 402 assertEquals(fragment2, fm1.findFragmentByTag("2")); // still exists because it is animating in saveWhileAnimatingAway()
|
D | FragmentLifecycleTest.java | 333 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in restoreRetainedInstanceFragments() local 347 fm1.beginTransaction().add(grandparentFragment, "tag:grandparent").commitNow(); in restoreRetainedInstanceFragments() 643 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in testLifecycleTransitionFailure() 647 fm1.beginTransaction() in testLifecycleTransitionFailure() 651 fm1.executePendingTransactions(); in testLifecycleTransitionFailure() 808 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in targetFragmentRestoreLifecycleStateBackStack() local 814 fm1.beginTransaction().add(target, "target").commitNow(); in targetFragmentRestoreLifecycleStateBackStack() 819 fm1.beginTransaction() in targetFragmentRestoreLifecycleStateBackStack() 867 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in targetFragmentRestoreLifecycleStateManagerOrder() local 876 fm1.beginTransaction().add(target1, "target1").add(referrer1, "referrer1").commitNow(); in targetFragmentRestoreLifecycleStateManagerOrder() [all …]
|
D | PostponedTransitionTest.java | 735 final FragmentManager fm1 = fc1.getSupportFragmentManager(); in saveWhilePostponed() local 738 fm1.beginTransaction() in saveWhilePostponed()
|