/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() 61 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 62 dialog.setTitle(getText(R.string.updating_title)); in onCreateDialog() 63 dialog.setIndeterminate(true); in onCreateDialog() 67 dialog.setCancelable(true); in onCreateDialog() 68 dialog.setOnCancelListener(this); in onCreateDialog() 69 dialog.setMessage(getText(R.string.reading_settings)); in onCreateDialog() [all …]
|
D | NetworkSetting.java | 218 public void onCancel(DialogInterface dialog) { in onCancel() argument 304 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 312 dialog.setMessage(mNetworkSelectMsg); in onCreateDialog() 313 dialog.setCancelable(false); in onCreateDialog() 314 dialog.setIndeterminate(true); in onCreateDialog() 317 dialog.setMessage(getResources().getString(R.string.register_automatically)); in onCreateDialog() 318 dialog.setCancelable(false); in onCreateDialog() 319 dialog.setIndeterminate(true); in onCreateDialog() 324 dialog.setMessage(getResources().getString(R.string.load_networks_progress)); in onCreateDialog() 325 dialog.setCanceledOnTouchOutside(false); in onCreateDialog() [all …]
|
D | ErrorDialogActivity.java | 62 public void onClick(DialogInterface dialog, int which) { in showGenericErrorDialog() 68 public void onCancel(DialogInterface dialog) { in showGenericErrorDialog() 86 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 91 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 92 addVoiceMailNumberPanel(dialog); in showMissingVoicemailErrorDialog() 96 public void onCancel(DialogInterface dialog) { in showMissingVoicemailErrorDialog() 102 private void addVoiceMailNumberPanel(DialogInterface dialog) { in addVoiceMailNumberPanel() argument 103 if (dialog != null) { in addVoiceMailNumberPanel() 104 dialog.dismiss(); in addVoiceMailNumberPanel()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | UserConsentDialog.java | 54 UserConsentDialog dialog = new UserConsentDialog(); in newInstance() local 57 dialog.setArguments(args); in newInstance() 58 return dialog; in newInstance() 68 final Dialog dialog = new Dialog(getActivity(), R.style.ManagedProvisioningDialogTheme); in onCreateDialog() local 69 dialog.setContentView(R.layout.learn_more_dialog); in onCreateDialog() 70 dialog.setCanceledOnTouchOutside(false); in onCreateDialog() 72 TextView text1 = (TextView) dialog.findViewById(R.id.learn_more_text1); in onCreateDialog() 79 TextView linkText = (TextView) dialog.findViewById(R.id.learn_more_link); in onCreateDialog() 102 Button positiveButton = (Button) dialog.findViewById(R.id.positive_button); in onCreateDialog() 106 dialog.dismiss(); 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/Settings/src/com/android/settings/ |
D | CredentialStorage.java | 298 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) in ResetDialog() local 304 dialog.setOnDismissListener(this); in ResetDialog() 305 dialog.show(); in ResetDialog() 308 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 312 @Override public void onDismiss(DialogInterface dialog) { in onDismiss() argument 367 AlertDialog dialog = new AlertDialog.Builder(CredentialStorage.this) in ConfigureKeyGuardDialog() local 373 dialog.setOnDismissListener(this); in ConfigureKeyGuardDialog() 374 dialog.show(); in ConfigureKeyGuardDialog() 377 @Override public void onClick(DialogInterface dialog, int button) { in onClick() argument 381 @Override public void onDismiss(DialogInterface dialog) { in onDismiss() argument [all …]
|
D | DataUsageSummary.java | 1232 public void onClick(DialogInterface dialog, int id) { in handleMultiSimDataDialog() 1961 final ConfirmLimitFragment dialog = new ConfirmLimitFragment(); in show() local 1962 dialog.setArguments(args); in show() 1963 dialog.setTargetFragment(parent, 0); in show() 1964 dialog.show(parent.getFragmentManager(), TAG_CONFIRM_LIMIT); in show() 1980 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 2004 final CycleEditorFragment dialog = new CycleEditorFragment(); in show() local 2005 dialog.setArguments(args); in show() 2006 dialog.setTargetFragment(parent, 0); in show() 2007 dialog.show(parent.getFragmentManager(), TAG_CYCLE_EDITOR); in show() [all …]
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
D | TrampolineActivity.java | 117 final PausedDialogFragment dialog = new PausedDialogFragment(); in show() local 120 dialog.setArguments(args); in show() 121 dialog.show(fm, TAG_PAUSED); in show() 144 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 153 public void onDismiss(DialogInterface dialog) { in onDismiss() argument 154 super.onDismiss(dialog); in onDismiss() 161 final FailedDialogFragment dialog = new FailedDialogFragment(); in show() local 165 dialog.setArguments(args); in show() 166 dialog.show(fm, TAG_FAILED); in show() 205 public void onClick(DialogInterface dialog, int which) { 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/Calendar/src/com/android/calendar/ |
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 …]
|
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()
|
/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/apps/Settings/src/com/android/settings/bluetooth/ |
D | Utils.java | 59 AlertDialog dialog, in showDisconnectDialog() argument 62 if (dialog == null) { in showDisconnectDialog() 63 dialog = new AlertDialog.Builder(context) in showDisconnectDialog() 68 if (dialog.isShowing()) { in showDisconnectDialog() 69 dialog.dismiss(); in showDisconnectDialog() 73 dialog.setButton(DialogInterface.BUTTON_POSITIVE, in showDisconnectDialog() 76 dialog.setTitle(title); in showDisconnectDialog() 77 dialog.setMessage(message); in showDisconnectDialog() 78 dialog.show(); in showDisconnectDialog() 79 return dialog; in showDisconnectDialog()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ErrorDialogActivity.java | 68 public void onClick(DialogInterface dialog, int which) { in showGenericErrorDialog() 75 public void onCancel(DialogInterface dialog) { in showGenericErrorDialog() 93 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 99 public void onClick(DialogInterface dialog, int which) { in showMissingVoicemailErrorDialog() 100 addVoiceMailNumberPanel(dialog); in showMissingVoicemailErrorDialog() 104 public void onCancel(DialogInterface dialog) { in showMissingVoicemailErrorDialog() 110 private void addVoiceMailNumberPanel(DialogInterface dialog) { in addVoiceMailNumberPanel() argument 111 if (dialog != null) { in addVoiceMailNumberPanel() 112 dialog.dismiss(); in addVoiceMailNumberPanel()
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | VoicemailDialogUtil.java | 90 AlertDialog dialog = b.create(); in getDialog() local 93 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in getDialog() 95 return dialog; in getDialog() 98 ProgressDialog dialog = new ProgressDialog(parent); in getDialog() local 99 dialog.setTitle(parent.getText(R.string.call_settings)); in getDialog() 100 dialog.setIndeterminate(true); in getDialog() 101 dialog.setCancelable(false); in getDialog() 102 dialog.setMessage(parent.getText( in getDialog() 106 return dialog; in getDialog()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/debug/ |
D | ExternalDictionaryGetterForDebug.java | 77 public void onClick(final DialogInterface dialog, final int which) { in showNoFileDialog() 78 dialog.dismiss(); in showNoFileDialog() 88 public void onClick(final DialogInterface dialog, final int which) { in showChooseFileDialog() 119 public void onClick(final DialogInterface dialog, final int which) { in askInstallFile() 120 dialog.dismiss(); in askInstallFile() 127 public void onClick(final DialogInterface dialog, final int which) { in askInstallFile() 129 dialog.dismiss(); in askInstallFile() 136 public void onCancel(DialogInterface dialog) { in askInstallFile() 175 public void onClick(final DialogInterface dialog, final int which) { in installFile() 176 dialog.dismiss(); in installFile()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | AttachmentActionHandler.java | 180 final AttachmentProgressDialogFragment dialog = (AttachmentProgressDialogFragment) in updateStatus() local 182 if (dialog != null && dialog.isShowingDialogForAttachment(mAttachment)) { in updateStatus() 183 dialog.setProgress(mAttachment.downloadedSize); in updateStatus() 187 final boolean indeterminate = !showProgress && dialog.isIndeterminate(); in updateStatus() 188 dialog.setIndeterminate(indeterminate); in updateStatus() 194 dialog.dismiss(); in updateStatus() 211 final Fragment dialog = mFragmentManager.findFragmentByTag(PROGRESS_FRAGMENT_TAG); in isProgressDialogVisible() local 212 return dialog != null && dialog.isVisible(); in isProgressDialogVisible()
|
/packages/apps/Email/provider_src/com/android/email/activity/setup/ |
D | AccountSecurity.java | 322 PasswordExpirationDialog dialog = in completeCreate() local 328 dialog.show(fm, "password_expiration"); in completeCreate() 339 SecurityNeededDialog dialog = in completeCreate() local 344 dialog.show(fm, "security_needed"); in completeCreate() 515 final SecurityNeededDialog dialog = new SecurityNeededDialog(); in newInstance() local 518 dialog.setArguments(b); in newInstance() 519 return dialog; in newInstance() 541 public void onClick(DialogInterface dialog, int which) { in onClick() argument 581 final PasswordExpirationDialog dialog = new PasswordExpirationDialog(); in newInstance() local 585 dialog.setArguments(b); in newInstance() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | PostCharDialogFragment.java | 53 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 59 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 60 dialog.cancel(); in onCreateDialog() 64 final AlertDialog dialog = builder.create(); in onCreateDialog() local 65 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreateDialog() 66 return dialog; in onCreateDialog() 70 public void onCancel(DialogInterface dialog) { in onCancel() argument 71 super.onCancel(dialog); in onCancel()
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstaller.java | 164 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 165 dialog.setMessage(getString(R.string.extracting_pkcs12)); in onCreateDialog() 166 dialog.setIndeterminate(true); in onCreateDialog() 167 dialog.setCancelable(false); in onCreateDialog() 168 return dialog; in onCreateDialog() 341 public void onClick(DialogInterface dialog, int id) { in createPkcs12PasswordDialog() 348 public void onClick(DialogInterface dialog, int id) { in createPkcs12PasswordDialog() 354 @Override public void onCancel(DialogInterface dialog) { in createPkcs12PasswordDialog() 401 public void onClick(DialogInterface dialog, int id) { in createNameCredentialDialog() 424 public void onClick(DialogInterface dialog, int id) { in createNameCredentialDialog() [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/inputmethod/ |
D | KeyboardLayoutDialogFragment.java | 99 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 106 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 139 public void onCancel(DialogInterface dialog) { in onCancel() argument 140 super.onCancel(dialog); in onCancel() 176 AlertDialog dialog = (AlertDialog)getDialog(); in onLoadFinished() local 177 if (dialog != null) { in onLoadFinished() 178 dialog.getListView().setItemChecked(data.current, true); in onLoadFinished() 208 AlertDialog dialog = (AlertDialog)getDialog(); in updateSwitchHintVisibility() local 209 if (dialog != null) { in updateSwitchHintVisibility() 210 View customPanel = dialog.findViewById(com.android.internal.R.id.customPanel); in updateSwitchHintVisibility()
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
D | WifiP2pSettings.java | 193 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 216 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 235 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 255 public void onClick(DialogInterface dialog, int which) { in onActivityCreated() 428 AlertDialog dialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() local 434 return dialog; in onCreateDialog() 441 AlertDialog dialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() local 447 return dialog; in onCreateDialog() 459 AlertDialog dialog = new AlertDialog.Builder(getActivity()) in onCreateDialog() local 465 return dialog; in onCreateDialog() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | IngestActivity.java | 508 ProgressDialog dialog = getProgressDialog(); in updateProgressDialog() local 510 dialog.setIndeterminate(indeterminate); in updateProgressDialog() 511 dialog.setProgressStyle(indeterminate ? ProgressDialog.STYLE_SPINNER in updateProgressDialog() 514 dialog.setTitle(mProgressState.title); in updateProgressDialog() 517 dialog.setMessage(mProgressState.message); in updateProgressDialog() 520 dialog.setProgress(mProgressState.current); in updateProgressDialog() 521 dialog.setMax(mProgressState.max); in updateProgressDialog() 523 if (!dialog.isShowing()) { in updateProgressDialog() 524 dialog.show(); in updateProgressDialog() 529 ProgressDialog dialog = getProgressDialog(); in makeProgressDialogIndeterminate() local [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetActivity.java | 44 import com.android.tv.settings.dialog.SettingsLayoutActivity; 45 import com.android.tv.settings.dialog.Layout; 46 import com.android.tv.settings.dialog.Layout.Header; 47 import com.android.tv.settings.dialog.Layout.Action; 48 import com.android.tv.settings.dialog.Layout.Status; 49 import com.android.tv.settings.dialog.Layout.Static; 50 import com.android.tv.settings.dialog.Layout.StringGetter; 51 import com.android.tv.settings.dialog.Layout.LayoutGetter; 52 import com.android.tv.settings.dialog.Layout.DrawableGetter; 370 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|