Home
last modified time | relevance | path

Searched refs:mFragmentManager (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DFragmentStatePagerAdapter2.java49 private final FragmentManager mFragmentManager; field in FragmentStatePagerAdapter2
63 mFragmentManager = fm; in FragmentStatePagerAdapter2()
88 mCurTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
113 mCurTransaction = mFragmentManager.beginTransaction(); in destroyItem()
121 mSavedState.set(position, mFragmentManager.saveFragmentInstanceState(fragment)); in destroyItem()
147 mFragmentManager.executePendingTransactions(); in finishUpdate()
172 mFragmentManager.putFragment(state, key, f); in saveState()
196 Fragment f = mFragmentManager.getFragment(bundle, key); in restoreState()
/packages/apps/DeskClock/src/com/android/deskclock/
DFragmentTabPagerAdapter.java44 private final FragmentManager mFragmentManager; field in FragmentTabPagerAdapter
58 mFragmentManager = deskClock.getFragmentManager(); in FragmentTabPagerAdapter()
83 fragment = (DeskClockFragment) mFragmentManager.findFragmentByTag(tab.name()); in getDeskClockFragment()
108 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
113 Fragment fragment = mFragmentManager.findFragmentByTag(tab.name()); in instantiateItem()
132 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem()
160 mFragmentManager.executePendingTransactions(); in finishUpdate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java62 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarControllerTest
85 mFragmentManager); in setUp()
114 verify(mFragmentManager.beginTransaction()) in onSwitchChanged_showWarningFragmentIfNotEnabledByDefault()
125 verify(mFragmentManager.beginTransaction(), never()) in onSwitchChange_doNotShowWarningFragmentIfEnabledByDefault()
142 mFragmentManager); in initializeSwitchOnConstruction()
160 mFragmentManager); in initializingSwitchDoesNotTriggerView()
162 verify(mFragmentManager.beginTransaction(), never()) in initializingSwitchDoesNotTriggerView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceControllerTest.java69 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceControllerTest
83 mContext, mMetricsFeature, mFragmentManager); in setUp()
128 mMockContext, factory.metricsFeatureProvider, mFragmentManager); in togglingShouldCauseMetricsEvent()
148 when (mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragment()
158 when (mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOffShouldTriggerWarningFragment()
169 when (mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldNotTriggerWarningFragmentIfEnabledByDefault()
182 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragmentIfEnabledByDefaultAndDisabledByPolicy()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java57 private FragmentManager mFragmentManager; field in AttachmentActionHandler
73 mFragmentManager = fragmentManager; in initialize()
156 final FragmentTransaction ft = mFragmentManager.beginTransaction(); in showDownloadingDialog()
157 final Fragment prev = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); in showDownloadingDialog()
181 mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); in updateStatus()
211 final Fragment dialog = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); in isProgressDialogVisible()
266 sOptionHandler.handleOption1(mContext, mAccount, mMessage, mAttachment, mFragmentManager); in handleOption1()
DConversationPagerAdapter.java120 private final FragmentManager mFragmentManager; field in ConversationPagerAdapter
139 mFragmentManager = fm; in ConversationPagerAdapter()
330 final Fragment f = mFragmentManager.getFragment(mRestoredState, key); in killRestoredFragments()
333 ft = mFragmentManager.beginTransaction(); in killRestoredFragments()
340 mFragmentManager.executePendingTransactions(); in killRestoredFragments()
DMessageFooterView.java59 private FragmentManager mFragmentManager; field in MessageFooterView
112 mFragmentManager = fragmentManager; in initialize()
218 mAttachmentGrid.configureGrid(mFragmentManager, getAccount(), in renderTiledAttachments()
234 barAttachmentView.initialize(mFragmentManager); in renderBarAttachments()
DConversationPagerController.java64 private FragmentManager mFragmentManager; field in ConversationPagerController
94 mFragmentManager = activity.getFragmentManager(); in ConversationPagerController()
151 mPagerAdapter = new ConversationPagerAdapter(mPager.getContext(), mFragmentManager, in show()
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerPagerAdapter.java41 private final FragmentManager mFragmentManager; field in TimerPagerAdapter
53 mFragmentManager = fragmentManager; in TimerPagerAdapter()
79 mCurrentTransaction = mFragmentManager.beginTransaction(); in instantiateItem()
86 TimerItemFragment fragment = (TimerItemFragment) mFragmentManager.findFragmentByTag(tag); in instantiateItem()
112 mCurrentTransaction = mFragmentManager.beginTransaction(); in destroyItem()
140 mFragmentManager.executePendingTransactions(); in finishUpdate()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragmentManager.java35 private final FragmentManager mFragmentManager; field in SideFragmentManager
60 mFragmentManager = mActivity.getFragmentManager(); in SideFragmentManager()
108 FragmentTransaction ft = mFragmentManager.beginTransaction(); in show()
149 mFragmentManager.popBackStack(); in popSideFragment()
186 mFragmentManager.popBackStack(FIRST_BACKSTACK_RECORD_NAME, in hideAllInternal()
252 SideFragment current = (SideFragment) mFragmentManager.findFragmentById( in isHideKeyForCurrentPanel()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DBlockReportSpamListener.java38 private final FragmentManager mFragmentManager; field in BlockReportSpamListener
48 mFragmentManager = fragmentManager; in BlockReportSpamListener()
94 .show(mFragmentManager, BlockReportSpamDialogs.BLOCK_REPORT_SPAM_DIALOG_TAG); in onBlockReportSpam()
138 .show(mFragmentManager, BlockReportSpamDialogs.BLOCK_DIALOG_TAG); in onBlock()
181 .show(mFragmentManager, BlockReportSpamDialogs.UNBLOCK_DIALOG_TAG); in onUnblock()
212 .show(mFragmentManager, BlockReportSpamDialogs.NOT_SPAM_DIALOG_TAG); in onReportNotSpam()
/packages/apps/Settings/src/com/android/settings/backup/
DBackupSettingsActivity.java45 private FragmentManager mFragmentManager; field in BackupSettingsActivity
73 if (mFragmentManager == null) { in onCreate()
74 mFragmentManager = getFragmentManager(); in onCreate()
76 mFragmentManager.beginTransaction() in onCreate()
128 mFragmentManager = fragmentManager; in setFragmentManager()
/packages/apps/Settings/src/com/android/settings/wifi/
DWpsPreferenceController.java50 private final FragmentManager mFragmentManager; field in WpsPreferenceController
70 mFragmentManager = fragmentManager; in WpsPreferenceController()
97 wpsFragment.show(mFragmentManager, KEY_WPS_PUSH); in displayPreference()
105 wpsFragment.show(mFragmentManager, KEY_WPS_PIN); in displayPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/anomaly/
DAnomalySummaryPreferenceControllerTest.java63 private FragmentManager mFragmentManager; field in AnomalySummaryPreferenceControllerTest
81 when(mFragment.getFragmentManager()).thenReturn(mFragmentManager); in setUp()
82 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
138 verify(mFragmentManager).beginTransaction(); in testOnPreferenceTreeClick_oneAnomaly_showDialog()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java41 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarController
53 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
94 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in maybeShowWarning()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectCalendarsSyncAdapter.java70 private FragmentManager mFragmentManager; field in SelectCalendarsSyncAdapter
91 mFragmentManager = manager; in SelectCalendarsSyncAdapter()
205 mFragmentManager.executePendingTransactions(); in getView()
207 mColorPickerDialog.show(mFragmentManager, COLOR_PICKER_DIALOG_TAG); in getView()
DSelectSyncedCalendarsMultiAccountAdapter.java68 private final FragmentManager mFragmentManager; field in SelectSyncedCalendarsMultiAccountAdapter
229 mFragmentManager = act.getFragmentManager(); in SelectSyncedCalendarsMultiAccountAdapter()
231 mFragmentManager.findFragmentByTag(COLOR_PICKER_DIALOG_TAG); in SelectSyncedCalendarsMultiAccountAdapter()
355 mFragmentManager.executePendingTransactions(); in bindChildView()
357 mColorPickerDialog.show(mFragmentManager, COLOR_PICKER_DIALOG_TAG); in bindChildView()
DSelectCalendarsSimpleAdapter.java67 private FragmentManager mFragmentManager; field in SelectCalendarsSimpleAdapter
116 mFragmentManager = fm; in SelectCalendarsSimpleAdapter()
266 mFragmentManager.executePendingTransactions(); in getView()
268 mColorPickerDialog.show(mFragmentManager, COLOR_PICKER_DIALOG_TAG); in getView()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceController.java47 private final FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceController
53 mFragmentManager = fragmentManager; in AutomaticStorageManagementSwitchPreferenceController()
108 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in onSwitchToggled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsActivityTest.java59 private FragmentManager mFragmentManager; field in SettingsActivityTest
101 when(mActivity.getFragmentManager()).thenReturn(mFragmentManager); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
102 when(mFragmentManager.beginTransaction()).thenReturn(mock(FragmentTransaction.class)); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DNumbersAdapter.java42 private FragmentManager mFragmentManager; field in NumbersAdapter
54 mFragmentManager = fragmentManager; in NumbersAdapter()
137 return mFragmentManager; in getFragmentManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DBackupSettingsActivityTest.java71 private FragmentManager mFragmentManager; field in BackupSettingsActivityTest
115 mActivity.setFragmentManager(mFragmentManager); in onCreate_hasManufacturerIntent()
118 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in onCreate_hasManufacturerIntent()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationInputManager.java85 private final FragmentManager mFragmentManager; field in ConversationInputManager
128 mFragmentManager = fm; in ConversationInputManager()
453 mFragmentManager.findFragmentByTag(MediaPicker.FRAGMENT_TAG); in getExistingOrCreateMediaPicker()
459 mFragmentManager.beginTransaction().replace( in getExistingOrCreateMediaPicker()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DRemoveAccountPreferenceControllerTest.java78 private FragmentManager mFragmentManager; field in RemoveAccountPreferenceControllerTest
96 when(mFragment.getFragmentManager()).thenReturn(mFragmentManager); in setUp()
97 when(mFragmentManager.beginTransaction()).thenReturn(mFragmentTransaction); in setUp()
/packages/apps/Launcher3/src/com/android/launcher3/
DSettingsActivity.java165 private final FragmentManager mFragmentManager; field in SettingsActivity.IconBadgingObserver
172 mFragmentManager = fragmentManager; in IconBadgingObserver()
201 new NotificationAccessConfirmation().show(mFragmentManager, "notification_access"); in onPreferenceClick()

12