Home
last modified time | relevance | path

Searched refs:getFragmentManager (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/packages/apps/Email/src/com/android/email/activity/setup/
DAccountSetupFinal.java348 getFragmentManager().executePendingTransactions(); in onCreate()
510 final FragmentTransaction ft = getFragmentManager().beginTransaction(); in updateContentFragment()
530 return (AccountSetupFragment) getFragmentManager().findFragmentByTag(CONTENT_FRAGMENT_TAG); in getContentFragment()
553 getFragmentManager().executePendingTransactions(); in proceed()
627 FragmentManager fm = getFragmentManager(); in proceed()
680 getFragmentManager().executePendingTransactions(); in proceed()
788 dialogFragment.show(getFragmentManager(), AccountSetupNoteDialogFragment.TAG); in onBasicsComplete()
811 dialogFragment.show(getFragmentManager(), DuplicateAccountDialogFragment.TAG); in showDuplicateAccountDialog()
993 getFragmentManager().beginTransaction() in initiateCheckSettingsFragment()
1006 final Fragment f = getFragmentManager().findFragmentByTag(AccountCheckSettingsFragment.TAG); in dismissCheckSettingsFragment()
[all …]
DAccountServerSettingsActivity.java87 getFragmentManager().beginTransaction() in onCreate()
119 dialogFragment.show(getFragmentManager(), UnsavedChangesDialogFragment.TAG); in onBackPressed()
141 getFragmentManager().beginTransaction() in onAccountServerUIComplete()
169 .show(getFragmentManager(), SecurityRequiredDialogFragment.TAG); in onCheckSettingsSecurityRequired()
176 .show(getFragmentManager(), CheckSettingsErrorDialogFragment.TAG); in onCheckSettingsError()
186 getFragmentManager().findFragmentByTag(AccountCheckSettingsFragment.TAG); in dismissCheckSettingsFragment()
188 getFragmentManager().findFragmentByTag(CheckSettingsProgressDialogFragment.TAG); in dismissCheckSettingsFragment()
189 getFragmentManager().beginTransaction() in dismissCheckSettingsFragment()
DAccountSetupActivity.java40 final FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate()
46 mSetupData = (SetupDataFragment)getFragmentManager() in onCreate()
52 final FragmentTransaction ft = getFragmentManager().beginTransaction(); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/app/filterednumber/
DBlockedNumbersSettingsActivity.java46 getFragmentManager().findFragmentByTag(TAG_BLOCKED_MANAGEMENT_FRAGMENT); in showManagementUi()
51 getFragmentManager() in showManagementUi()
66 getFragmentManager().findFragmentByTag(TAG_VIEW_NUMBERS_TO_IMPORT_FRAGMENT); in showNumbersToImportPreviewUi()
71 getFragmentManager() in showNumbersToImportPreviewUi()
91 if (getFragmentManager().getBackStackEntryCount() > 0) { in onBackPressed()
92 getFragmentManager().popBackStack(); in onBackPressed()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsFragmentTest.java100 assertThat(mFragment.getFragmentManager().findFragmentByTag( in onDisplayPreferenceDialog_editTextPreference_showsDialog()
112 assertThat(mFragment.getFragmentManager().findFragmentByTag( in onDisplayPreferenceDialog_listPreference_showsDialog()
132 assertThat(mFragment.getFragmentManager().findFragmentByTag( in onDisplayPreferenceDialog_alreadyShowing_doesNothing()
141 assertThat(mFragment.getFragmentManager().findFragmentByTag( in onDisplayPreferenceDialog_alreadyShowing_doesNothing()
152 mFragment.getFragmentManager().findFragmentById(R.id.fragment_container)).isEqualTo( in launchFragment_otherFragment_opensFragment()
169 verify(dialogFragment).show(mFragment.getFragmentManager(), null); in showDialog_noTag_launchesDialogFragment()
177 verify(dialogFragment).show(mFragment.getFragmentManager(), TEST_TAG); in showDialog_withTag_launchesDialogFragment()
192 mFragment.getFragmentManager().beginTransaction().add(fragment, TEST_TAG).commit(); in findDialogByTag_notDialogFragment_returnsNull()
DConfirmationDialogFragmentTest.java80 dialogFragment.show(mFragment.getFragmentManager(), ConfirmationDialogFragment.TAG); in buildDialogFragment_hasTitleAndMessage()
90 dialogFragment.show(mFragment.getFragmentManager(), ConfirmationDialogFragment.TAG); in buildDialogFragment_negativeButtonNotSet_negativeButtonNotVisible()
103 dialogFragment.show(mFragment.getFragmentManager(), ConfirmationDialogFragment.TAG); in buildDialogFragment_positiveButtonNotSet_positiveButtonNotVisible()
117 dialogFragment.show(mFragment.getFragmentManager(), ConfirmationDialogFragment.TAG); in clickPositiveButton_callsCallbackWithArgs()
131 dialogFragment.show(mFragment.getFragmentManager(), ConfirmationDialogFragment.TAG); in clickNegativeButton_callsCallbackWithArgs()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DTvSettingsActivity.java54 getFragmentManager().beginTransaction() in onCreate()
70 if (getFragmentManager().isStateSaved() in onCreate()
71 || getFragmentManager().isDestroyed()) { in onCreate()
75 getFragmentManager().beginTransaction() in onCreate()
96 final Fragment fragment = getFragmentManager().findFragmentByTag(SETTINGS_FRAGMENT_TAG); in finish()
105 scene.setEnterAction(() -> getFragmentManager().beginTransaction() in finish()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datausage/
DUsageBytesThresholdPickerDialogTest.java60 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogInit_validValue_showsCurrentValue()
68 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogInit_lowInvalidValue_showsLowestPossibleValue()
78 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in positiveButtonClick_noChangeInValue_dialogListenerNotCalled()
92 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in positiveButtonClick_changeInValue_dialogListenerCalled()
108 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in getCurrentThreshold_aboveLimit_returnLimit()
DUsageCycleResetDayOfMonthPickerDialogTest.java57 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogInit_validValue_showsCurrentValue()
65 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogInit_lowInvalidValue_showsLowestPossibleValue()
73 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogInit_highInvalidValue_showsHighestPossibleValue()
83 dialog.show(mFragment.getFragmentManager(), /* tag= */ null); in dialogListenerCalled()
/packages/apps/Contacts/src/com/android/contacts/preference/
DContactsPreferenceActivity.java86 getFragmentManager().beginTransaction() in onCreate()
92 getFragmentManager().findFragmentByTag(TAG_ABOUT); in onCreate()
168 getFragmentManager().beginTransaction() in showAboutFragment()
186 if (getFragmentManager().getBackStackEntryCount() > 0) { in onBackPressed()
188 getFragmentManager().popBackStack(); in onBackPressed()
217 getFragmentManager().findFragmentByTag(TAG_DISPLAY_OPTIONS); in onProfileLoaded()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogFragment.java164 getRealActivity().getFragmentManager()); in setActionFragment()
169 return getRealActivity().getFragmentManager() in getActionFragment()
174 return getRealActivity().getFragmentManager() in getContentFragment()
197 getRealActivity().getFragmentManager()); in setContentAndActionFragments()
205 FragmentManager fm = getRealActivity().getFragmentManager(); in getContentFragmentTransaction()
DDialogActivity.java187 getFragmentManager().addOnBackStackChangedListener(this); in onCreate()
237 int count = getFragmentManager().getBackStackEntryCount(); in onBackStackChanged()
239 getFragmentManager().getBackStackEntryAt(count - 1).getName())) { in onBackStackChanged()
240 getFragmentManager().popBackStack(); in onBackStackChanged()
376 FragmentManager fm = getFragmentManager(); in setDialogFragment()
390 (DialogFragment) getFragmentManager().findFragmentByTag(TAG_DIALOG); in getDialogFragment()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DMainSearchController.java120 (DialpadFragment) activity.getFragmentManager().findFragmentByTag(DIALPAD_FRAGMENT_TAG); in MainSearchController()
122 (NewSearchFragment) activity.getFragmentManager().findFragmentByTag(SEARCH_FRAGMENT_TAG); in MainSearchController()
161 FragmentTransaction transaction = activity.getFragmentManager().beginTransaction(); in showDialpad()
234 activity.getFragmentManager().beginTransaction().hide(dialpadFragment).commit(); in hideDialpad()
346 activity.getFragmentManager().beginTransaction().hide(searchFragment).commit(); in closeSearch()
415 FragmentTransaction transaction = activity.getFragmentManager().beginTransaction(); in openSearch()
476 ClearFrequentsDialog.show(activity.getFragmentManager()); in onMenuItemClicked()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java69 Fragment fragment = getFragmentManager().findFragmentById(android.R.id.content); in onCreate()
72 getFragmentManager().beginTransaction() in onCreate()
116 (ClearAllDialogFragment) getFragmentManager() in showClearAllDialog()
120 newFragment.show(getFragmentManager(), TAG_CLEAR_ALL_DIALOG); in showClearAllDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintSettings.java186 RenameDialog renameDialog = (RenameDialog) getFragmentManager().
280 getFragmentManager().findFragmentByTag(TAG_AUTHENTICATE_SIDECAR); in onCreate()
283 getFragmentManager().beginTransaction() in onCreate()
289 getFragmentManager().findFragmentByTag(TAG_REMOVAL_SIDECAR); in onCreate()
292 getFragmentManager().beginTransaction() in onCreate()
298 RenameDialog renameDialog = (RenameDialog) getFragmentManager(). in onCreate()
490 .show(getFragmentManager(), DeleteFingerprintDialog.class.getName()); in onDeleteClick()
500 lastDeleteDialog.show(getFragmentManager(), in onDeleteClick()
518 renameDialog.show(getFragmentManager(), RenameDialog.class.getName()); in showRenameDialog()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintSettings.java186 RenameDialog renameDialog = (RenameDialog) getFragmentManager().
283 getFragmentManager().findFragmentByTag(TAG_AUTHENTICATE_SIDECAR); in onCreate()
286 getFragmentManager().beginTransaction() in onCreate()
292 getFragmentManager().findFragmentByTag(TAG_REMOVAL_SIDECAR); in onCreate()
295 getFragmentManager().beginTransaction() in onCreate()
301 RenameDialog renameDialog = (RenameDialog) getFragmentManager(). in onCreate()
493 .show(getFragmentManager(), DeleteFingerprintDialog.class.getName()); in onDeleteClick()
503 lastDeleteDialog.show(getFragmentManager(), in onDeleteClick()
521 renameDialog.show(getFragmentManager(), RenameDialog.class.getName()); in showRenameDialog()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java377 mDrawerFragment = (DrawerFragment) getFragmentManager().findFragmentById(R.id.drawer); in onCreate()
529 final FragmentManager fragmentManager = getFragmentManager(); in createViewsAndFragments()
708 final FragmentManager fragmentManager= getFragmentManager(); in updateViewConfiguration()
988 final FragmentManager fragmentManager = getFragmentManager(); in switchView()
1142 SelectAccountDialogFragment.show(getFragmentManager(), R.string.dialog_new_group_account, in selectAccountForNewGroup()
1153 .show(getFragmentManager(), TAG_GROUP_NAME_EDIT_DIALOG); in onAccountChosen()
1234 final int count = getFragmentManager().getBackStackEntryCount(); in isLastBackStackTag()
1237 getFragmentManager().getBackStackEntryAt(count - 1); in isLastBackStackTag()
1247 getFragmentManager().popBackStackImmediate( in popSecondLevel()
1249 getFragmentManager().popBackStackImmediate( in popSecondLevel()
/packages/apps/Dialer/java/com/android/dialer/app/
DDialtactsActivity.java419 getFragmentManager() in onCreate()
516 getFragmentManager().beginTransaction().hide(dialpadFragment).commit(); in onResume()
723 ClearFrequentsDialog.show(getFragmentManager()); in onMenuItemClick()
813 final FragmentTransaction ft = getFragmentManager().beginTransaction(); in showDialpadFragment()
845 getFragmentManager(), "Query last phone number", Calls::getLastOutgoingCall) in getLastOutgoingCall()
923 final FragmentTransaction ft = getFragmentManager().beginTransaction(); in commitDialpadFragmentHide()
1109 if (stateSaved || getFragmentManager().isDestroyed()) { in enterSearchUi()
1117 getFragmentManager().isDestroyed()); in enterSearchUi()
1121 FragmentTransaction transaction = getFragmentManager().beginTransaction(); in enterSearchUi()
1133 NewSearchFragment fragment = (NewSearchFragment) getFragmentManager().findFragmentByTag(tag); in enterSearchUi()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/settings/
DSettingsActivity.java86 getFragmentManager().beginTransaction() in onCreate()
115 if (Utilities.ATLEAST_P && getFragmentManager().isStateSaved()) { in startFragment()
122 ((DialogFragment) f).show(getFragmentManager(), key); in startFragment()
124 getFragmentManager() in startFragment()
/packages/apps/TV/src/com/android/tv/ui/
DTvOverlayManager.java398 return mMainActivity.getFragmentManager().findFragmentByTag(FRAGMENT_TAG_SETUP_SOURCES); in getSetupSourcesFragment()
408 return mMainActivity.getFragmentManager().findFragmentByTag(FRAGMENT_TAG_NEW_SOURCES); in getNewSourcesFragment()
464 dialog.show(mMainActivity.getFragmentManager(), tag); in showDialogFragment()
483 final FragmentManager manager = mMainActivity.getFragmentManager(); in runAfterSideFragmentsAreClosed()
508 .getFragmentManager() in showFragment()
520 mMainActivity.getFragmentManager().findFragmentByTag(fragmentTagToRemove); in closeFragment()
526 .getFragmentManager() in closeFragment()
531 .getFragmentManager() in closeFragment()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DFormatActivity.java116 getFragmentManager().beginTransaction() in onCreate()
168 getFragmentManager().beginTransaction() in handleFormatAsPrivateComplete()
241 getFragmentManager().beginTransaction() in onRequestFormatAsPrivate()
284 getFragmentManager().beginTransaction() in onRequestFormatAsPublic()
DUnmountActivity.java86 getFragmentManager().beginTransaction() in onCreate()
105 getFragmentManager().beginTransaction() in onRequestUnmount()
189 if (!getFragmentManager().popBackStackImmediate()) { in onGuidedActionClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DOwnerInfoPreferenceControllerTest.java82 when(mFragment.getFragmentManager()).thenReturn(mFragmentManager); in setUp()
191 verify(mFragment, times(2)).getFragmentManager(); in performClick_shouldLaunchOwnerInfoSettings()
192 verify(mFragment.getFragmentManager().beginTransaction()) in performClick_shouldLaunchOwnerInfoSettings()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DDeletionHelperActivity.java61 FragmentManager manager = getFragmentManager(); in onCreate()
150 FragmentManager manager = getFragmentManager(); in onOptionsItemSelected()
184 FragmentManager manager = mParent.getFragmentManager(); in onClick()
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/
DWarningDialogActivity.java29 if (getFragmentManager().findFragmentByTag(WarningDialogFragment.TAG) != null) { in onCreate()
33 dialog.show(getFragmentManager(), WarningDialogFragment.TAG); in onCreate()

12345678910>>...15