Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 114) sorted by relevance

12345

/packages/apps/Phone/src/com/android/phone/
DTimeConsumingPreferenceActivity.java38 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
39 dialog.setTitle(getText(R.string.updating_title)); in onCreateDialog()
40 dialog.setIndeterminate(true); in onCreateDialog()
44 dialog.setCancelable(true); in onCreateDialog()
45 dialog.setOnCancelListener(this); in onCreateDialog()
46 dialog.setMessage(getText(R.string.reading_settings)); in onCreateDialog()
47 return dialog; in onCreateDialog()
49 dialog.setCancelable(false); in onCreateDialog()
50 dialog.setMessage(getText(R.string.updating_settings)); in onCreateDialog()
51 return dialog; in onCreateDialog()
[all …]
DNetworkSetting.java193 public void onCancel(DialogInterface dialog) { in onCancel() argument
251 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
259 dialog.setMessage(mNetworkSelectMsg); in onCreateDialog()
260 dialog.setCancelable(false); in onCreateDialog()
261 dialog.setIndeterminate(true); in onCreateDialog()
264 dialog.setMessage(getResources().getString(R.string.register_automatically)); in onCreateDialog()
265 dialog.setCancelable(false); in onCreateDialog()
266 dialog.setIndeterminate(true); in onCreateDialog()
271 dialog.setMessage(getResources().getString(R.string.load_networks_progress)); in onCreateDialog()
272 dialog.setCancelable(true); in onCreateDialog()
[all …]
DEmergencyCallHandler.java69 public ProgressDialog dialog; field in EmergencyCallHandler.EmergencyCallInfo
89 eci.dialog.dismiss(); in handleMessage()
98 eci.dialog.dismiss(); in handleMessage()
117 eci.dialog = constructDialog(retryCount); in onCreate()
DEditPinPreference.java66 View dialog = super.onCreateDialogView(); in onCreateDialogView() local
74 return dialog; in onCreateDialogView()
DEmergencyDialer.java563 AlertDialog dialog = null; in onCreateDialog() local
566 dialog = new AlertDialog.Builder(this) in onCreateDialog()
573 dialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND); in onCreateDialog()
575 return dialog; in onCreateDialog()
579 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
580 super.onPrepareDialog(id, dialog); in onPrepareDialog()
582 AlertDialog alert = (AlertDialog) dialog; in onPrepareDialog()
DEmergencyCallbackModeExitDialog.java214 public void onClick(DialogInterface dialog,int whichButton) { in onCreateDialog()
225 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
242 public void onClick(DialogInterface dialog, int whichButton) { in onCreateDialog()
287 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java264 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
265 if (dialog == mDialog) { in onDismiss()
382 AccessPointDialog dialog = new AccessPointDialog(this, mWifiLayer); in showAddOtherNetworkDialog() local
383 dialog.setState(new AccessPointState(this)); in showAddOtherNetworkDialog()
384 dialog.setMode(AccessPointDialog.MODE_CONFIGURE); in showAddOtherNetworkDialog()
385 dialog.setTitle(R.string.wifi_add_other_network); in showAddOtherNetworkDialog()
386 dialog.setAutoSecurityAllowed(false); in showAddOtherNetworkDialog()
388 showDialog(dialog); in showAddOtherNetworkDialog()
398 AccessPointDialog dialog = new AccessPointDialog(this, mWifiLayer); in showAccessPointDialog() local
399 dialog.setMode(mode); in showAccessPointDialog()
[all …]
/packages/apps/Settings/src/com/android/settings/
DEditPinPreference.java65 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()
DSecuritySettings.java446 public void onClick(DialogInterface dialog, int button) { in onClick() argument
453 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
456 if (!checkPassword((Dialog) dialog)) { in onDismiss()
470 private boolean checkPassword(Dialog dialog) { in checkPassword() argument
471 String oldPassword = getText(dialog, R.id.old_password); in checkPassword()
472 String newPassword = getText(dialog, R.id.new_password); in checkPassword()
473 String confirmPassword = getText(dialog, R.id.confirm_password); in checkPassword()
476 showError(dialog, R.string.credentials_password_empty); in checkPassword()
479 return !checkError(dialog, unlock(oldPassword)); in checkPassword()
481 showError(dialog, R.string.credentials_passwords_empty); in checkPassword()
[all …]
DAccessibilitySettings.java167 AlertDialog dialog = (new AlertDialog.Builder(this)) in handleEnableAccessibilityStateChange() local
174 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityStateChange()
182 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityStateChange()
187 dialog.show(); in handleEnableAccessibilityStateChange()
199 AlertDialog dialog = (new AlertDialog.Builder(this)) in handleEnableAccessibilityServiceStateChange() local
208 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityServiceStateChange()
215 public void onClick(DialogInterface dialog, int which) { in handleEnableAccessibilityServiceStateChange()
220 dialog.show(); in handleEnableAccessibilityServiceStateChange()
DUserDictionarySettings.java208 AlertDialog dialog = new AlertDialog.Builder(this) in onCreateDialog() local
214 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
219 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
223 dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE | in onCreateDialog()
225 return dialog; in onCreateDialog()
230 AlertDialog dialog = (AlertDialog) d; in onPrepareDialog() local
234 EditText editText = (EditText) dialog.findViewById(R.id.edittext); in onPrepareDialog()
DApnSettings.java331 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/
DEditResponseHelper.java51 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()
DDeleteEventHelper.java108 public void onClick(DialogInterface dialog, int button) {
123 public void onClick(DialogInterface dialog, int button) {
138 public void onClick(DialogInterface dialog, int button) {
228 AlertDialog dialog = new AlertDialog.Builder(mParent) in delete() local
235 mAlertDialog = dialog; in delete()
240 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in delete()
DSelectCalendarsActivity.java155 public void onClick(DialogInterface dialog, int position, boolean isChecked) { in onClick() argument
170 public void onClick(DialogInterface dialog, int which) { in onClick() argument
239 AlertDialog dialog = builder.setMultiChoiceItems(calendarNames, null, this) in onMenuItemClick() local
242 dialog.show(); in onMenuItemClick()
243 mOkButtonInAddDeleteCalendar = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in onMenuItemClick()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java149 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
154 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
166 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
171 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
183 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
198 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
206 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
221 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
323 public void onCancel(DialogInterface dialog) {
DUninstallerActivity.java66 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
82 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
153 public void onCancel(DialogInterface dialog) {
/packages/apps/Settings/src/com/android/settings/vpn/
DVpnProfileActor.java45 String validateInputs(Dialog dialog); in validateInputs() argument
51 void connect(Dialog dialog); in connect() argument
DVpnSettings.java223 public void onCancel(DialogInterface dialog) { in createConnectDialog()
282 public void onClick(DialogInterface dialog, int w) {
293 public void onClick(DialogInterface dialog, int w) {
307 public void onClick(DialogInterface dialog, int w) {
313 public void onClick(DialogInterface dialog, int w) {
318 public void onCancel(DialogInterface dialog) {
399 public void onClick(DialogInterface dialog, int w) {
430 public void onClick(DialogInterface dialog, int w) {
442 public synchronized void onClick(DialogInterface dialog, int which) {
444 Dialog d = (Dialog) dialog;
[all …]
/packages/apps/Contacts/src/com/android/contacts/
DExportVCardActivity.java68 public void onClick(DialogInterface dialog, int which) { in onClick() argument
71 public void onCancel(DialogInterface dialog) { in onCancel() argument
102 public void onClick(DialogInterface dialog, int which) { in onClick() argument
215 public void onCancel(DialogInterface dialog) { in onCancel() argument
311 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
313 ((AlertDialog)dialog).setMessage(getErrorReason()); in onPrepareDialog()
315 ((AlertDialog)dialog).setMessage( in onPrepareDialog()
318 super.onPrepareDialog(id, dialog); in onPrepareDialog()
DPhoneDisambigDialog.java98 public void onClick(DialogInterface dialog, int which) { in onClick() argument
117 dialog.dismiss(); in onClick()
125 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceDialerActivity.java414 public void onClick(DialogInterface dialog, int which) { in onRecognitionSuccess()
417 dialog.dismiss(); in onRecognitionSuccess()
426 public void onCancel(DialogInterface dialog) { in onRecognitionSuccess()
428 dialog.dismiss(); in onRecognitionSuccess()
437 public void onClick(DialogInterface dialog, int which) { in onRecognitionSuccess()
441 dialog.dismiss(); in onRecognitionSuccess()
450 public void onClick(DialogInterface dialog, int which) { in onRecognitionSuccess()
452 dialog.dismiss(); in onRecognitionSuccess()
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountSelectionUtil.java64 public void onClick(DialogInterface dialog, int which) { in onClick() argument
65 dialog.dismiss(); in onClick()
69 public void onCancel(DialogInterface dialog) { in onCancel() argument
70 dialog.dismiss(); in onCancel()
/packages/apps/Contacts/src/com/android/contacts/ui/
DEditContactActivity.java244 for (Dialog dialog : mManagedDialogs) { in onDestroy()
245 if (dialog.isShowing()) { in onDestroy()
246 dialog.dismiss(); in onDestroy()
296 private void startManagingDialog(Dialog dialog) { in startManagingDialog() argument
298 mManagedDialogs.add(dialog); in startManagingDialog()
305 void showAndManageDialog(Dialog dialog) { in showAndManageDialog() argument
306 startManagingDialog(dialog); in showAndManageDialog()
307 dialog.show(); in showAndManageDialog()
433 public void onClick(DialogInterface dialog, int which) { in onClick() argument
434 dialog.dismiss(); in onClick()
[all …]
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java140 ProgressDialog dialog = new ProgressDialog(this); in onCreateDialog() local
141 dialog.setMessage(getString(R.string.extracting_pkcs12)); in onCreateDialog()
142 dialog.setIndeterminate(true); in onCreateDialog()
143 dialog.setCancelable(false); in onCreateDialog()
144 return dialog; in onCreateDialog()
289 public void onCancel(DialogInterface dialog) { in onCancel() argument
299 public void onClick(DialogInterface dialog, int which) { in createPkcs12PasswordDialog()
301 onCancel(dialog); in createPkcs12PasswordDialog()
318 public void onDismiss(DialogInterface dialog) { in createPkcs12PasswordDialog()
394 public void onClick(DialogInterface dialog, int which) { in createNameCredentialDialog()
[all …]

12345