/cts/tests/fragment/src/android/fragment/cts/ |
PostponedTransitionTest.java | 136 final TransitionFragment fragment2 = new TransitionFragment2(); local 139 .replace(R.id.fragmentContainer, fragment2) 145 assertForwardTransition(mBeginningFragment, fragment2); 150 assertPostponedTransition(fragment2, mBeginningFragment, null); 156 assertBackTransition(fragment2, mBeginningFragment); 166 final PostponedFragment2 fragment2 = new PostponedFragment2(); local 177 .replace(R.id.fragmentContainer, fragment2) 190 // transition to fragment2 should be started 191 assertForwardTransition(mBeginningFragment, fragment2); 193 // fragment3 should be postponed, but fragment2 should be executed with no transition 223 final PostponedFragment2 fragment2 = new PostponedFragment2(); local 280 final PostponedFragment2 fragment2 = new PostponedFragment2(); local 324 TransitionFragment fragment2 = new PostponedFragment1(); local 416 TransitionFragment fragment2 = new PostponedFragment1(); local 508 final TransitionFragment fragment2 = new PostponedFragment1(); local 580 final TransitionFragment fragment2 = new PostponedFragment2(); local 629 TransitionFragment fragment2 = new PostponedFragment2(); local 709 Fragment fragment2 = fm2.findFragmentByTag("1"); local [all...] |
FragmentTransitionTest.java | 145 TransitionFragment fragment2 = new TransitionFragment(); local 146 fragment2.setLayoutId(R.layout.scene2); 148 verifyTransition(fragment1, fragment2, "blueSquare"); 152 verifyPopTransition(1, fragment2, fragment1); 161 final TransitionFragment fragment2 = new TransitionFragment(); local 162 fragment2.setLayoutId(R.layout.scene3); 164 verifyTransition(fragment1, fragment2, "shared"); 169 verifyTransition(fragment2, fragment3, "blueSquare"); 172 verifyPopTransition(2, fragment3, fragment1, fragment2); 183 final TransitionFragment fragment2 = new TransitionFragment() local 235 TransitionFragment fragment2 = new TransitionFragment(); local 272 TransitionFragment fragment2 = new TransitionFragment(); local 332 TransitionFragment fragment2 = new TransitionFragment(); local 399 TransitionFragment fragment2 = new TransitionFragment(); local 465 ComplexTransitionFragment fragment2 = new ComplexTransitionFragment(); local 516 TransitionFragment fragment2 = new TransitionFragment(); local 542 TransitionFragment fragment2 = new TransitionFragment(); local 593 TransitionFragment fragment2 = new TransitionFragment(); local 637 TransitionFragment fragment2 = new TransitionFragment(); local 743 TransitionFragment fragment2 = new TransitionFragment(); local [all...] |
FragmentViewTests.java | 62 final StrictViewFragment fragment2 = new StrictViewFragment(); local 63 fm.beginTransaction().add(R.id.fragmentContainer, fragment2).addToBackStack(null).commit(); 65 FragmentTestUtil.assertChildren(container, fragment1, fragment2); 76 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); 80 FragmentTestUtil.assertChildren(container, fragment1, fragment2); 108 final StrictViewFragment fragment2 = new StrictViewFragment(); local 109 fm.beginTransaction().add(R.id.fragmentContainer2, fragment2).addToBackStack(null).commit(); 111 FragmentTestUtil.assertChildren(container2, fragment2); 123 FragmentTestUtil.assertChildren(container2, fragment2, fragment4); 128 FragmentTestUtil.assertChildren(container2, fragment2); 175 final StrictViewFragment fragment2 = new StrictViewFragment(); local 622 final StrictViewFragment fragment2 = new StrictViewFragment(); local 652 final StrictViewFragment fragment2 = new StrictViewFragment(); local 724 final StrictViewFragment fragment2 = new StrictViewFragment(); local 763 final StrictViewFragment fragment2 = new StrictViewFragment(); local 844 final InvisibleFragment fragment2 = new InvisibleFragment(); local 871 final StrictViewFragment fragment2 = new StrictViewFragment(); local 905 final StrictViewFragment fragment2 = new StrictViewFragment(); local 951 Fragment fragment2 = fragment1.getChildFragmentManager().findFragmentByTag("inner"); local 970 final SimpleViewFragment fragment2 = new SimpleViewFragment(); local 1033 final StrictViewFragment fragment2 = new StrictViewFragment(); local [all...] |
FragmentAnimatorTest.java | 241 final AnimatorFragment fragment2 = new AnimatorFragment(); local 244 .add(R.id.fragmentContainer, fragment2, "2") 257 assertFragmentAnimation(fragment2, 1, false, EXIT); 326 final AnimatorFragment fragment2 = new AnimatorFragment(); local 327 fragment2.postponeEnterTransition(); 331 .replace(R.id.fragmentContainer, fragment2) 337 assertPostponed(fragment2, 0); 343 fragment2.startPostponedEnterTransition(); 361 final AnimatorFragment fragment2 = new AnimatorFragment(); local 362 fragment2.postponeEnterTransition() 407 StrictViewFragment fragment2 = new StrictViewFragment(); local [all...] |
FragmentExecuteTests.java | 151 final StrictViewFragment fragment2 = new StrictViewFragment(); local 153 .add(R.id.fragmentContainer, fragment2, "2") 164 assertFalse(fragment2.isAdded()); 165 assertTrue(fragment2.mCalledOnDestroy || !fragment2.mCalledOnCreate); 217 final StrictViewFragment fragment2 = new StrictViewFragment(); local 219 .add(R.id.fragmentContainer, fragment2, "2") 230 assertFalse(fragment2.isAdded()); 231 assertTrue(fragment2.mCalledOnDestroy || !fragment2.mCalledOnCreate) [all...] |
FragmentReorderingTest.java | 56 final StrictViewFragment fragment2 = new StrictViewFragment(); local 62 .replace(R.id.fragmentContainer, fragment2) 69 FragmentTestUtil.assertChildren(mContainer, fragment2); 117 final CountCallsFragment fragment2 = new CountCallsFragment(); local 127 .add(R.id.fragmentContainer, fragment2) 133 FragmentTestUtil.assertChildren(mContainer, fragment2); 135 assertEquals(1, fragment2.onCreateViewCount); 139 assertEquals(1, fragment2.onDetachCount); 445 final CountCallsFragment fragment2 = new CountCallsFragment(); local 451 .replace(R.id.fragmentContainer, fragment2) 494 final CountCallsFragment fragment2 = new CountCallsFragment(); local 520 final CountCallsFragment fragment2 = new CountCallsFragment(); local [all...] |
FragmentTransactionTest.java | 313 Fragment fragment2 = new FragmentWithView(); local 315 .add(android.R.id.content, fragment2) 350 Fragment fragment2 = new CorrectFragment(); local 352 .add(fragment2, "2") 416 final OnGetLayoutInflaterFragment fragment2 = new OnGetLayoutInflaterFragment(); 418 .replace(android.R.id.content, fragment2)
|
FragmentLifecycleTest.java | 782 Fragment fragment2 = new StrictFragment(); 783 fragment2.setRetainInstance(true) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentHideShow.java | 50 Fragment fragment2 = fm.findFragmentById(R.id.fragment2); local 51 addShowHideListener(R.id.frag2hide, fragment2); 53 button2.setText(fragment2.isHidden() ? "Show" : "Hide");
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
FragmentTest.java | 48 TestFragment fragment2 = new TestFragment(); local 52 .add(R.id.container, fragment2) 55 assertEquals(1, fragment2.createOrder);
|
/external/python/cpython3/Modules/clinic/ |
audioop.c.h | 503 "add($module, fragment1, fragment2, width, /)\n" 513 Py_buffer *fragment2, int width); 520 Py_buffer fragment2 = {NULL, NULL}; local 524 &fragment1, &fragment2, &width)) { 527 return_value = audioop_add_impl(module, &fragment1, &fragment2, width); 534 /* Cleanup for fragment2 */ 535 if (fragment2.obj) { 536 PyBuffer_Release(&fragment2);
|
/external/python/cpython3/Modules/ |
audioop.c | [all...] |