Home
last modified time | relevance | path

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

1234567

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DBaseCarSettingsActivityTest.java32 import androidx.fragment.app.DialogFragment;
88 DialogFragment dialogFragment = new DialogFragment(); in launchFragment_dialogFragment_throwsError()
96 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_launchDialogFragment_noTag()
103 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_launchDialogFragment_withTag()
110 DialogFragment dialogFragment = new DialogFragment(); in findDialogByTag_retrieveOriginalDialog()
DSettingsFragmentTest.java35 import androidx.fragment.app.DialogFragment;
159 DialogFragment dialogFragment = new DialogFragment(); in launchFragment_dialogFragment_throwsError()
167 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_noTag_launchesDialogFragment()
175 DialogFragment dialogFragment = mock(DialogFragment.class); in showDialog_withTag_launchesDialogFragment()
183 DialogFragment dialogFragment = new DialogFragment(); in findDialogByTag_retrieveOriginalDialog_returnsDialog()
/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/Dialer/src/com/android/car/dialer/ui/settings/
DDialerSettingsFragment.java22 import androidx.fragment.app.DialogFragment;
55 DialogFragment dialogFragment; in onDisplayPreferenceDialog()
69 private DialogFragment findDialogByTag(String tag) { in findDialogByTag()
71 if (fragment instanceof DialogFragment) { in findDialogByTag()
72 return (DialogFragment) fragment; in findDialogByTag()
77 private void showDialog(DialogFragment dialogFragment, @Nullable String tag) { in showDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DBaseTestActivity.java25 import androidx.fragment.app.DialogFragment;
57 if (fragment instanceof DialogFragment) { in launchFragment()
75 public void showDialog(DialogFragment dialogFragment, @Nullable String tag) { in showDialog()
81 public DialogFragment findDialogByTag(String tag) { in findDialogByTag()
83 if (fragment instanceof DialogFragment) { in findDialogByTag()
84 return (DialogFragment) fragment; in findDialogByTag()
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()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java30 import androidx.fragment.app.DialogFragment;
92 if (fragment instanceof DialogFragment) { in launchFragment()
125 public void showDialog(DialogFragment dialogFragment, @Nullable String tag) { in showDialog()
131 public DialogFragment findDialogByTag(String tag) { in findDialogByTag()
133 if (fragment instanceof DialogFragment) { in findDialogByTag()
134 return (DialogFragment) fragment; in findDialogByTag()
DSettingsFragment.java40 import androidx.fragment.app.DialogFragment;
256 DialogFragment dialogFragment; in onDisplayPreferenceDialog()
295 public void showDialog(DialogFragment dialogFragment, @Nullable String tag) { in showDialog()
301 public DialogFragment findDialogByTag(String tag) { in findDialogByTag()
303 if (fragment instanceof DialogFragment) { in findDialogByTag()
304 return (DialogFragment) fragment; in findDialogByTag()
DFragmentController.java24 import androidx.fragment.app.DialogFragment;
52 void showDialog(DialogFragment dialogFragment, @Nullable String tag); in showDialog()
60 DialogFragment findDialogByTag(String tag); in findDialogByTag()
/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/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/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/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/services/Telephony/src/com/android/phone/
DRoamingDialogFragment.java20 import android.app.DialogFragment;
34 public class RoamingDialogFragment extends DialogFragment implements OnClickListener {
45 void onPositiveButtonClick(DialogFragment dialog); in onPositiveButtonClick()
/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;
170 public void onNegativeButtonClick(DialogFragment dialog) { in onNegativeButtonClick()
183 public void onPositiveButtonClick(DialogFragment dialog) { in onPositiveButtonClick()
/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/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/UnifiedEmail/src/com/android/mail/browse/
DConversationViewHeader.java23 import android.app.DialogFragment;
175 final DialogFragment frag = in onLongClick()
181 public static class CopySubjectDialog extends DialogFragment
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DAppSelectionFragment.java26 import androidx.fragment.app.DialogFragment;
47 public class AppSelectionFragment extends DialogFragment {
179 setStyle(DialogFragment.STYLE_NORMAL, R.style.MediaAppSelectorStyle); // Full screen style. in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DSafeDismissDialogFragment.java20 import android.app.DialogFragment;
25 public class SafeDismissDialogFragment extends DialogFragment {

1234567