Home
last modified time | relevance | path

Searched refs:DialogFragment (Results 1 – 25 of 134) sorted by relevance

123456

/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DBlockReportSpamDialogs.java25 import android.support.v4.app.DialogFragment;
42 Activity activity, final DialogFragment fragment) { in createDialogBuilder()
53 final DialogFragment fragment, final OnConfirmListener listener) { in createGenericOnClickListener()
92 private abstract static class CommonDialogsFragment extends DialogFragment {
137 public static DialogFragment newInstance( in newInstance()
192 public static DialogFragment newInstance( in newInstance()
235 public static DialogFragment newInstance( in newInstance()
276 public static DialogFragment newInstance( in newInstance()
321 public static DialogFragment newInstance( in newInstance()
353 public static DialogFragment newInstance( in newInstance()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DDialogTestUtils.java22 import androidx.fragment.app.DialogFragment;
34 public static void clickPositiveButton(DialogFragment dialogFragment) { in clickPositiveButton()
43 public static void clickNegativeButton(DialogFragment dialogFragment) { in clickNegativeButton()
52 public static String getTitle(DialogFragment dialogFragment) { in getTitle()
58 public static String getMessage(DialogFragment dialogFragment) { in getMessage()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java22 import androidx.fragment.app.DialogFragment;
34 public static void clickPositiveButton(DialogFragment dialogFragment) { in clickPositiveButton()
43 public static void clickNegativeButton(DialogFragment dialogFragment) { in clickNegativeButton()
52 public static String getTitle(DialogFragment dialogFragment) { in getTitle()
58 public static String getMessage(DialogFragment dialogFragment) { in getMessage()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DSettingsFragmentTestCase.java37 import androidx.fragment.app.DialogFragment;
148 DialogFragment dialogFragment = new DialogFragment(); in launchFragment_dialogFragment_throwsError()
157 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_noTag_launchesDialogFragment()
166 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_withTag_launchesDialogFragment()
173 DialogFragment dialogFragment = new DialogFragment(); in findDialogByTag_retrieveOriginalDialog_returnsDialog()
DBaseCarSettingsActivityTestCase.java23 import androidx.fragment.app.DialogFragment;
55 DialogFragment dialogFragment = new DialogFragment(); in launchFragment_dialogFragment_throwsError()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSimpleDialog.java22 import android.app.DialogFragment;
33 public class SimpleDialog extends DialogFragment {
88 public static void throwButtonClickHandlerNotImplemented(DialogFragment dialog) { in throwButtonClickHandlerNotImplemented()
196 void onPositiveButtonClick(DialogFragment dialog); in onPositiveButtonClick()
203 void onNegativeButtonClick(DialogFragment dialog); in onNegativeButtonClick()
DDialogBuilder.java19 import android.app.DialogFragment;
30 DialogFragment build(); in build()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java38 import android.app.DialogFragment;
135 clickOnPositiveButton(activity, (DialogFragment) dialog); in error_noFactoryReset_doesNotReset()
161 clickOnPositiveButton(activity, (DialogFragment) dialog); in error_factoryReset_resets()
250 clickOnNegativeButton(activity, (DialogFragment) dialog); in activity_profileOwner_backPressed_doNotCancel_doesNotFinishActivity()
266 clickOnNegativeButton(activity, (DialogFragment) dialog); in activity_profileOwner_backPressed_doNotCancel_doesNotCancelProvisioning()
281 clickOnPositiveButton(activity, (DialogFragment) dialog); in activity_profileOwner_backPressed_cancel_doesFinishActivity()
297 clickOnPositiveButton(activity, (DialogFragment) dialog); in activity_profileOwner_backPressed_cancel_doesCancelProvisioning()
414 private void clickOnOkButton(ProvisioningActivity activity, DialogFragment dialog) { in clickOnOkButton()
446 private void clickOnPositiveButton(ProvisioningActivity activity, DialogFragment dialog) { in clickOnPositiveButton()
453 private void clickOnNegativeButton(ProvisioningActivity activity, DialogFragment dialog) { in clickOnNegativeButton()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogActivity.java102 private DialogFragment mDialogFragment;
108 mDialogFragment = new DialogFragment(); in DialogActivity()
369 protected void setDialogFragment(DialogFragment fragment) { in setDialogFragment()
373 protected void setDialogFragment(DialogFragment fragment, boolean addToBackStack) { in setDialogFragment()
388 protected DialogFragment getDialogFragment() { in getDialogFragment()
389 final DialogFragment fragment = in getDialogFragment()
390 (DialogFragment) getFragmentManager().findFragmentByTag(TAG_DIALOG); in getDialogFragment()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DProgressDialogFragment.java20 import android.app.DialogFragment;
30 public class ProgressDialogFragment extends DialogFragment {
76 DialogFragment fragment = (DialogFragment) fm.findFragmentByTag(TAG); in dismiss()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java39 import androidx.fragment.app.DialogFragment;
299 DialogFragment dialogFragment = preference instanceof PasswordEditTextPreference in onDisplayPreferenceDialog()
321 public void showDialog(DialogFragment dialogFragment, @Nullable String tag) { in showDialog()
332 public DialogFragment findDialogByTag(String tag) { in findDialogByTag()
334 if (fragment instanceof DialogFragment) { in findDialogByTag()
335 return (DialogFragment) fragment; in findDialogByTag()
DFragmentController.java25 import androidx.fragment.app.DialogFragment;
49 void showDialog(DialogFragment dialogFragment, @Nullable String tag); in showDialog()
62 DialogFragment findDialogByTag(String tag); in findDialogByTag()
DTopLevelMenuFragment.java29 import androidx.fragment.app.DialogFragment;
169 if (fragment instanceof DialogFragment) { in clearBackStack()
170 ((DialogFragment) fragment).dismiss(); in clearBackStack()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditInfoActivity.java23 import android.app.DialogFragment;
119 DialogFragment newFragment = ClearAllDialogFragment.newInstance(); in showClearAllDialog()
141 public static class ClearAllDialogFragment extends DialogFragment {
158 public static DialogFragment newInstance() { in newInstance()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/warning/
DOverlayFragment.java26 import androidx.fragment.app.DialogFragment;
38 @AndroidEntryPoint(DialogFragment.class)
44 setStyle(DialogFragment.STYLE_NO_FRAME, R.style.Theme_Dialer); in onCreate()
/packages/apps/Dialer/java/com/android/dialer/spam/promo/
DSpamBlockingPromoDialogFragment.java23 import android.support.v4.app.DialogFragment;
27 public class SpamBlockingPromoDialogFragment extends DialogFragment {
37 public static DialogFragment newInstance( in newInstance()
/packages/apps/TV/src/com/android/tv/dialog/
DWebDialogFragment.java19 import android.app.DialogFragment;
65 ? DialogFragment.STYLE_NO_TITLE in onCreate()
66 : DialogFragment.STYLE_NORMAL; in onCreate()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DMigrateBlockedNumbersDialogFragment.java21 import android.app.DialogFragment;
34 public class MigrateBlockedNumbersDialogFragment extends DialogFragment {
49 public static DialogFragment newInstance( in newInstance()
/packages/apps/TV/src/com/android/tv/license/
DLicenseDialogFragment.java19 import android.app.DialogFragment;
62 ? DialogFragment.STYLE_NO_TITLE in onCreate()
63 : DialogFragment.STYLE_NORMAL; in onCreate()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputSetupActivity.java22 import android.app.DialogFragment;
45 DialogFragment newFragment = new MyAlertDialogFragment(); in onCreate()
62 public static class MyAlertDialogFragment extends DialogFragment {
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningActivity.java21 import android.app.DialogFragment;
171 public void onNegativeButtonClick(DialogFragment dialog) { in onNegativeButtonClick()
184 public void onPositiveButtonClick(DialogFragment dialog) { in onPositiveButtonClick()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrGuidedStepFragment.java20 import android.app.DialogFragment;
107 } else if (getParentFragment() instanceof DialogFragment) { in dismissDialog()
108 ((DialogFragment) getParentFragment()).dismiss(); in dismissDialog()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSafeDismissDialogFragment.java21 import androidx.fragment.app.DialogFragment;
26 public class SafeDismissDialogFragment extends DialogFragment {
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamNotificationActivity.java20 import android.app.DialogFragment;
357 public static class FirstTimeSpamCallDialogFragment extends DialogFragment {
364 private static DialogFragment newInstance(Bundle bundle) { in newInstance()
449 public static class FirstTimeNonSpamCallDialogFragment extends DialogFragment {
456 private static DialogFragment newInstance(Bundle bundle) {
/packages/apps/Settings/src/com/android/settings/deletionhelper/
DActivationWarningFragment.java23 import androidx.fragment.app.DialogFragment;
30 public class ActivationWarningFragment extends DialogFragment {

123456