/cts/tests/fragment/src/android/fragment/cts/ |
FragmentReorderingTest.java | 55 final CountCallsFragment fragment1 = new CountCallsFragment(); local 60 mFM.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); 68 assertEquals(0, fragment1.onCreateViewCount); 87 final CountCallsFragment fragment1 = new CountCallsFragment(); local 88 mFM.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); 91 FragmentTestUtil.assertChildren(mContainer, fragment1); 99 .add(R.id.fragmentContainer, fragment1) 105 FragmentTestUtil.assertChildren(mContainer, fragment1); 106 assertEquals(1, fragment1.onCreateViewCount); 110 assertEquals(1, fragment1.onCreateViewCount) 116 final CountCallsFragment fragment1 = new CountCallsFragment(); local 146 final CountCallsFragment fragment1 = new CountCallsFragment(); local 180 final CountCallsFragment fragment1 = new CountCallsFragment(); local 217 final CountCallsFragment fragment1 = new CountCallsFragment(); local 261 final CountCallsFragment fragment1 = new CountCallsFragment(); local 309 final CountCallsFragment fragment1 = new CountCallsFragment(); local 400 final CountCallsFragment fragment1 = new CountCallsFragment(); local 437 final CountCallsFragment fragment1 = new CountCallsFragment(); local 471 final CountCallsFragment fragment1 = new CountCallsFragment(); local 493 final CountCallsFragment fragment1 = new CountCallsFragment(); local 519 final CountCallsFragment fragment1 = new CountCallsFragment(); local [all...] |
FragmentTransitionTest.java | 142 TransitionFragment fragment1 = setupInitialFragment(); local 148 verifyTransition(fragment1, fragment2, "blueSquare"); 152 verifyPopTransition(1, fragment2, fragment1); 159 TransitionFragment fragment1 = setupInitialFragment(); local 164 verifyTransition(fragment1, fragment2, "shared"); 172 verifyPopTransition(2, fragment3, fragment1, fragment2); 178 final TransitionFragment fragment1 = setupInitialFragment(); local 192 .replace(R.id.fragmentContainer, fragment1) 201 // should be a normal transition from fragment1 to fragment2 202 fragment1.waitForTransition() 233 TransitionFragment fragment1 = new TransitionFragment(); local 269 TransitionFragment fragment1 = setupInitialFragment(); local 329 TransitionFragment fragment1 = setupInitialFragment(); local 396 TransitionFragment fragment1 = setupInitialFragment(); local 462 TransitionFragment fragment1 = setupInitialFragment(); local 513 TransitionFragment fragment1 = setupInitialFragment(); local 541 TransitionFragment fragment1 = setupInitialFragment(); local 592 TransitionFragment fragment1 = setupInitialFragment(); local 634 final TransitionFragment fragment1 = setupInitialFragment(); local 737 TransitionFragment fragment1 = setupInitialFragment(); local 801 TransitionFragment fragment1 = new TransitionFragment(); local [all...] |
PostponedTransitionTest.java | 112 final TransitionFragment fragment1 = new TransitionFragment2(); local 115 .replace(R.id.fragmentContainer, fragment1) 121 assertForwardTransition(mBeginningFragment, fragment1); 126 assertPostponedTransition(fragment1, mBeginningFragment, null); 132 assertBackTransition(fragment1, mBeginningFragment); 323 TransitionFragment fragment1 = new PostponedFragment1(); local 327 .add(R.id.fragmentContainer1, fragment1) 331 fragment1.startPostponedEnterTransition(); 333 fragment1.waitForTransition(); 335 clearTargets(fragment1); 415 TransitionFragment fragment1 = new PostponedFragment1(); local 507 final TransitionFragment fragment1 = new PostponedFragment1(); local 581 final TransitionFragment fragment1 = new PostponedFragment1(); local 619 TransitionFragment fragment1 = new PostponedFragment1(); local 695 PostponedFragment1 fragment1 = new PostponedFragment1(); local [all...] |
FragmentViewTests.java | 56 final StrictViewFragment fragment1 = new StrictViewFragment(); local 57 fm.beginTransaction().add(R.id.fragmentContainer, fragment1).addToBackStack(null).commit(); 59 FragmentTestUtil.assertChildren(container, fragment1); 65 FragmentTestUtil.assertChildren(container, fragment1, fragment2); 76 FragmentTestUtil.assertChildren(container, fragment1, fragment2, fragment3, fragment4); 80 FragmentTestUtil.assertChildren(container, fragment1, fragment2); 85 FragmentTestUtil.assertChildren(container, fragment1); 103 final StrictViewFragment fragment1 = new StrictViewFragment(); local 104 fm.beginTransaction().add(R.id.fragmentContainer1, fragment1).addToBackStack(null).commit(); 106 FragmentTestUtil.assertChildren(container1, fragment1); 145 final StrictViewFragment fragment1 = new StrictViewFragment(); local 174 final StrictViewFragment fragment1 = new StrictViewFragment(); local 232 final StrictViewFragment fragment1 = new StrictViewFragment(); local 258 final StrictViewFragment fragment1 = new StrictViewFragment(); local 616 final StrictViewFragment fragment1 = new StrictViewFragment(); local 651 final StrictViewFragment fragment1 = new StrictViewFragment(); local 723 final StrictViewFragment fragment1 = new StrictViewFragment(); local 762 final StrictViewFragment fragment1 = new StrictViewFragment(); local 837 final StrictViewFragment fragment1 = new InvisibleFragment(); local 866 final StrictViewFragment fragment1 = new StrictViewFragment(); local 903 final StrictViewFragment fragment1 = new StrictViewFragment(); local 937 final StrictViewFragment fragment1 = new ParentFragment(); local 962 final SimpleViewFragment fragment1 = new SimpleViewFragment(); local [all...] |
FragmentExecuteTests.java | 144 final StrictViewFragment fragment1 = new StrictViewFragment(); local 147 .add(R.id.fragmentContainer, fragment1, "1") 171 FragmentTestUtil.assertChildren(container, fragment1); 173 assertEquals(fragment1, fm.findFragmentById(R.id.fragmentContainer)); 174 assertEquals(fragment1, fm.findFragmentByTag("1")); 198 FragmentTestUtil.assertChildren(container, fragment1); 200 assertEquals(fragment1, fm.findFragmentById(R.id.fragmentContainer)); 201 assertEquals(fragment1, fm.findFragmentByTag("1")); 210 final StrictViewFragment fragment1 = new StrictViewFragment(); local 213 .add(R.id.fragmentContainer, fragment1, "1" [all...] |
FragmentTransactionTest.java | 331 Fragment fragment1 = new CorrectFragment(); local 334 .add(fragment1, "1") 338 final FragmentManager fm = fragment1.getChildFragmentManager(); 341 .remove(fragment1) 348 // Now the fragment1's fragment manager should allow commitAllowingStateLoss 402 final OnGetLayoutInflaterFragment fragment1 = new OnGetLayoutInflaterFragment(); 403 assertEquals(0, fragment1.onGetLayoutInflaterCalls); 405 .add(android.R.id.content, fragment1) 409 assertEquals(1, fragment1.onGetLayoutInflaterCalls); 410 assertEquals(fragment1.layoutInflater, fragment1.getLayoutInflater()) [all...] |
FragmentAnimatorTest.java | 240 final AnimatorFragment fragment1 = new AnimatorFragment(); local 243 .add(R.id.fragmentContainer, fragment1, "1") 256 assertFragmentAnimation(fragment1, 1, false, EXIT); 266 int expectedAnimations = replacement1 == fragment1 ? 2 : 1; 319 final AnimatorFragment fragment1 = new AnimatorFragment(); local 321 .add(R.id.fragmentContainer, fragment1) 338 assertNotNull(fragment1.getView()); 339 assertEquals(View.VISIBLE, fragment1.getView().getVisibility()); 340 assertTrue(FragmentTestUtil.isVisible(fragment1)); 341 assertTrue(fragment1.getView().isAttachedToWindow()) 354 final AnimatorFragment fragment1 = new AnimatorFragment(); local 400 StrictViewFragment fragment1 = new StrictViewFragment(); local 447 final StrictViewFragment fragment1 = new StrictViewFragment(); local [all...] |
FragmentLifecycleTest.java | 441 StrictFragment fragment1 = (StrictFragment) fm.findFragmentByTag("1"); local 443 assertNotNull(fragment1); 444 assertFalse(fragment1.mCalledOnResume); 776 Fragment fragment1 = new StrictFragment(); 778 .add(fragment1, "1") [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentHideShow.java | 46 Fragment fragment1 = fm.findFragmentById(R.id.fragment1); local 47 addShowHideListener(R.id.frag1hide, fragment1); 49 button1.setText(fragment1.isHidden() ? "Show" : "Hide");
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
FragmentTest.java | 47 TestFragment fragment1 = new TestFragment(); local 51 .add(R.id.container, fragment1) 54 assertEquals(0, fragment1.createOrder);
|
/external/python/cpython3/Modules/clinic/ |
audioop.c.h | 503 "add($module, fragment1, fragment2, width, /)\n" 512 audioop_add_impl(PyObject *module, Py_buffer *fragment1, 519 Py_buffer fragment1 = {NULL, NULL}; local 524 &fragment1, &fragment2, &width)) { 527 return_value = audioop_add_impl(module, &fragment1, &fragment2, width); 530 /* Cleanup for fragment1 */ 531 if (fragment1.obj) { 532 PyBuffer_Release(&fragment1);
|
/external/python/cpython3/Modules/ |
audioop.c | [all...] |