/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/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);
|
/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/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/ |
SyncController.java | 9 import android.app.FragmentManager; 71 * @param fragmentManager the FragmentManager. 73 public static void openSigninDialog(FragmentManager fragmentManager) { 75 chooserFragment.show(fragmentManager, null); 81 * @param fragmentManager the FragmentManager. 83 public static void openSignOutDialog(FragmentManager fragmentManager) { [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupCreationDialogFragment.java | 19 import android.app.FragmentManager; 45 FragmentManager fragmentManager, String accountType, String accountName, 53 dialog.show(fragmentManager, FRAGMENT_TAG);
|
GroupDeletionDialogFragment.java | 21 import android.app.FragmentManager; 37 public static void show(FragmentManager fragmentManager, long groupId, String label, 45 dialog.show(fragmentManager, "deleteGroup");
|
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/ContactsCommon/src/com/android/contacts/common/dialog/ |
ClearFrequentsDialog.java | 22 import android.app.FragmentManager; 37 public static void show(FragmentManager fragmentManager) { 39 dialog.show(fragmentManager, "clearFrequents");
|
IndeterminateProgressDialog.java | 21 import android.app.FragmentManager; 35 * {@link #show(FragmentManager, CharSequence, CharSequence, long)} and retain the reference to the 40 * {@link #show(FragmentManager, CharSequence, CharSequence, long)} is guaranteed to be valid 68 public static IndeterminateProgressDialog show(FragmentManager fragmentManager, 74 dialogFragment.show(fragmentManager, TAG); 148 * specified time in {@link #show(FragmentManager, CharSequence, CharSequence, long)}. 159 * {@link #show(FragmentManager, CharSequence, CharSequence, long)}. 170 * {@link #show(FragmentManager, CharSequence, CharSequence, long)}.
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ClearCallLogDialog.java | 22 import android.app.FragmentManager; 44 public static void show(FragmentManager fragmentManager) { 46 dialog.show(fragmentManager, "deleteCallLog");
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/ |
ImageCache.java | 23 import android.support.v4.app.FragmentManager; 49 * @param fragmentManager The fragment manager to use when dealing with the retained fragment. 54 FragmentManager fragmentManager, float memCacheSizePercent) { 57 final RetainFragment mRetainFragment = findOrCreateRetainFragment(fragmentManager); 169 * add it using FragmentManager. 171 * @param fm The FragmentManager manager to use. 175 public static RetainFragment findOrCreateRetainFragment(FragmentManager fm) {
|
ImageLoader.java | 28 import android.support.v4.app.FragmentManager; 108 * @param fragmentManager A FragmentManager to use to retain the cache over configuration 112 public void addImageCache(FragmentManager fragmentManager, float memCacheSizePercent) { 113 mImageCache = ImageCache.getInstance(fragmentManager, memCacheSizePercent);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/editor/ |
SelectAccountDialogFragment.java | 23 import android.app.FragmentManager; 49 * @param fragmentManager {@link FragmentManager}. 57 public static <F extends Fragment & Listener> void show(FragmentManager fragmentManager, 68 instance.show(fragmentManager, null);
|
/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/Calendar/src/com/android/calendar/ |
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...] |
EventInfoActivity.java | 24 import android.app.FragmentManager; 153 FragmentManager fragmentManager = getFragmentManager(); 154 FragmentTransaction ft = fragmentManager.beginTransaction();
|
/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...] |
AttachmentTileGrid.java | 19 import android.app.FragmentManager; 52 private FragmentManager mFragmentManager; 65 public void configureGrid(FragmentManager fragmentManager, Uri attachmentsListUri, 67 mFragmentManager = fragmentManager;
|
/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/ContactsCommon/src/com/android/contacts/common/interactions/ |
ImportExportDialogFragment.java | 22 import android.app.FragmentManager; 66 public static void show(FragmentManager fragmentManager, boolean contactsAreAvailable, 73 fragment.show(fragmentManager, ImportExportDialogFragment.TAG);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
AttachmentActionHandler.java | 23 import android.app.FragmentManager; 54 private FragmentManager mFragmentManager; 67 public void initialize(FragmentManager fragmentManager) { 68 mFragmentManager = fragmentManager;
|
MessageAttachmentTile.java | 20 import android.app.FragmentManager; 77 public void initialize(FragmentManager fragmentManager) { 78 mActionHandler.initialize(fragmentManager);
|
MessageFooterView.java | 20 import android.app.FragmentManager; 55 private FragmentManager mFragmentManager; 86 public void initialize(LoaderManager loaderManager, FragmentManager fragmentManager) { 88 mFragmentManager = fragmentManager;
|