/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 79 private VpnDialog mDialog; field in VpnSettings 98 mDialog = new VpnDialog(getActivity(), this, profile, in onCreate() 129 mDialog = new VpnDialog( in onOptionsItemSelected() 131 mDialog.setOnDismissListener(this); in onOptionsItemSelected() 132 mDialog.show(); in onOptionsItemSelected() 146 if (mDialog != null) { in onSaveInstanceState() 147 VpnProfile profile = mDialog.getProfile(); in onSaveInstanceState() 150 savedState.putBoolean("VpnEditing", mDialog.isEditing()); in onSaveInstanceState() 198 if (mDialog != null) { in onResume() 199 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/Contacts/src/com/android/contacts/interactions/ |
D | ContactDeletionInteraction.java | 76 private AlertDialog mDialog; field in ContactDeletionInteraction 162 if (mDialog != null && mDialog.isShowing()) { in onDestroyView() 163 mDialog.setOnDismissListener(null); in onDestroyView() 164 mDialog.dismiss(); in onDestroyView() 165 mDialog = null; in onDestroyView() 202 if (mDialog != null) { in onStop() 203 mDialog.hide(); in onStop() 217 if (mDialog != null) { in onLoadFinished() 218 mDialog.dismiss(); in onLoadFinished() 219 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) 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/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/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/InCallUI/src/com/android/incallui/ |
D | InCallActivity.java | 53 private AlertDialog mDialog; field in InCallActivity 144 return mDialog != null; in hasPendingErrorDialog() 163 Log.i(this, "finish(). Dialog showing: " + (mDialog != null)); in finish() 454 if (mDialog != null) { in dismissPendingDialogs() 455 mDialog.dismiss(); in dismissPendingDialogs() 456 mDialog = null; in dismissPendingDialogs() 470 mDialog = new AlertDialog.Builder(this) in showErrorDialog() 484 mDialog.getWindow().addFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); in showErrorDialog() 485 mDialog.show(); in showErrorDialog() 507 mDialog = null; in onDialogDismissed()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | InputMethodAndSubtypeEnabler.java | 50 private AlertDialog mDialog = null; field in InputMethodAndSubtypeEnabler 166 if (mDialog == null) { in onPreferenceTreeClick() 167 mDialog = (new AlertDialog.Builder(getActivity())) in onPreferenceTreeClick() 191 if (mDialog.isShowing()) { in onPreferenceTreeClick() 192 mDialog.dismiss(); in onPreferenceTreeClick() 195 mDialog.setMessage(getResources().getString( in onPreferenceTreeClick() 198 mDialog.show(); in onPreferenceTreeClick() 211 if (mDialog != null) { in onDestroy() 212 mDialog.dismiss(); in onDestroy() 213 mDialog = null; in onDestroy()
|
D | SpellCheckersSettings.java | 41 private AlertDialog mDialog = null; field in SpellCheckersSettings 120 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog() 121 mDialog.dismiss(); in showSecurityWarnDialog() 123 mDialog = (new AlertDialog.Builder(getActivity())) in showSecurityWarnDialog() 141 mDialog.setMessage(getResources().getString(R.string.spellchecker_security_warning, in showSecurityWarnDialog() 144 mDialog.show(); in showSecurityWarnDialog()
|
D | InputMethodPreference.java | 61 private AlertDialog mDialog = null; field in InputMethodPreference 265 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog() 266 mDialog.dismiss(); in showSecurityWarnDialog() 268 mDialog = (new AlertDialog.Builder(mFragment.getActivity())) in showSecurityWarnDialog() 286 mDialog.setMessage(mFragment.getResources().getString(R.string.ime_security_warning, in showSecurityWarnDialog() 289 mDialog.show(); in showSecurityWarnDialog()
|
D | SingleSpellCheckerPreference.java | 49 private AlertDialog mDialog = null; field in SingleSpellCheckerPreference 133 if (mDialog != null && mDialog.isShowing()) { in onSubtypeButtonClicked() 134 mDialog.dismiss(); in onSubtypeButtonClicked() 176 mDialog = builder.create(); in onSubtypeButtonClicked() 177 mDialog.show(); in onSubtypeButtonClicked()
|
/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/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 | WifiSettings.java | 140 private WifiDialog mDialog; field in WifiSettings 495 if (mDialog != null && mDialog.isShowing()) { in onSaveInstanceState() 625 if (mDialog != null) { in showDialog() 627 mDialog = null; in showDialog() 653 mDialog = new WifiDialog(getActivity(), this, ap, mDlgEdit); in onCreateDialog() 654 return mDialog; in onCreateDialog() 983 if (mDialog != null) { 984 submit(mDialog.getController());
|
/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/src/com/android/email/provider/ |
D | FolderPickerDialog.java | 45 private final AlertDialog mDialog; field in FolderPickerDialog 73 mDialog = builder.create(); in FolderPickerDialog() 77 mDialog.show(); in show() 78 mDialog.getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() { in show() 88 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in show() 123 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in update() 153 mDialog.getListView().setItemChecked(which, false); in onClick()
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
D | LiveWallpaperPreview.java | 58 private Dialog mDialog; field in LiveWallpaperPreview 163 mDialog = new Dialog(this, android.R.style.Theme_Black); in showLoading() 165 Window window = mDialog.getWindow(); in showLoading() 172 mDialog.setContentView(content, new ViewGroup.LayoutParams( in showLoading() 175 mDialog.show(); in showLoading() 182 if (mDialog != null) mDialog.dismiss(); in onDetachedFromWindow()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderSelectionDialog.java | 43 protected AlertDialog mDialog; field in FolderSelectionDialog 108 mDialog.show(); in showInternal() 109 mDialog.setOnDismissListener(this); in showInternal() 110 mDialog.getListView().setOnItemClickListener(new AdapterView.OnItemClickListener() { in showInternal() 144 mDialog = mBuilder.create(); in onPostExecute()
|
/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/ |
D | TetherSettings.java | 92 private WifiApDialog mDialog; field in TetherSettings 206 mDialog = new WifiApDialog(activity, this, mWifiConfig); in onCreateDialog() 207 return mDialog; in onCreateDialog() 570 mWifiConfig = mDialog.getConfig(); in onClick()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ClassZeroActivity.java | 73 private AlertDialog mDialog = null; field in ClassZeroActivity 83 mDialog.dismiss(); 164 mDialog = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_DARK).setMessage(message) in displayZeroMessage()
|