Home
last modified time | relevance | path

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

12

/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DDialogUiTest.java65 FragmentManager mFragmentManager; field in DialogUiTest
76 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in setup()
88 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows()
91 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows()
99 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShowsDismiss()
102 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShowsDismiss()
116 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait()
119 (CreateDirectoryFragment) mFragmentManager.findFragmentByTag(CREATE_FRAGEMENT_TAG); in testCreateDialogShows_textInputEditText_shouldNotTruncateOnPortrait()
134 mFragmentManager = mActivityTestRule.getActivity().getSupportFragmentManager(); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
136 mActivityTestRule.runOnUiThread(() -> CreateDirectoryFragment.show(mFragmentManager)); in testCreateDialog_textInputEditText_shouldNotTruncateOnLargeDensity()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppConfiguratorActivity.java80 private FragmentManager mFragmentManager; field in WifiDppConfiguratorActivity
101 mFragmentManager = getSupportFragmentManager(); in onCreate()
183 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment()
195 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment()
198 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
210 (WifiDppQrCodeGeneratorFragment) mFragmentManager.findFragmentByTag( in showQrCodeGeneratorFragment()
222 mFragmentManager.popBackStackImmediate(); in showQrCodeGeneratorFragment()
225 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeGeneratorFragment()
234 (WifiDppChooseSavedWifiNetworkFragment) mFragmentManager.findFragmentByTag( in showChooseSavedWifiNetworkFragment()
251 mFragmentManager.popBackStackImmediate(); in showChooseSavedWifiNetworkFragment()
[all …]
DWifiDppEnrolleeActivity.java46 private FragmentManager mFragmentManager; field in WifiDppEnrolleeActivity
58 mFragmentManager = getSupportFragmentManager(); in onCreate()
85 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment()
97 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment()
100 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivity.java189 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment()
201 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment()
204 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
213 (WifiDppQrCodeGeneratorFragment) mFragmentManager.findFragmentByTag( in showQrCodeGeneratorFragment()
225 mFragmentManager.popBackStackImmediate(); in showQrCodeGeneratorFragment()
228 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeGeneratorFragment()
237 (WifiDppChooseSavedWifiNetworkFragment) mFragmentManager.findFragmentByTag( in showChooseSavedWifiNetworkFragment()
254 mFragmentManager.popBackStackImmediate(); in showChooseSavedWifiNetworkFragment()
257 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showChooseSavedWifiNetworkFragment()
269 (WifiDppAddDeviceFragment) mFragmentManager.findFragmentByTag( in showAddDeviceFragment()
[all …]
DWifiDppEnrolleeActivity.java66 (WifiDppQrCodeScannerFragment) mFragmentManager.findFragmentByTag( in showQrCodeScannerFragment()
78 mFragmentManager.popBackStackImmediate(); in showQrCodeScannerFragment()
81 final FragmentTransaction fragmentTransaction = mFragmentManager.beginTransaction(); in showQrCodeScannerFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarControllerTest.java58 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarControllerTest
78 mFragmentManager); in setUp()
107 verify(mFragmentManager.beginTransaction()) in onSwitchChanged_showWarningFragmentIfNotEnabledByDefault()
117 verify(mFragmentManager.beginTransaction(), never()) in onSwitchChange_doNotShowWarningFragmentIfEnabledByDefault()
134 mFragmentManager); in initializeSwitchOnConstruction()
152 mFragmentManager); in initializingSwitchDoesNotTriggerView()
154 verify(mFragmentManager.beginTransaction(), never()) in initializingSwitchDoesNotTriggerView()
/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/network/telephony/
DMobileDataPreferenceControllerTest.java55 private FragmentManager mFragmentManager; field in MobileDataPreferenceControllerTest
81 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp()
86 mController.init(mFragmentManager, SUB_ID); in setUp()
92 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getAvailabilityStatus_invalidSubscription_returnAvailableUnsearchable()
125 verify(mFragmentManager).beginTransaction(); in handlePreferenceTreeClick_needDialog_showDialog()
152 mController.init(mFragmentManager, SUB_ID); in isChecked_returnUserDataEnabled()
162 mController.init(mFragmentManager, SUB_ID); in updateState_opportunistic_disabled()
174 mController.init(mFragmentManager, SUB_ID); in updateState_notOpportunistic_enabled()
DRoamingPreferenceControllerTest.java53 private FragmentManager mFragmentManager; field in RoamingPreferenceControllerTest
80 doReturn(mFragmentTransaction).when(mFragmentManager).beginTransaction(); in setUp()
84 mController.init(mFragmentManager, SUB_ID); in setUp()
96 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in getAvailabilityStatus_invalidSubId_returnUnsearchable()
125 verify(mFragmentManager).beginTransaction(); in setChecked_needDialog_showDialog()
130 mController.init(mFragmentManager, SubscriptionManager.INVALID_SUBSCRIPTION_ID); in updateState_invalidSubId_disabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceControllerTest.java67 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceControllerTest
79 mController.setFragmentManager(mFragmentManager); in setUp()
128 controller.setFragmentManager(mFragmentManager); in togglingShouldCauseMetricsEvent()
148 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragment()
161 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOffShouldTriggerWarningFragment()
171 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldNotTriggerWarningFragmentIfEnabledByDefault()
184 when(mFragmentManager.beginTransaction()).thenReturn(transaction); in togglingOnShouldTriggerWarningFragmentIfEnabledByDefaultAndDisabledByPolicy()
/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.java36 private final FragmentManager mFragmentManager; field in SideFragmentManager
55 mFragmentManager = mActivity.getFragmentManager(); in SideFragmentManager()
101 FragmentTransaction ft = mFragmentManager.beginTransaction(); in show()
144 mFragmentManager.popBackStack(); in popSideFragment()
181 mFragmentManager.popBackStack( in hideAllInternal()
244 (SideFragment) mFragmentManager.findFragmentById(R.id.side_fragment_container); in isHideKeyForCurrentPanel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/backup/
DUserBackupSettingsActivity.java51 private FragmentManager mFragmentManager; field in UserBackupSettingsActivity
87 if (mFragmentManager == null) { in onCreate()
88 mFragmentManager = getSupportFragmentManager(); in onCreate()
90 mFragmentManager.beginTransaction() in onCreate()
126 mFragmentManager = fragmentManager; in setFragmentManager()
/packages/apps/Settings/src/com/android/settings/backup/
DUserBackupSettingsActivity.java51 private FragmentManager mFragmentManager; field in UserBackupSettingsActivity
87 if (mFragmentManager == null) { in onCreate()
88 mFragmentManager = getSupportFragmentManager(); in onCreate()
90 mFragmentManager.beginTransaction() in onCreate()
135 mFragmentManager = fragmentManager; in setFragmentManager()
/packages/apps/Settings/src/com/android/settings/notification/app/
DBubblePreferenceController.java48 private FragmentManager mFragmentManager; field in BubblePreferenceController
58 mFragmentManager = fragmentManager; in BubblePreferenceController()
119 if (mAppRow != null && mFragmentManager != null) { in onPreferenceChange()
127 .show(mFragmentManager, "dialog"); in onPreferenceChange()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java44 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarController
56 mFragmentManager = Objects.requireNonNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
91 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in maybeShowWarning()
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DAutomaticStorageManagerSwitchBarController.java43 private FragmentManager mFragmentManager; field in AutomaticStorageManagerSwitchBarController
55 mFragmentManager = Preconditions.checkNotNull(fragmentManager); in AutomaticStorageManagerSwitchBarController()
90 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in maybeShowWarning()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceController.java48 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceController
57 mFragmentManager = fragmentManager; in setFragmentManager()
106 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in onSwitchToggled()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DAutomaticStorageManagementSwitchPreferenceController.java48 private FragmentManager mFragmentManager; field in AutomaticStorageManagementSwitchPreferenceController
57 mFragmentManager = fragmentManager; in setFragmentManager()
106 fragment.show(mFragmentManager, ActivationWarningFragment.TAG); in onSwitchToggled()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java93 private @Nullable FragmentManager mFragmentManager; field in SearchViewManager
250 mFragmentManager = fragmentManager; in setFragmentManager()
525 if (mFragmentManager != null) {
527 SearchFragment.dismissFragment(mFragmentManager);
529 SearchFragment.showFragment(mFragmentManager, "");
/packages/apps/Settings/src/com/android/settings/network/telephony/
DContactDiscoveryPreferenceController.java53 private FragmentManager mFragmentManager; field in ContactDiscoveryPreferenceController
66 mFragmentManager = fragmentManager; in init()
137 dialog.show(mFragmentManager, ContactDiscoveryDialogFragment.getFragmentTag(mSubId)); in showContentDiscoveryDialog()
DMobileDataPreferenceController.java51 private FragmentManager mFragmentManager; field in MobileDataPreferenceController
139 mFragmentManager = fragmentManager; in init()
162 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()
DRoamingPreferenceController.java61 FragmentManager mFragmentManager; field in RoamingPreferenceController
155 mFragmentManager = fragmentManager; in init()
174 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsActivityTest.java57 private FragmentManager mFragmentManager; field in SettingsActivityTest
73 when(mActivity.getSupportFragmentManager()).thenReturn(mFragmentManager); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
75 when(mFragmentManager.beginTransaction()).thenReturn(mock(FragmentTransaction.class)); in launchSettingFragment_nullExtraShowFragment_shouldNotCrash()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRoamingPreferenceController.java57 FragmentManager mFragmentManager; field in RoamingPreferenceController
141 mFragmentManager = fragmentManager; in init()
149 dialogFragment.show(mFragmentManager, DIALOG_TAG); in showDialog()

12