/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 84 private VpnDialog mDialog; field in VpnSettings 114 mDialog = new VpnDialog(getActivity(), this, profile, in onCreate() 145 mDialog = new VpnDialog( in onOptionsItemSelected() 147 mDialog.setOnDismissListener(this); in onOptionsItemSelected() 148 mDialog.show(); in onOptionsItemSelected() 162 if (mDialog != null) { in onSaveInstanceState() 163 VpnProfile profile = mDialog.getProfile(); in onSaveInstanceState() 166 savedState.putBoolean("VpnEditing", mDialog.isEditing()); in onSaveInstanceState() 223 if (mDialog != null) { in onResume() 224 mDialog.setOnDismissListener(this); in onResume() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | AttachmentProgressDialogFragment.java | 37 private ProgressDialog mDialog; field in AttachmentProgressDialogFragment 68 mDialog = new ProgressDialog(getActivity()); in onCreateDialog() 69 mDialog.setTitle(R.string.fetching_attachment); in onCreateDialog() 70 mDialog.setMessage(mAttachment.getName()); in onCreateDialog() 71 mDialog.setProgressStyle(ProgressDialog.STYLE_HORIZONTAL); in onCreateDialog() 72 mDialog.setIndeterminate(true); in onCreateDialog() 73 mDialog.setMax(mAttachment.size); in onCreateDialog() 74 mDialog.setProgressNumberFormat(null); in onCreateDialog() 76 return mDialog; in onCreateDialog() 81 mDialog = null; in onDismiss() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoUI.java | 66 private Dialog mDialog = null; field in PhotoUI 92 mDialog = null; 376 showAspectRatioDialog(aspectRatioDialogCallback, mDialog); in showLocationAndAspectRatioDialog() 381 if (mDialog != null) { in showLocationAndAspectRatioDialog() 382 mDialog.dismiss(); in showLocationAndAspectRatioDialog() 387 mDialog.setContentView(locationDialogLayout, new ViewGroup.LayoutParams( in showLocationAndAspectRatioDialog() 389 mDialog.show(); in showLocationAndAspectRatioDialog() 398 if (mDialog != null) { in setDialog() 399 mDialog.setOnDismissListener(null); in setDialog() 400 mDialog.dismiss(); in setDialog() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
D | ContactDeletionInteraction.java | 77 private AlertDialog mDialog; field in ContactDeletionInteraction 163 if (mDialog != null && mDialog.isShowing()) { in onDestroyView() 164 mDialog.setOnDismissListener(null); in onDestroyView() 165 mDialog.dismiss(); in onDestroyView() 166 mDialog = null; in onDestroyView() 203 if (mDialog != null) { in onStop() 204 mDialog.hide(); in onStop() 218 if (mDialog != null) { in onLoadFinished() 219 mDialog.dismiss(); in onLoadFinished() 220 mDialog = null; in onLoadFinished() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | MenuExecutor.java | 60 private ProgressDialog mDialog; field in MenuExecutor 116 if (mDialog != null && !mPaused) mDialog.setProgress(message.arg1); in MenuExecutor() 135 if (mDialog != null && mDialog.isShowing()) mDialog.dismiss(); in stopTaskAndDismissDialog() 136 mDialog = null; in stopTaskAndDismissDialog() 143 if (mDialog != null) mDialog.show(); in resume() 148 if (mDialog != null && mDialog.isShowing()) mDialog.hide(); in pause() 340 mDialog = createProgressDialog(activity, title, ids.size()); in startAction() 341 mDialog.show(); in startAction() 343 mDialog = null; in startAction() 353 mDialog = null; in startSingleItemAction()
|
D | DialogDetailsView.java | 56 private Dialog mDialog; field in DialogDetailsView 67 mDialog.show(); in show() 72 mDialog.hide(); in hide() 96 mDialog = new AlertDialog.Builder(mActivity) in setDetails() 102 mDialog.dismiss(); in setDetails() 107 mDialog.setOnDismissListener(new OnDismissListener() { in setDetails()
|
/packages/services/Telephony/src/com/android/phone/ |
D | HfaActivity.java | 40 private AlertDialog mDialog; field in HfaActivity 72 if (mDialog != null && mDialog.isShowing()) { in onDestroy() 73 mDialog.dismiss(); in onDestroy() 74 mDialog = null; in onDestroy() 84 mDialog = new AlertDialog.Builder(this, AlertDialog.THEME_DEVICE_DEFAULT_LIGHT) in buildAndShowDialog() 101 mDialog.setCanceledOnTouchOutside(false); in buildAndShowDialog() 102 mDialog.setCancelable(false); in buildAndShowDialog() 105 mDialog.show(); in buildAndShowDialog() 109 mDialog.dismiss(); in onHfaError()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | SpellCheckersSettings.java | 51 private AlertDialog mDialog = null; field in SpellCheckersSettings 162 if (mDialog != null && mDialog.isShowing()) { in showChooseLanguageDialog() 163 mDialog.dismiss(); in showChooseLanguageDialog() 201 mDialog = builder.create(); in showChooseLanguageDialog() 202 mDialog.show(); in showChooseLanguageDialog() 206 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog() 207 mDialog.dismiss(); in showSecurityWarnDialog() 225 mDialog = builder.create(); in showSecurityWarnDialog() 226 mDialog.show(); in showSecurityWarnDialog()
|
D | InputMethodPreference.java | 73 private AlertDialog mDialog = null; field in InputMethodPreference 213 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog() 214 mDialog.dismiss(); in showSecurityWarnDialog() 241 mDialog = builder.create(); in showSecurityWarnDialog() 242 mDialog.show(); in showSecurityWarnDialog()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | DockService.java | 112 private AlertDialog mDialog; field in DockService 154 if (mDialog != null) { in onDestroy() 155 mDialog.dismiss(); in onDestroy() 156 mDialog = null; in onDestroy() 295 if (mDialog == null && mPendingDevice == null && msgType != MSG_TYPE_UNDOCKED_TEMPORARY in processMessage() 482 if (mDialog != null) { in createDialog() 484 mDialog.dismiss(); in createDialog() 485 mDialog = null; in createDialog() 554 mDialog = ab.create(); in createDialog() 555 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in createDialog() [all …]
|
D | RequestPermissionActivity.java | 72 private AlertDialog mDialog; field in RequestPermissionActivity 172 mDialog = builder.create(); in createDialog() 173 mDialog.show(); in createDialog() 244 if (mDialog != null) { in proceedAndFinish() 245 mDialog.dismiss(); in proceedAndFinish()
|
/packages/apps/Browser/src/com/android/browser/ |
D | HttpAuthenticationDialog.java | 39 private AlertDialog mDialog; field in HttpAuthenticationDialog 83 mDialog.show(); in show() 93 int focusId = mDialog.getCurrentFocus().getId(); in reshow() 94 mDialog.dismiss(); in reshow() 96 mDialog.show(); in reshow() 104 mDialog.findViewById(focusId).requestFocus(); in reshow() 119 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in createDialog() 129 mDialog = new AlertDialog.Builder(mContext) in createDialog() 150 mDialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE); in createDialog()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | CandidatesViewManager.java | 71 protected Dialog mDialog = null; field in CandidatesViewManager 166 mDialog = new Dialog(view.getContext(), R.style.Dialog); in displayDialog() 171 mDialog.setContentView(mViewLongPressDialog); in displayDialog() 172 ((CandidateTextView) view).displayCandidateDialog(mDialog); in displayDialog() 181 if (null != mDialog) { in closeDialog() 182 mDialog.dismiss(); in closeDialog() 183 mDialog = null; in closeDialog()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | InCallActivity.java | 79 private AlertDialog mDialog; field in InCallActivity 265 return mDialog != null; in hasPendingErrorDialog() 285 Log.i(this, "finish(). Dialog showing: " + (mDialog != null)); in finish() 724 if (mDialog != null) { in dismissPendingDialogs() 725 mDialog.dismiss(); in dismissPendingDialogs() 726 mDialog = null; in dismissPendingDialogs() 739 mDialog = new AlertDialog.Builder(this) in showErrorDialog() 753 mDialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in showErrorDialog() 754 mDialog.show(); in showErrorDialog() 758 mDialog = null; in onDialogDismissed()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiScanModeActivity.java | 38 private DialogFragment mDialog; field in WifiScanModeActivity 66 if (mDialog == null) { in createDialog() 67 mDialog = AlertDialogFragment.newInstance(mApp); in createDialog() 68 mDialog.show(getFragmentManager(), "dialog"); in createDialog() 73 if (mDialog != null) { in dismissDialog() 74 mDialog.dismiss(); in dismissDialog() 75 mDialog = null; in dismissDialog()
|
D | SavedAccessPointsWifiSettings.java | 53 private WifiDialog mDialog; field in SavedAccessPointsWifiSettings 155 if (mDialog != null) { in showDialog() 157 mDialog = null; in showDialog() 176 mDialog = new WifiDialog(getActivity(), this, mDlgAccessPoint, in onCreateDialog() 178 return mDialog; in onCreateDialog() 189 if (mDialog != null && mDialog.isShowing()) { in onSaveInstanceState()
|
D | WifiSettings.java | 130 private WifiDialog mDialog; field in WifiSettings 424 if (mDialog != null && mDialog.isShowing()) { in onSaveInstanceState() 591 if (mDialog != null) { in showDialog() 593 mDialog = null; in showDialog() 619 mDialog = new WifiDialog(getActivity(), this, ap, mDlgEdit); in onCreateDialog() 620 return mDialog; in onCreateDialog() 869 if (mDialog != null) { in onClick() 870 submit(mDialog.getController()); in onClick()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | SizeLimitActivity.java | 41 private Dialog mDialog; field in SizeLimitActivity 61 if (mDialog != null && !mDialog.isShowing()) { in onResume() 62 mDialog.show(); in onResume() 67 if (mDialog != null) { in showNextDialog() 110 mDialog = builder.setOnCancelListener(this).show(); in showDialog() 119 mDialog = null; in dialogClosed()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | FolderPickerDialog.java | 45 private final AlertDialog mDialog; field in FolderPickerDialog 71 mDialog = builder.create(); in FolderPickerDialog() 75 mDialog.show(); in show() 76 mDialog.getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() { in show() 86 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in show() 121 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in update() 151 mDialog.getListView().setItemChecked(which, false); in onClick()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 59 private Dialog mDialog; field in LiveWallpaperPreview 164 mDialog = new Dialog(this, android.R.style.Theme_Black); in showLoading() 166 Window window = mDialog.getWindow(); in showLoading() 173 mDialog.setContentView(content, new ViewGroup.LayoutParams( in showLoading() 176 mDialog.show(); in showLoading() 183 if (mDialog != null) mDialog.dismiss(); in onDetachedFromWindow()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | EditQuickResponseDialog.java | 40 private AlertDialog mDialog; field in EditQuickResponseDialog 102 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(s.length() > 0); in onCreateDialog() 137 mDialog = b.create(); in onCreateDialog() 138 return mDialog; in onCreateDialog() 145 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); in onResume()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 367 private final ProgressDialog mDialog; field in Util.BackgroundJob 373 if (mDialog.getWindow() != null) mDialog.dismiss(); 380 mDialog = dialog; in BackgroundJob() 405 mDialog.hide(); in onActivityStopped() 410 mDialog.show(); in onActivityStarted()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSettings.java | 143 private AlertDialog mDialog; field in ZenModeSettings 525 if (mDialog != null) return; in showConditionSelection() 533 mDialog = null; in showConditionSelection() 539 mDialog = new AlertDialog.Builder(getActivity()) in showConditionSelection() 555 mDialog.show(); in showConditionSelection() 561 mDialog = null; in cancelDialog()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 322 private PinDialogFragment mDialog; 456 String pin = mDialog.getPinInput(); 458 mDialog.done(pin); 519 mDialog = dlg;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ClassZeroActivity.java | 72 private AlertDialog mDialog = null; field in ClassZeroActivity 82 mDialog.dismiss(); 163 mDialog = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_DARK).setMessage(message) in displayZeroMessage()
|