Home
last modified time | relevance | path

Searched refs:mDialog (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Browser/src/com/android/browser/
DHttpAuthenticationDialog.java39 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/vpn2/
DVpnSettings.java63 private VpnDialog mDialog; field in VpnSettings
81 mDialog = new VpnDialog(getActivity(), this, profile, in onCreate()
90 if (mDialog != null) { in onSaveInstanceState()
91 VpnProfile profile = mDialog.getProfile(); in onSaveInstanceState()
94 savedState.putBoolean("VpnEditing", mDialog.isEditing()); in onSaveInstanceState()
147 if (mDialog != null) { in onResume()
148 mDialog.setOnDismissListener(this); in onResume()
149 mDialog.show(); in onResume()
167 if (mDialog != null) { in onPause()
168 mDialog.setOnDismissListener(null); in onPause()
[all …]
/packages/apps/Contacts/src/com/android/contacts/interactions/
DContactDeletionInteraction.java77 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/providers/DownloadProvider/src/com/android/providers/downloads/
DSizeLimitActivity.java41 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/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java41 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()
DInputMethodAndSubtypeEnabler.java46 private AlertDialog mDialog = null; field in InputMethodAndSubtypeEnabler
155 if (mDialog == null) { in onPreferenceTreeClick()
156 mDialog = (new AlertDialog.Builder(getActivity())) in onPreferenceTreeClick()
180 if (mDialog.isShowing()) { in onPreferenceTreeClick()
181 mDialog.dismiss(); in onPreferenceTreeClick()
184 mDialog.setMessage(getResources().getString( in onPreferenceTreeClick()
187 mDialog.show(); in onPreferenceTreeClick()
200 if (mDialog != null) { in onDestroy()
201 mDialog.dismiss(); in onDestroy()
202 mDialog = null; in onDestroy()
DSingleSpellCheckerPreference.java47 private AlertDialog mDialog = null; field in SingleSpellCheckerPreference
131 if (mDialog != null && mDialog.isShowing()) { in onSubtypeButtonClicked()
132 mDialog.dismiss(); in onSubtypeButtonClicked()
174 mDialog = builder.create(); in onSubtypeButtonClicked()
175 mDialog.show(); in onSubtypeButtonClicked()
DInputMethodPreference.java56 private AlertDialog mDialog = null; field in InputMethodPreference
233 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
234 mDialog.dismiss(); in showSecurityWarnDialog()
236 mDialog = (new AlertDialog.Builder(mFragment.getActivity())) in showSecurityWarnDialog()
254 mDialog.setMessage(mFragment.getResources().getString(R.string.ime_security_warning, in showSecurityWarnDialog()
257 mDialog.show(); in showSecurityWarnDialog()
/packages/apps/Email/src/com/android/email/activity/setup/
DEditQuickResponseDialog.java43 private AlertDialog mDialog; field in EditQuickResponseDialog
93 mDialog = b.create(); in onCreateDialog()
94 return mDialog; in onCreateDialog()
100 mDialog.getWindow() in onResume()
103 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); in onResume()
110 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(s.length() > 0); in afterTextChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java54 private Dialog mDialog; field in DialogDetailsView
64 mDialog.show(); in show()
68 mDialog.hide(); in hide()
84 return mDialog.isShowing(); in isVisible()
95 mDialog = new AlertDialog.Builder((Activity) mContext) in setDetails()
100 mDialog.dismiss(); in setDetails()
105 mDialog.setOnDismissListener(new OnDismissListener() { in setDetails()
DMenuExecutor.java58 private ProgressDialog mDialog; field in MenuExecutor
102 if (mDialog != null) mDialog.setProgress(message.arg1); in MenuExecutor()
122 mDialog.dismiss(); in stopTaskAndDismissDialog()
123 mDialog = null; in stopTaskAndDismissDialog()
240 mDialog = showProgressDialog(activity, title, ids.size()); in startAction()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java58 private Dialog mDialog; field in LiveWallpaperPreview
159 mDialog = new Dialog(this, android.R.style.Theme_Black); in showLoading()
161 Window window = mDialog.getWindow(); in showLoading()
168 mDialog.setContentView(content, new ViewGroup.LayoutParams( in showLoading()
171 mDialog.show(); in showLoading()
178 if (mDialog != null) mDialog.dismiss(); in onDetachedFromWindow()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DDockService.java111 private AlertDialog mDialog; field in DockService
151 if (mDialog != null) { in onDestroy()
152 mDialog.dismiss(); in onDestroy()
153 mDialog = null; in onDestroy()
290 if (mDialog == null && mPendingDevice == null && msgType != MSG_TYPE_UNDOCKED_TEMPORARY in processMessage()
457 if (mDialog != null) { in createDialog()
459 mDialog.dismiss(); in createDialog()
460 mDialog = null; in createDialog()
507 mDialog = ab.create(); in createDialog()
508 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in createDialog()
[all …]
DRequestPermissionActivity.java72 private AlertDialog mDialog; field in RequestPermissionActivity
174 mDialog = builder.create(); in createDialog()
175 mDialog.show(); in createDialog()
237 if (mDialog != null) { in proceedAndFinish()
238 mDialog.dismiss(); in proceedAndFinish()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java367 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/wifi/
DWifiSettings.java118 private WifiDialog mDialog; field in WifiSettings
286 if (mDialog != null && mDialog.isShowing()) { in onSaveInstanceState()
410 if (mDialog != null) { in showDialog()
412 mDialog = null; in showDialog()
434 mDialog = new WifiDialog(getActivity(), this, ap, mDlgEdit); in onCreateDialog()
435 return mDialog; in onCreateDialog()
753 submit(mDialog.getController()); in onClick()
/packages/apps/Mms/src/com/android/mms/ui/
DClassZeroActivity.java72 private AlertDialog mDialog = null; field in ClassZeroActivity
80 mDialog.dismiss();
121 mDialog = new AlertDialog.Builder(this).setMessage(messageChars) in onCreate()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java96 private WifiApDialog mDialog; field in TetherSettings
238 mDialog = new WifiApDialog(activity, this, mWifiConfig); in onCreateDialog()
239 return mDialog; in onCreateDialog()
552 mWifiConfig = mDialog.getConfig(); in onClick()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSettings.java343 private AlertDialog mDialog; field in Settings
570 if (mDialog != null) { in showVoiceConfirmation()
571 TextView textView = (TextView) mDialog.findViewById(android.R.id.message); in showVoiceConfirmation()
622 mDialog = dialog; in onCreateDialog()