/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | DeleteManagedProfileDialog.java | 71 DeleteManagedProfileDialog dialog = new DeleteManagedProfileDialog(); in newInstance() local 72 dialog.setArguments(args); in newInstance() 73 return dialog; in newInstance() 101 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); in onCreateDialog() local 102 dialog.setTitle(R.string.delete_profile_title); in onCreateDialog() 103 dialog.setContentView(R.layout.delete_managed_profile_dialog); in onCreateDialog() 104 dialog.setCanceledOnTouchOutside(false); in onCreateDialog() 106 SystemBarHelper.hideSystemBars(dialog); in onCreateDialog() 109 ImageView imageView = (ImageView) dialog.findViewById( in onCreateDialog() 115 TextView deviceManagerName = (TextView) dialog.findViewById( in onCreateDialog() [all …]
|
D | UserConsentDialog.java | 69 UserConsentDialog dialog = new UserConsentDialog(); in newInstance() local 73 dialog.setArguments(args); in newInstance() 74 return dialog; in newInstance() 85 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); in onCreateDialog() local 86 dialog.setContentView(R.layout.learn_more_dialog); in onCreateDialog() 87 dialog.setCanceledOnTouchOutside(false); in onCreateDialog() 89 SystemBarHelper.hideSystemBars(dialog); in onCreateDialog() 92 final TextView learnMoreMsg = (TextView) dialog.findViewById(R.id.learn_more_text1); in onCreateDialog() 93 final TextView linkText = (TextView) dialog.findViewById(R.id.learn_more_link); in onCreateDialog() 94 final TextView textFrpWarning = (TextView) dialog.findViewById( in onCreateDialog() [all …]
|
/packages/services/Telephony/src/com/android/phone/ |
D | TimeConsumingPreferenceActivity.java | 31 public void onClick(DialogInterface dialog, int which) { in onClick() argument 32 dialog.dismiss(); in onClick() 37 public void onClick(DialogInterface dialog, int which) { in onClick() argument 38 dialog.dismiss(); in onClick() 64 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 65 dialog.setTitle(getText(R.string.updating_title)); in onCreateDialog() 66 dialog.setIndeterminate(true); in onCreateDialog() 70 dialog.setCancelable(true); in onCreateDialog() 71 dialog.setOnCancelListener(this); in onCreateDialog() 72 dialog.setMessage(getText(R.string.reading_settings)); in onCreateDialog() [all …]
|
D | ErrorDialogActivity.java | 64 public void onClick(DialogInterface dialog, int which) { in showGenericErrorDialog() 70 public void onCancel(DialogInterface dialog) { in showGenericErrorDialog() 88 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 93 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 94 addVoiceMailNumberPanel(dialog); in showMissingVoicemailErrorDialog() 98 public void onCancel(DialogInterface dialog) { in showMissingVoicemailErrorDialog() 104 private void addVoiceMailNumberPanel(DialogInterface dialog) { in addVoiceMailNumberPanel() argument 105 if (dialog != null) { in addVoiceMailNumberPanel() 106 dialog.dismiss(); in addVoiceMailNumberPanel()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/ |
D | AccountsSettingsFragmentTests.java | 91 final AlertDialog dialog = initDialog(fragment, null).mDialog; in testMultipleAccounts_noSettingsForManagedProfile() local 92 final ListView lv = dialog.getListView(); in testMultipleAccounts_noSettingsForManagedProfile() 103 final AlertDialog dialog = initDialog(fragment, null).mDialog; in testMultipleAccounts_noCurrentAccount() local 104 final ListView lv = dialog.getListView(); in testMultipleAccounts_noCurrentAccount() 112 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_noCurrentAccount() 114 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount() 116 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount() 124 final AlertDialog dialog = initDialog(fragment, "3@example.com").mDialog; in testMultipleAccounts_currentAccount() local 125 final ListView lv = dialog.getListView(); in testMultipleAccounts_currentAccount() 133 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_currentAccount() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SmsStorageLowWarningFragment.java | 61 final ChooseActionDialogFragment dialog = ChooseActionDialogFragment.newInstance(); in onCreate() local 62 dialog.setTargetFragment(this, 0/*requestCode*/); in onCreate() 63 dialog.show(ft, null/*tag*/); in onCreate() 73 final ConfirmationDialog dialog = ConfirmationDialog.newInstance(actionIndex); in confirm() local 74 dialog.setTargetFragment(this, 0/*requestCode*/); in confirm() 75 dialog.show(ft, null/*tag*/); in confirm() 110 public void onClick(DialogInterface dialog, int id) { in onCreateDialog() 111 dialog.cancel(); in onCreateDialog() 115 final Dialog dialog = builder.create(); in onCreateDialog() local 116 dialog.setCanceledOnTouchOutside(false); in onCreateDialog() [all …]
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | CheckSettingsProgressDialogFragment.java | 70 final AlertDialog dialog = (AlertDialog) getDialog(); in updateProgress() local 71 if (dialog != null && mProgressString != null) { in updateProgress() 72 dialog.setMessage(mProgressString); in updateProgress() 92 final ProgressDialog dialog = new ProgressDialog(context); in onCreateDialog() local 93 dialog.setIndeterminate(true); in onCreateDialog() 94 dialog.setMessage(mProgressString); in onCreateDialog() 95 dialog.setButton(DialogInterface.BUTTON_NEGATIVE, in onCreateDialog() 99 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 100 dialog.cancel(); in onCreateDialog() 103 return dialog; in onCreateDialog() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | MinTimeProgressDialog.java | 107 public void onShow(DialogInterface dialog) { in onShow() argument 119 MinTimeProgressDialog dialog = new MinTimeProgressDialog(context); in show() local 120 dialog.setTitle(title); in show() 121 dialog.setMessage(message); in show() 122 dialog.setIndeterminate(indeterminate); in show() 123 dialog.setCancelable(cancelable); in show() 124 dialog.setOnCancelListener(cancelListener); in show() 125 dialog.setOnShowListener(dialog); in show() 126 dialog.show(); in show() 128 return dialog; in show()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationLockscreenPreference.java | 88 protected void onDialogCreated(Dialog dialog) { in onDialogCreated() argument 89 super.onDialogCreated(dialog); in onDialogCreated() 90 dialog.create(); in onDialogCreated() 91 CheckBox checkbox = (CheckBox) dialog.findViewById(R.id.lockscreen_remote_input); in onDialogCreated() 96 View restricted = dialog.findViewById(R.id.restricted_lock_icon_remote_input); in onDialogCreated() 101 dialog.findViewById(com.android.internal.R.id.customPanel) in onDialogCreated() 107 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) { in onDialogStateRestored() argument 108 super.onDialogStateRestored(dialog, savedInstanceState); in onDialogStateRestored() 109 ListView listView = ((AlertDialog) dialog).getListView(); in onDialogStateRestored() 112 View panel = dialog.findViewById(com.android.internal.R.id.customPanel); in onDialogStateRestored() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | CustomListPreference.java | 46 protected void onDialogCreated(Dialog dialog) { in onDialogCreated() argument 53 protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState) { in onDialogStateRestored() argument 84 public void onClick(DialogInterface dialog, int which) { in onPrepareDialogBuilder() 85 CustomListPreferenceDialogFragment.this.onClick(dialog, in onPrepareDialogBuilder() 87 dialog.dismiss(); in onPrepareDialogBuilder() 95 Dialog dialog = super.onCreateDialog(savedInstanceState); in onCreateDialog() local 100 getCustomizablePreference().onDialogCreated(dialog); in onCreateDialog() 101 return dialog; in onCreateDialog() 118 public void onClick(DialogInterface dialog, int which) { in getOnItemClickListener() 127 CustomListPreferenceDialogFragment.this.onClick(dialog, in getOnItemClickListener() [all …]
|
D | RemoteBugreportActivity.java | 51 AlertDialog dialog = new AlertDialog.Builder(this) in onCreate() local 55 public void onDismiss(DialogInterface dialog) { in onCreate() 61 public void onClick(DialogInterface dialog, int which) { in onCreate() 66 dialog.show(); in onCreate() 70 AlertDialog dialog = new AlertDialog.Builder(this) in onCreate() local 78 public void onDismiss(DialogInterface dialog) { in onCreate() 85 public void onClick(DialogInterface dialog, int which) { in onCreate() 96 public void onClick(DialogInterface dialog, int which) { in onCreate() 105 dialog.show(); in onCreate()
|
D | CredentialStorage.java | 309 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) in ResetDialog() local 315 dialog.setOnDismissListener(this); in ResetDialog() 316 dialog.show(); in ResetDialog() 319 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 323 @Override public void onDismiss(DialogInterface dialog) { in onDismiss() argument 381 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) in ConfigureKeyGuardDialog() local 387 dialog.setOnDismissListener(this); in ConfigureKeyGuardDialog() 388 dialog.show(); in ConfigureKeyGuardDialog() 391 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 395 @Override public void onDismiss(DialogInterface dialog) { in onDismiss() argument [all …]
|
D | EditPinPreference.java | 62 Dialog dialog = getDialog(); in isDialogOpen() local 63 return dialog != null && dialog.isShowing(); in isDialogOpen() 75 Dialog dialog = getDialog(); in showPinDialog() local 76 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/ |
D | IndeterminateProgressDialog.java | 17 package com.android.contacts.common.dialog; 90 final ProgressDialog dialog = new ProgressDialog(getActivity()); in onCreateDialog() local 91 dialog.setIndeterminate(true); in onCreateDialog() 92 dialog.setIndeterminateDrawable(null); in onCreateDialog() 93 dialog.setTitle(mTitle); in onCreateDialog() 94 dialog.setMessage(mMessage); in onCreateDialog() 96 return dialog; in onCreateDialog() 125 public void onDismiss(DialogInterface dialog) { in onDismiss() argument 126 if (mOldDialog != null && mOldDialog == dialog) { in onDismiss() 131 super.onDismiss(dialog); in onDismiss()
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 121 final PausedDialogFragment dialog = new PausedDialogFragment(); in show() local 125 dialog.setArguments(args); in show() 126 dialog.show(fm, TAG_PAUSED); in show() 154 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 163 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 172 public void onDismiss(DialogInterface dialog) { in onDismiss() argument 173 super.onDismiss(dialog); in onDismiss() 183 final FailedDialogFragment dialog = new FailedDialogFragment(); in show() local 187 dialog.setArguments(args); in show() 188 dialog.show(fm, TAG_FAILED); in show() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | ErrorDialogActivity.java | 75 public void onClick(DialogInterface dialog, int which) { in showGenericErrorDialog() 82 public void onCancel(DialogInterface dialog) { in showGenericErrorDialog() 105 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 111 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 112 addVoiceMailNumberPanel(dialog); in showMissingVoicemailErrorDialog() 116 public void onCancel(DialogInterface dialog) { in showMissingVoicemailErrorDialog() 122 private void addVoiceMailNumberPanel(DialogInterface dialog) { in addVoiceMailNumberPanel() argument 123 if (dialog != null) { in addVoiceMailNumberPanel() 124 dialog.dismiss(); in addVoiceMailNumberPanel()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 62 AlertDialog dialog, in showDisconnectDialog() argument 65 if (dialog == null) { in showDisconnectDialog() 66 dialog = new AlertDialog.Builder(context) in showDisconnectDialog() 71 if (dialog.isShowing()) { in showDisconnectDialog() 72 dialog.dismiss(); in showDisconnectDialog() 76 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showDisconnectDialog() 79 dialog.setTitle(title); in showDisconnectDialog() 80 dialog.setMessage(message); in showDisconnectDialog() 81 dialog.show(); in showDisconnectDialog() 82 return dialog; in showDisconnectDialog()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailDialogUtil.java | 96 AlertDialog dialog = b.create(); in getDialog() local 99 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in getDialog() 101 return dialog; in getDialog() 104 ProgressDialog dialog = new ProgressDialog(parent); in getDialog() local 105 dialog.setTitle(parent.getText(R.string.call_settings)); in getDialog() 106 dialog.setIndeterminate(true); in getDialog() 107 dialog.setCancelable(false); in getDialog() 108 dialog.setMessage(parent.getText( in getDialog() 112 return dialog; in getDialog()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EditResponseHelper.java | 66 public void onClick(DialogInterface dialog, int which) { in onClick() argument 71 public void onDismiss(DialogInterface dialog) { in onDismiss() argument 81 mDismissListener.onDismiss(dialog); in onDismiss() 99 public void onClick(DialogInterface dialog, int which) { 129 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle( in showDialog() local 136 dialog.setOnDismissListener(this); in showDialog() 137 mAlertDialog = dialog; in showDialog() 142 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
|
D | DeleteEventHelper.java | 135 public void onClick(DialogInterface dialog, int button) { 154 public void onClick(DialogInterface dialog, int button) { 171 public void onClick(DialogInterface dialog, int button) { 187 public void onClick(DialogInterface dialog, int button) { 270 AlertDialog dialog = new AlertDialog.Builder(mContext) in delete() local 277 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in delete() 282 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in delete() 286 dialog.setOnDismissListener(mDismissListener); in delete() 287 dialog.show(); in delete() 288 mAlertDialog = dialog; in delete() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | GroupNameDialogFragment.java | 64 final AlertDialog dialog = builder.create(); in onCreateDialog() local 66 dialog.setOnShowListener(new OnShowListener() { in onCreateDialog() 69 updateOkButtonState(dialog, editText); in onCreateDialog() 83 updateOkButtonState(dialog, editText); in onCreateDialog() 86 dialog.getWindow().setSoftInputMode( in onCreateDialog() 88 return dialog; in onCreateDialog() 91 /* package */ void updateOkButtonState(AlertDialog dialog, EditText editText) { in updateOkButtonState() argument 92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateOkButtonState()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | BillingCycleSettings.java | 164 final BytesEditorFragment dialog = new BytesEditorFragment(); in show() local 165 dialog.setArguments(args); in show() 166 dialog.setTargetFragment(parent, 0); in show() 167 dialog.show(parent.getFragmentManager(), TAG_WARNING_EDITOR); in show() 213 public void onClick(DialogInterface dialog, int which) { in onClick() argument 254 final CycleEditorFragment dialog = new CycleEditorFragment(); in show() local 255 dialog.setArguments(args); in show() 256 dialog.setTargetFragment(parent, 0); in show() 257 dialog.show(parent.getFragmentManager(), TAG_CYCLE_EDITOR); in show() 287 public void onClick(DialogInterface dialog, int which) { in onClick() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
D | SetupSkipDialog.java | 46 SetupSkipDialog dialog = new SetupSkipDialog(); in newInstance() local 49 dialog.setArguments(args); in newInstance() 50 return dialog; in newInstance() 55 final AlertDialog dialog = onCreateDialogBuilder().create(); in onCreateDialog() local 57 SystemBarHelper.hideSystemBars(dialog); in onCreateDialog() 58 return dialog; in onCreateDialog() 73 public void onClick(DialogInterface dialog, int button) { in onClick() argument
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
D | PostCharDialogFragment.java | 66 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 72 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 73 dialog.cancel(); in onCreateDialog() 77 final AlertDialog dialog = builder.create(); in onCreateDialog() local 78 return dialog; in onCreateDialog() 82 public void onCancel(DialogInterface dialog) { in onCancel() argument 83 super.onCancel(dialog); in onCancel()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialogActivity.java | 58 WifiDialog dialog = new WifiDialog(this, this, accessPoint, WifiConfigUiBase.MODE_CONNECT); in onCreate() local 59 dialog.show(); in onCreate() 60 dialog.setOnDismissListener(this); in onCreate() 70 public void onForget(WifiDialog dialog) { in onForget() argument 72 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onForget() 100 public void onSubmit(WifiDialog dialog) { in onSubmit() argument 101 final WifiConfiguration config = dialog.getController().getConfig(); in onSubmit() 102 final AccessPoint accessPoint = dialog.getController().getAccessPoint(); in onSubmit()
|