/packages/apps/Phone/src/com/android/phone/ |
D | TimeConsumingPreferenceActivity.java | 44 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 45 dialog.setTitle(getText(R.string.updating_title)); in onCreateDialog() 46 dialog.setIndeterminate(true); in onCreateDialog() 50 dialog.setCancelable(true); in onCreateDialog() 51 dialog.setOnCancelListener(this); in onCreateDialog() 52 dialog.setMessage(getText(R.string.reading_settings)); in onCreateDialog() 53 return dialog; in onCreateDialog() 55 dialog.setCancelable(false); in onCreateDialog() 56 dialog.setMessage(getText(R.string.updating_settings)); in onCreateDialog() 57 return dialog; in onCreateDialog() [all …]
|
D | SipCallOptionHandler.java | 185 for (Dialog dialog : mDialogs) { in onPause() 186 if (dialog != null) dialog.dismiss(); in onPause() 192 Dialog dialog; in onCreateDialog() local 195 dialog = new AlertDialog.Builder(this) in onCreateDialog() 204 dialog = new AlertDialog.Builder(this) in onCreateDialog() 211 addMakeDefaultCheckBox(dialog); in onCreateDialog() 214 dialog = new AlertDialog.Builder(this) in onCreateDialog() 225 dialog = new AlertDialog.Builder(this) in onCreateDialog() 236 dialog = new AlertDialog.Builder(this) in onCreateDialog() 244 dialog = null; in onCreateDialog() [all …]
|
D | NetworkSetting.java | 198 public void onCancel(DialogInterface dialog) { in onCancel() argument 268 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 276 dialog.setMessage(mNetworkSelectMsg); in onCreateDialog() 277 dialog.setCancelable(false); in onCreateDialog() 278 dialog.setIndeterminate(true); in onCreateDialog() 281 dialog.setMessage(getResources().getString(R.string.register_automatically)); in onCreateDialog() 282 dialog.setCancelable(false); in onCreateDialog() 283 dialog.setIndeterminate(true); in onCreateDialog() 288 dialog.setMessage(getResources().getString(R.string.load_networks_progress)); in onCreateDialog() 289 dialog.setCancelable(true); in onCreateDialog() [all …]
|
D | EmergencyCallHandler.java | 74 public ProgressDialog dialog; field in EmergencyCallHandler.EmergencyCallInfo 94 eci.dialog.dismiss(); in handleMessage() 106 eci.dialog.dismiss(); in handleMessage() 143 eci.dialog = constructDialog(retryCount); in onCreate()
|
D | EmergencyDialer.java | 569 AlertDialog dialog = null; in onCreateDialog() local 572 dialog = new AlertDialog.Builder(this) in onCreateDialog() 579 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreateDialog() 581 return dialog; in onCreateDialog() 585 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument 586 super.onPrepareDialog(id, dialog); in onPrepareDialog() 588 AlertDialog alert = (AlertDialog) dialog; in onPrepareDialog()
|
/packages/apps/Settings/src/com/android/settings/ |
D | EditPinPreference.java | 65 Dialog dialog = getDialog(); in isDialogOpen() local 66 return dialog != null && dialog.isShowing(); in isDialogOpen() 78 Dialog dialog = getDialog(); in showPinDialog() local 79 if (dialog == null || !dialog.isShowing()) { in showPinDialog()
|
D | SecuritySettings.java | 416 public void onClick(DialogInterface dialog, int button) { in onClick() argument 440 public void onDismiss(DialogInterface dialog) { in onDismiss() argument 443 if (!checkPassword((Dialog) dialog)) { in onDismiss() 444 ((Dialog) dialog).show(); in onDismiss() 455 private boolean checkPassword(Dialog dialog) { in checkPassword() argument 456 String oldPassword = getText(dialog, R.id.old_password); in checkPassword() 457 String newPassword = getText(dialog, R.id.new_password); in checkPassword() 458 String confirmPassword = getText(dialog, R.id.confirm_password); in checkPassword() 461 showError(dialog, R.string.credentials_password_empty); in checkPassword() 464 return !checkError(dialog, unlock(oldPassword)); in checkPassword() [all …]
|
D | AccessibilitySettings.java | 217 AlertDialog dialog = (new AlertDialog.Builder(this)) in handleEnableAccessibilityStateChange() local 224 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityStateChange() 232 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityStateChange() 237 dialog.show(); in handleEnableAccessibilityStateChange() 249 AlertDialog dialog = (new AlertDialog.Builder(this)) in handleEnableAccessibilityServiceStateChange() local 258 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityServiceStateChange() 265 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityServiceStateChange() 270 dialog.show(); in handleEnableAccessibilityServiceStateChange() 347 public void onClick(DialogInterface dialog, int which) { in displayNoAppsAlert() 360 public void onClick(DialogInterface dialog, int which) { in displayNoAppsAlert()
|
D | UserDictionarySettings.java | 212 AlertDialog dialog = new AlertDialog.Builder(this) in onCreateDialog() local 218 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 223 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 227 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | in onCreateDialog() 229 return dialog; in onCreateDialog() 234 AlertDialog dialog = (AlertDialog) d; in onPrepareDialog() local 238 EditText editText = (EditText) dialog.findViewById(R.id.edittext); in onPrepareDialog()
|
D | ApnSettings.java | 331 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 332 dialog.setMessage(getResources().getString(R.string.restore_default_apn)); in onCreateDialog() 333 dialog.setCancelable(false); in onCreateDialog() 334 return dialog; in onCreateDialog() 340 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | EditResponseHelper.java | 51 public void onClick(DialogInterface dialog, int which) { in onClick() argument 59 public void onClick(DialogInterface dialog, int which) { 75 AlertDialog dialog = new AlertDialog.Builder(mParent) in showDialog() local 83 mAlertDialog = dialog; in showDialog() 88 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
|
D | DeleteEventHelper.java | 109 public void onClick(DialogInterface dialog, int button) { 124 public void onClick(DialogInterface dialog, int button) { 139 public void onClick(DialogInterface dialog, int button) { 229 AlertDialog dialog = new AlertDialog.Builder(mParent) in delete() local 236 mAlertDialog = dialog; in delete() 241 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in delete()
|
/packages/apps/Tag/src/com/android/apps/tag/ |
D | MyTagList.java | 258 SelectActiveTagDialog dialog = (mSelectActiveTagDialog == null) in onPostExecute() local 260 if (dialog != null) { in onPostExecute() 261 dialog.setData(cursor); in onPostExecute() 352 public void onClick(DialogInterface dialog, int which) { in onClick() 468 SelectActiveTagDialog dialog = new SelectActiveTagDialog(lightTheme, in onCreateDialog() local 470 dialog.setInverseBackgroundForced(true); in onCreateDialog() 471 mSelectActiveTagDialog = new WeakReference<SelectActiveTagDialog>(dialog); in onCreateDialog() 472 return dialog; in onCreateDialog() 476 AlertDialog dialog = new AlertDialog.Builder(lightTheme) in onCreateDialog() local 482 adapter.setListView(dialog.getListView()); in onCreateDialog() [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageInstallerActivity.java | 116 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 120 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 132 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 137 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 149 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 164 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 172 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 187 public void onClick(DialogInterface dialog, int which) { in onCreateDialog() 269 public void onCancel(DialogInterface dialog) {
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CertInstaller.java | 141 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local 142 dialog.setMessage(getString(R.string.extracting_pkcs12)); in onCreateDialog() 143 dialog.setIndeterminate(true); in onCreateDialog() 144 dialog.setCancelable(false); in onCreateDialog() 145 return dialog; in onCreateDialog() 153 protected void onPrepareDialog (int dialogId, Dialog dialog) { in onPrepareDialog() argument 154 super.onPrepareDialog(dialogId, dialog); in onPrepareDialog() 276 public void onClick(DialogInterface dialog, int which) { in onClick() argument 286 public void onDismiss(DialogInterface dialog) { in createPkcs12PasswordDialog() 327 public void onDismiss(DialogInterface dialog) { in createNameCredentialDialog()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiAPITest.java | 111 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick() 118 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick() 131 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick() 138 public void onClick(DialogInterface dialog, int whichButton) { in onPreferenceClick()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertDialog.java | 102 public void onCancel(DialogInterface dialog) { in CellBroadcastAlertDialog() 103 dialog.dismiss(); in CellBroadcastAlertDialog() 108 public void onClick(DialogInterface dialog, int whichButton) { in CellBroadcastAlertDialog() 109 dialog.dismiss(); in CellBroadcastAlertDialog()
|
D | CellBroadcastListActivity.java | 187 CellBroadcastAlertDialog dialog = new CellBroadcastAlertDialog(this, in showDialogAndMarkRead() local 190 dialog.show(); in showDialogAndMarkRead() 235 public void onClick(DialogInterface dialog, int whichButton) { in onClick() argument 250 dialog.dismiss(); in onClick() 273 CellBroadcastAlertDialog dialog = new CellBroadcastAlertDialog(this, in parseIntent() local 276 dialog.show(); in parseIntent()
|
/packages/apps/Settings/src/com/android/settings/vpn/ |
D | VpnProfileActor.java | 45 String validateInputs(Dialog dialog); in validateInputs() argument 51 void connect(Dialog dialog); in connect() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | LatinIMESettings.java | 138 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog() 177 AlertDialog dialog = builder.create(); in onCreateDialog() local 178 dialog.setOnDismissListener(this); in onCreateDialog() 180 return dialog; in onCreateDialog() 187 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
|
/packages/apps/Contacts/src/com/android/contacts/ui/ |
D | ContactsPreferencesActivity.java | 250 public void onClick(DialogInterface dialog, int whichButton) { in createSortOrderDialog() 251 setSortOrder(dialog); in createSortOrderDialog() 252 dialog.dismiss(); in createSortOrderDialog() 268 public void onClick(DialogInterface dialog, int whichButton) { 269 setDisplayOrder(dialog); 270 dialog.dismiss(); 278 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) { 281 setCheckedItem(dialog, 285 setCheckedItem(dialog, 292 private void setCheckedItem(Dialog dialog, int position) { [all …]
|
D | EditContactActivity.java | 316 for (Dialog dialog : mManagedDialogs) { in onDestroy() 317 dismissDialog(dialog); in onDestroy() 366 private void startManagingDialog(Dialog dialog) { in startManagingDialog() argument 368 mManagedDialogs.add(dialog); in startManagingDialog() 375 void showAndManageDialog(Dialog dialog) { in showAndManageDialog() argument 376 startManagingDialog(dialog); in showAndManageDialog() 377 dialog.show(); in showAndManageDialog() 383 static void dismissDialog(Dialog dialog) { in dismissDialog() argument 386 if (dialog != null && dialog.isShowing()) { in dismissDialog() 387 dialog.dismiss(); in dismissDialog() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ExportVCardActivity.java | 77 public void onClick(DialogInterface dialog, int which) { in onClick() argument 80 public void onCancel(DialogInterface dialog) { in onCancel() argument 111 public void onClick(DialogInterface dialog, int which) { in onClick() argument 222 public void onCancel(DialogInterface dialog) { in onCancel() argument 315 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument 317 ((AlertDialog)dialog).setMessage(getErrorReason()); in onPrepareDialog() 319 ((AlertDialog)dialog).setMessage( in onPrepareDialog() 322 super.onPrepareDialog(id, dialog); in onPrepareDialog()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | AccountSelectionUtil.java | 70 public void onClick(DialogInterface dialog, int which) { in onClick() argument 71 dialog.dismiss(); in onClick() 140 public void onCancel(DialogInterface dialog) { in getSelectAccountDialog() 141 dialog.dismiss(); in getSelectAccountDialog()
|
/packages/apps/Browser/src/com/android/browser/ |
D | Tab.java | 627 public void onClick(DialogInterface dialog, 637 public void onClick(DialogInterface dialog, 646 public void onCancel(DialogInterface dialog) { 747 public void onClick(DialogInterface dialog, 753 public void onClick(DialogInterface dialog, 760 public void onClick(DialogInterface dialog, 767 public void onCancel(DialogInterface dialog) { 848 private void createWindow(final boolean dialog, final Message msg) { 851 if (dialog) { 867 public boolean onCreateWindow(WebView view, final boolean dialog, [all …]
|