HomeSort by relevance Sort by last modified time
    Searched refs:fragmentManager (Results 1 - 25 of 60) sorted by null

1 2 3

  /packages/apps/TV/src/com/android/tv/ui/sidepanel/
SubMenuItem.java 23 public SubMenuItem(String title, SideFragmentManager fragmentManager) {
24 this(title, null, 0, fragmentManager);
27 public SubMenuItem(String title, String description, SideFragmentManager fragmentManager) {
28 this(title, description, 0, fragmentManager);
31 public SubMenuItem(String title, int iconId, SideFragmentManager fragmentManager) {
32 this(title, null, iconId, fragmentManager);
36 SideFragmentManager fragmentManager) {
38 mSideFragmentManager = fragmentManager;
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
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()) {
59 fragmentManager.startFragment(fragment);
65 for(Fragment fragment : fragmentManager.getFragments()) {
71 public FragmentManager getSupportFragmentManager() {
72 return fragmentManager;
81 for (Map.Entry<Integer, Fragment> entry : fragmentManager.getFragmentsById().entrySet())
    [all...]
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();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
TestFragmentActivity.java 21 import android.app.FragmentManager;
52 FragmentManager fragmentManager = getFragmentManager();
53 fragmentManager.beginTransaction().add(mFragment, fragmentName).commit();
  /packages/apps/Dialer/src/com/android/dialer/filterednumber/
ViewNumbersToImportAdapter.java 18 import android.app.FragmentManager;
32 FragmentManager fragmentManager,
35 super(context, fragmentManager, contactInfoHelper, contactPhotoManager);
39 Context context, FragmentManager fragmentManager) {
42 fragmentManager,
BlockedNumbersAdapter.java 18 import android.app.FragmentManager;
36 FragmentManager fragmentManager,
39 super(context, fragmentManager, contactInfoHelper, contactPhotoManager);
43 Context context, FragmentManager fragmentManager) {
46 fragmentManager,
  /external/robolectric/v1/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.getFragmentsById().get(containerId);
139 TestFragmentManager fragmentManager = (TestFragmentManager) activity.getSupportFragmentManager();
140 assertEquals(2, fragmentManager.getFragments().size());
141 TestFragment restoredFrag = (TestFragment) fragmentManager.getFragmentsById().get(containerId);
  /external/robolectric/v1/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;
  /packages/apps/Messaging/tests/src/com/android/messaging/ui/
FragmentTestCase.java 20 import android.app.FragmentManager;
64 final FragmentManager fragmentManager = getActivity().getFragmentManager();
65 fragmentManager.beginTransaction().add(mFragment, null /* tag */).commit();
  /frameworks/support/fragment/tests/java/android/support/v4/app/
NestedFragmentTest.java 47 final FragmentManager fragmentManager = getActivity().getSupportFragmentManager();
49 fragmentManager.beginTransaction().add(mParentFragment, "parent").commit();
53 fragmentManager.executePendingTransactions();
  /packages/apps/Contacts/src/com/android/contacts/interactions/
GroupCreationDialogFragment.java 19 import android.app.FragmentManager;
46 FragmentManager fragmentManager, String accountType, String accountName,
54 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");
  /packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
ClearFrequentsDialog.java 22 import android.app.FragmentManager;
39 public static void show(FragmentManager fragmentManager) {
41 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/compat/
FilteredNumberCompat.java 22 import android.app.FragmentManager;
257 * @param fragmentManager The {@link FragmentManager} used to show fragments.
264 final FragmentManager fragmentManager, @Nullable final Callback callback) {
273 displayNumber, parentViewId, fragmentManager, callback))
274 .show(fragmentManager, "MigrateBlockedNumbers");
279 .show(blockId, number, countryIso, displayNumber, parentViewId, fragmentManager,
290 final FragmentManager fragmentManager, @Nullable final Callback callback)
    [all...]
  /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) {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
GuidedStepFragment.java 20 import android.app.FragmentManager;
21 import android.app.FragmentManager.BackStackEntry;
67 * Clients use following helper functions to add GuidedStepFragment to Activity or FragmentManager:
71 * <li>{@link #add(FragmentManager, GuidedStepFragment)} or {@link #add(FragmentManager,
158 * <li>{@link #add(FragmentManager, GuidedStepFragment)} or {@link #add(FragmentManager,
445 * @param fragmentManager The FragmentManager to be used in the transaction.
449 public static int add(FragmentManager fragmentManager, GuidedStepFragment fragment)
    [all...]
GuidedStepSupportFragment.java 22 import android.support.v4.app.FragmentManager;
23 import android.support.v4.app.FragmentManager.BackStackEntry;
69 * Clients use following helper functions to add GuidedStepSupportFragment to Activity or FragmentManager:
73 * <li>{@link #add(FragmentManager, GuidedStepSupportFragment)} or {@link #add(FragmentManager,
160 * <li>{@link #add(FragmentManager, GuidedStepSupportFragment)} or {@link #add(FragmentManager,
447 * @param fragmentManager The FragmentManager to be used in the transaction.
451 public static int add(FragmentManager fragmentManager, GuidedStepSupportFragment fragment)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/editor/
SelectAccountDialogFragment.java 23 import android.app.FragmentManager;
50 * @param fragmentManager {@link FragmentManager}.
58 public static <F extends Fragment & Listener> void show(FragmentManager fragmentManager,
69 instance.show(fragmentManager, null);
  /packages/apps/Dialer/src/com/android/dialer/calllog/
ClearCallLogDialog.java 23 import android.app.FragmentManager;
45 public static void show(FragmentManager fragmentManager) {
47 dialog.show(fragmentManager, "deleteCallLog");
  /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/DeskClock/src/com/android/deskclock/timer/
TimerPagerAdapter.java 20 import android.app.FragmentManager;
40 private final FragmentManager mFragmentManager;
51 public TimerPagerAdapter(FragmentManager fragmentManager) {
52 mFragmentManager = fragmentManager;

Completed in 982 milliseconds

1 2 3