Home
last modified time | relevance | path

Searched refs:newFragment (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java193 protected void launchIfDifferent(Fragment newFragment) { in launchIfDifferent() argument
195 if ((newFragment != null) && differentFragment(newFragment, currentFragment)) { in launchIfDifferent()
196 LOG.d("launchIfDifferent: " + newFragment + " replacing " + currentFragment); in launchIfDifferent()
197 launchFragment(newFragment); in launchIfDifferent()
208 private boolean differentFragment(Fragment newFragment, Fragment currentFragment) { in differentFragment() argument
210 || (!currentFragment.getClass().equals(newFragment.getClass())); in differentFragment()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DBlockNumberDialogFragment.java69 final BlockNumberDialogFragment newFragment = in show() local
73 newFragment.setCallback(callback); in show()
74 newFragment.show(fragmentManager, BlockNumberDialogFragment.BLOCK_DIALOG_FRAGMENT); in show()
75 return newFragment; in show()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DTopLevelPickerActivity.java283 CategoryFragment newFragment = CategoryFragment.newInstance( in initializeMobile() local
286 .add(R.id.fragment_container, newFragment) in initializeMobile()
398 OfflineDesktopFragment newFragment = new OfflineDesktopFragment(); in initializeDesktopOffline() local
400 .add(R.id.fragment_container, newFragment) in initializeDesktopOffline()
819 IndividualPickerFragment newFragment = injector.getIndividualPickerFragment( in showCategoryDesktop() local
822 .add(R.id.fragment_container, newFragment) in showCategoryDesktop()
824 newFragment.setCurrentWallpaperBottomSheetPresenter(this); in showCategoryDesktop()
825 newFragment.setWallpapersUiContainer(this); in showCategoryDesktop()
DPreviewFragment.java540 SetWallpaperErrorDialogFragment newFragment = SetWallpaperErrorDialogFragment.newInstance( in showSetWallpaperErrorDialog() local
542 newFragment.setTargetFragment(this, UNUSED_REQUEST_CODE); in showSetWallpaperErrorDialog()
549 newFragment.show(requireFragmentManager(), TAG_SET_WALLPAPER_ERROR_DIALOG_FRAGMENT); in showSetWallpaperErrorDialog()
551 mStagedSetWallpaperErrorDialogFragment = newFragment; in showSetWallpaperErrorDialog()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DInstantAppButtonsPreferenceController.java139 final DialogFragment newFragment = in showDialog() local
141 newFragment.setTargetFragment(mParent, 0); in showDialog()
142 newFragment.show(mParent.getFragmentManager(), KEY_INSTANT_APP_BUTTONS); in showDialog()
DAppButtonsPreferenceController.java591 ButtonActionDialogFragment newFragment = ButtonActionDialogFragment.newInstance(id); in showDialogInner() local
592 newFragment.setTargetFragment(mFragment, 0); in showDialogInner()
593 newFragment.show(mActivity.getSupportFragmentManager(), "dialog " + id); in showDialogInner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DInstantAppButtonsPreferenceController.java139 final DialogFragment newFragment = in showDialog() local
141 newFragment.setTargetFragment(mParent, 0); in showDialog()
142 newFragment.show(mParent.getFragmentManager(), KEY_INSTANT_APP_BUTTONS); in showDialog()
DAppButtonsPreferenceController.java592 ButtonActionDialogFragment newFragment = ButtonActionDialogFragment.newInstance(id); in showDialogInner() local
593 newFragment.setTargetFragment(mFragment, 0); in showDialogInner()
594 newFragment.show(mActivity.getSupportFragmentManager(), "dialog " + id); in showDialogInner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppInfoBase.java171 DialogFragment newFragment = MyAlertDialogFragment.newInstance(id, moveErrorCode); in showDialogInner() local
172 newFragment.setTargetFragment(this, 0); in showDialogInner()
173 newFragment.show(getFragmentManager(), "dialog " + id); in showDialogInner()
DRunningServiceDetails.java559 DialogFragment newFragment = MyAlertDialogFragment.newConfirmStop(
561 newFragment.setTargetFragment(this, 0);
562 newFragment.show(getFragmentManager(), "confirmstop");
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoBase.java171 DialogFragment newFragment = MyAlertDialogFragment.newInstance(id, moveErrorCode); in showDialogInner() local
172 newFragment.setTargetFragment(this, 0); in showDialogInner()
173 newFragment.show(getFragmentManager(), "dialog " + id); in showDialogInner()
DRunningServiceDetails.java559 DialogFragment newFragment = MyAlertDialogFragment.newConfirmStop(
561 newFragment.setTargetFragment(this, 0);
562 newFragment.show(getFragmentManager(), "confirmstop");
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialActivity.java298 boolean newFragment = false; in showBiometricPrompt()
302 newFragment = true; in showBiometricPrompt()
307 if (newFragment) { in showBiometricPrompt()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialActivity.java295 boolean newFragment = false; in showBiometricPrompt()
299 newFragment = true; in showBiometricPrompt()
304 if (newFragment) { in showBiometricPrompt()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputSetupActivity.java45 DialogFragment newFragment = new MyAlertDialogFragment(); in onCreate() local
46 newFragment.show(getFragmentManager(), "dialog"); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DEditProxySettingsActivity.java121 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
122 updateView(newFragment, movingForward); in onFragmentChange()
DEditIpSettingsActivity.java124 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
125 updateView(newFragment, movingForward); in onFragmentChange()
DAddWifiNetworkActivity.java233 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
234 updateView(newFragment, movingForward); in onFragmentChange()
DWifiConnectionActivity.java262 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
263 updateView(newFragment, movingForward); in onFragmentChange()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java119 DialogFragment newFragment = ClearAllDialogFragment.newInstance(); in showClearAllDialog() local
120 newFragment.show(getFragmentManager(), TAG_CLEAR_ALL_DIALOG); in showClearAllDialog()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DAnswerFragment.java590 Fragment newFragment = null; in updateDataFragment() local
607 newFragment = in updateDataFragment()
619 newFragment = new AvatarFragment(); in updateDataFragment()
630 if (newFragment != null) { in updateDataFragment()
633 .replace(R.id.incall_data_container, newFragment) in updateDataFragment()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java416 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
417 updateView(newFragment, movingForward); in onFragmentChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DState.java48 void onFragmentChange(Fragment newFragment, boolean movingForward); in onFragmentChange() argument
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java324 AlertDialogFragment newFragment = AlertDialogFragment.newInstance(message); in showAlert() local
325 newFragment.show(getFragmentManager(), null); in showAlert()