Home
last modified time | relevance | path

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

/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/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DCandidatesViewManager.java71 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/vpn2/
DVpnSettings.java64 private VpnDialog mDialog; field in VpnSettings
82 mDialog = new VpnDialog(getActivity(), this, profile, in onCreate()
91 if (mDialog != null) { in onSaveInstanceState()
92 VpnProfile profile = mDialog.getProfile(); in onSaveInstanceState()
95 savedState.putBoolean("VpnEditing", mDialog.isEditing()); in onSaveInstanceState()
148 if (mDialog != null) { in onResume()
149 mDialog.setOnDismissListener(this); in onResume()
150 mDialog.show(); in onResume()
168 if (mDialog != null) { in onPause()
169 mDialog.setOnDismissListener(null); in onPause()
[all …]
/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/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()
DInputMethodPreference.java58 private AlertDialog mDialog = null; field in InputMethodPreference
251 if (mDialog != null && mDialog.isShowing()) { in showSecurityWarnDialog()
252 mDialog.dismiss(); in showSecurityWarnDialog()
254 mDialog = (new AlertDialog.Builder(mFragment.getActivity())) in showSecurityWarnDialog()
272 mDialog.setMessage(mFragment.getResources().getString(R.string.ime_security_warning, in showSecurityWarnDialog()
275 mDialog.show(); in showSecurityWarnDialog()
DSingleSpellCheckerPreference.java49 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/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/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()
459 if (mDialog != null) { in createDialog()
461 mDialog.dismiss(); in createDialog()
462 mDialog = null; in createDialog()
511 mDialog = ab.create(); in createDialog()
512 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()
242 if (mDialog != null) { in proceedAndFinish()
243 mDialog.dismiss(); in proceedAndFinish()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperPreview.java58 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/Gallery2/src/com/android/gallery3d/ui/
DDialogDetailsView.java54 private Dialog mDialog; field in DialogDetailsView
64 mDialog.show(); in show()
68 mDialog.hide(); in hide()
91 mDialog = new AlertDialog.Builder((Activity) mContext) in setDetails()
96 mDialog.dismiss(); in setDetails()
101 mDialog.setOnDismissListener(new OnDismissListener() { in setDetails()
DMenuExecutor.java59 private ProgressDialog mDialog; field in MenuExecutor
106 if (mDialog != null) mDialog.setProgress(message.arg1); in MenuExecutor()
126 mDialog.dismiss(); in stopTaskAndDismissDialog()
127 mDialog = null; in stopTaskAndDismissDialog()
303 mDialog = createProgressDialog(activity, title, ids.size()); in startAction()
305 mDialog.show(); in startAction()
/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/Mms/src/com/android/mms/ui/
DClassZeroActivity.java71 private AlertDialog mDialog = null; field in ClassZeroActivity
79 mDialog.dismiss();
123 mDialog = new AlertDialog.Builder(this).setMessage(messageChars) in onCreate()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java135 private WifiDialog mDialog; field in WifiSettings
438 if (mDialog != null && mDialog.isShowing()) { in onSaveInstanceState()
567 if (mDialog != null) { in showDialog()
569 mDialog = null; in showDialog()
593 mDialog = new WifiDialog(getActivity(), this, ap, mDlgEdit); in onCreateDialog()
594 return mDialog; in onCreateDialog()
854 submit(mDialog.getController()); in onClick()
/packages/apps/Settings/src/com/android/settings/
DTetherSettings.java88 private WifiApDialog mDialog; field in TetherSettings
201 mDialog = new WifiApDialog(activity, this, mWifiConfig); in onCreateDialog()
202 return mDialog; in onCreateDialog()
559 mWifiConfig = mDialog.getConfig(); in onClick()