Home
last modified time | relevance | path

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

12

/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.java257 CategoryFragment newFragment = CategoryFragment.newInstance( in initializeMobile() local
260 .add(R.id.fragment_container, newFragment) in initializeMobile()
372 OfflineDesktopFragment newFragment = new OfflineDesktopFragment(); in initializeDesktopOffline() local
374 .add(R.id.fragment_container, newFragment) in initializeDesktopOffline()
793 IndividualPickerFragment newFragment = injector.getIndividualPickerFragment( in showCategoryDesktop() local
796 .add(R.id.fragment_container, newFragment) in showCategoryDesktop()
798 newFragment.setCurrentWallpaperBottomSheetPresenter(this); in showCategoryDesktop()
799 newFragment.setWallpapersUiContainer(this); in showCategoryDesktop()
DPreviewFragment.java862 SetWallpaperErrorDialogFragment newFragment = SetWallpaperErrorDialogFragment.newInstance( in showSetWallpaperErrorDialog() local
864 newFragment.setTargetFragment(this, UNUSED_REQUEST_CODE); in showSetWallpaperErrorDialog()
871 newFragment.show(getFragmentManager(), TAG_SET_WALLPAPER_ERROR_DIALOG_FRAGMENT); in showSetWallpaperErrorDialog()
873 mStagedSetWallpaperErrorDialogFragment = newFragment; in showSetWallpaperErrorDialog()
/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/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/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/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/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/
DEditIpSettingsActivity.java124 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
125 updateView(newFragment, movingForward); in onFragmentChange()
DEditProxySettingsActivity.java121 public void onFragmentChange(Fragment newFragment, boolean movingForward) { in onFragmentChange() argument
122 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/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaAppSelectorWidget.java159 AppSelectionFragment newFragment = AppSelectionFragment.create(this, in onAppSwitchClicked() local
161 newFragment.show(mActivity.getSupportFragmentManager(), null); in onAppSwitchClicked()
/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.java585 Fragment newFragment = null; in updateDataFragment() local
602 newFragment = in updateDataFragment()
614 newFragment = new AvatarFragment(); in updateDataFragment()
625 if (newFragment != null) { in updateDataFragment()
628 .replace(R.id.incall_data_container, newFragment) in updateDataFragment()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java164 final DialogFragment newFragment = AttachmentProgressDialogFragment.newInstance( in showDownloadingDialog() local
166 newFragment.show(ft, PROGRESS_FRAGMENT_TAG); in showDownloadingDialog()
/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

12