HomeSort by relevance Sort by last modified time
    Searched defs:fragmentManager (Results 1 - 15 of 15) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowFragmentPagerAdapter.java 4 import android.support.v4.app.FragmentManager;
16 private FragmentManager fragmentManager;
19 public void __constructor__(FragmentManager fm) {
20 this.fragmentManager = fm;
25 fragmentManager.beginTransaction().add(container.getId(), (Fragment) object).commit();
ShadowFragmentActivity.java 6 import android.support.v4.app.FragmentManager;
25 private TestFragmentManager fragmentManager;
29 fragmentManager = new TestFragmentManager(realObject);
46 fragmentManager.addFragment(fragmentState.containerId, fragmentState.tag, fragment, true);
58 for (Fragment fragment : fragmentManager.getFragments().values()) {
59 fragmentManager.startFragment(fragment);
65 for(Fragment fragment : fragmentManager.getFragments().values()) {
71 public FragmentManager getSupportFragmentManager() {
72 return fragmentManager;
81 for (Map.Entry<Integer, Fragment> entry : fragmentManager.getFragments().entrySet())
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/util/
TestFragmentTransaction.java 9 private TestFragmentManager fragmentManager;
26 public TestFragmentTransaction(TestFragmentManager fragmentManager) {
27 this.fragmentManager = fragmentManager;
164 fragmentManager.commitLater(this);
223 return fragmentManager;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DialogFragmentTest.java 28 private TestFragmentManager fragmentManager;
34 fragmentManager = new TestFragmentManager(activity);
39 dialogFragment.show(fragmentManager, "this is a tag");
58 dialogFragment.show(fragmentManager.beginTransaction(), "this is a tag");
79 dialogFragment.show(fragmentManager, "this is a tag");
84 assertSame(dialogFragment, fragmentManager.findFragmentByTag("this is a tag"));
89 dialogFragment.show(fragmentManager, "this is a tag");
95 assertSame(dialogFragment, fragmentManager.findFragmentByTag("this is a tag"));
100 dialogFragment.show(fragmentManager, "tag");
111 dialogFragment.show(fragmentManager, null)
    [all...]
FragmentActivityTest.java 116 TestFragmentManager fragmentManager = (TestFragmentManager) activity.getSupportFragmentManager();
117 assertEquals(2, fragmentManager.getFragments().size());
119 TestFragment restoredFrag = (TestFragment) fragmentManager.getFragments().get(containerId);
139 TestFragmentManager fragmentManager = (TestFragmentManager) activity.getSupportFragmentManager();
140 assertEquals(2, fragmentManager.getFragments().size());
141 TestFragment restoredFrag = (TestFragment) fragmentManager.getFragments().get(containerId);
  /packages/apps/Calendar/src/com/android/calendar/
EventInfoActivity.java 24 import android.app.FragmentManager;
153 FragmentManager fragmentManager = getFragmentManager();
154 FragmentTransaction ft = fragmentManager.beginTransaction();
SearchActivity.java 23 import android.app.FragmentManager;
174 FragmentManager fragmentManager = getFragmentManager();
175 FragmentTransaction ft = fragmentManager.beginTransaction();
189 FragmentManager fragmentManager = getFragmentManager();
190 FragmentTransaction ft = fragmentManager.beginTransaction();
239 FragmentManager fragmentManager = getFragmentManager();
240 FragmentTransaction ft = fragmentManager.beginTransaction()
    [all...]
EventInfoFragment.java 30 import android.app.FragmentManager;
    [all...]
AllInOneActivity.java 30 import android.app.FragmentManager;
600 FragmentManager fm = getFragmentManager();
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
TwoPaneController.java 21 import android.app.FragmentManager;
179 final FragmentManager fragmentManager = mActivity.getFragmentManager();
180 fragmentManager.popBackStackImmediate(mMiscellaneousViewTransactionId,
181 FragmentManager.POP_BACK_STACK_INCLUSIVE);
273 // FragmentManager.popBackStack().
576 final FragmentManager fragmentManager = mActivity.getFragmentManager();
577 if (fragmentManager.findFragmentByTag(TAG_CUSTOM_FRAGMENT) == null) {
578 final FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction()
    [all...]
  /development/samples/training/NavigationDrawer/src/com/example/android/navigationdrawerexample/
MainActivity.java 23 import android.app.FragmentManager;
182 FragmentManager fragmentManager = getFragmentManager();
183 fragmentManager.beginTransaction().replace(R.id.content_frame, fragment).commit();
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactDeletionInteraction.java 22 import android.app.FragmentManager;
117 FragmentManager fragmentManager = activity.getFragmentManager();
119 (ContactDeletionInteraction) fragmentManager.findFragmentByTag(FRAGMENT_TAG);
125 fragmentManager.beginTransaction().add(fragment, FRAGMENT_TAG)
  /packages/apps/Calendar/src/com/android/calendar/agenda/
AgendaFragment.java 22 import android.app.FragmentManager;
286 * This cleans up the event info fragment since the FragmentManager doesn't
290 * @param fragmentManager
292 public void removeFragments(FragmentManager fragmentManager) {
296 FragmentTransaction ft = fragmentManager.beginTransaction();
297 Fragment f = fragmentManager.findFragmentById(R.id.agenda_event_info);
398 FragmentManager fragmentManager = getFragmentManager();
399 if (fragmentManager == null)
    [all...]
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
CallLogFragmentTest.java 19 import android.app.FragmentManager;
117 FragmentManager fragmentManager = mActivity.getFragmentManager();
118 FragmentTransaction transaction = fragmentManager.beginTransaction();
  /packages/apps/Contacts/src/com/android/contacts/activities/
PeopleActivity.java 20 import android.app.FragmentManager;
340 final FragmentManager fragmentManager = getFragmentManager();
343 final FragmentTransaction transaction = fragmentManager.beginTransaction();
368 fragmentManager.findFragmentByTag(FAVORITE_TAG);
370 fragmentManager.findFragmentByTag(ALL_TAG);
372 fragmentManager.findFragmentByTag(GROUPS_TAG);
434 fragmentManager.executePendingTransactions();
724 FragmentManager fragmentManager = getFragmentManager()
    [all...]

Completed in 4153 milliseconds