/frameworks/support/v4/java/android/support/v4/app/ |
D | DialogFragment.java | 90 Dialog mDialog; field in DialogFragment 185 if (mDialog != null) { in dismissInternal() 186 mDialog.dismiss(); in dismissInternal() 187 mDialog = null; in dismissInternal() 206 return mDialog; in getDialog() 225 if (mDialog != null) mDialog.setCancelable(cancelable); in setCancelable() 307 mDialog = onCreateDialog(savedInstanceState); in getLayoutInflater() 310 mDialog.getWindow().addFlags( in getLayoutInflater() 316 mDialog.requestWindowFeature(Window.FEATURE_NO_TITLE); in getLayoutInflater() 318 if (mDialog != null) { in getLayoutInflater() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DialogFragment.java | 182 Dialog mDialog; field in DialogFragment 277 if (mDialog != null) { in dismissInternal() 278 mDialog.dismiss(); in dismissInternal() 279 mDialog = null; in dismissInternal() 298 return mDialog; in getDialog() 316 if (mDialog != null) mDialog.setCancelable(cancelable); in setCancelable() 398 mDialog = onCreateDialog(savedInstanceState); in getLayoutInflater() 401 mDialog.getWindow().addFlags( in getLayoutInflater() 407 mDialog.requestWindowFeature(Window.FEATURE_NO_TITLE); in getLayoutInflater() 409 if (mDialog != null) { in getLayoutInflater() [all …]
|
D | Dialog.java | 1253 private WeakReference<DialogInterface> mDialog; field in Dialog.ListenersHandler 1256 mDialog = new WeakReference<DialogInterface>(dialog); in ListenersHandler() 1263 ((OnDismissListener) msg.obj).onDismiss(mDialog.get()); in handleMessage() 1266 ((OnCancelListener) msg.obj).onCancel(mDialog.get()); in handleMessage() 1269 ((OnShowListener) msg.obj).onShow(mDialog.get()); in handleMessage()
|
D | Activity.java | 684 Dialog mDialog; field in Activity.ManagedDialog 1078 md.mDialog = createDialog(dialogId, dialogState, md.mArgs); in restoreManagedDialogs() 1079 if (md.mDialog != null) { in restoreManagedDialogs() 1081 onPrepareDialog(dialogId, md.mDialog, md.mArgs); in restoreManagedDialogs() 1082 md.mDialog.onRestoreInstanceState(dialogState); in restoreManagedDialogs() 1417 dialogState.putBundle(savedDialogKeyFor(key), md.mDialog.onSaveInstanceState()); in saveManagedDialogs() 1614 if (md.mDialog.isShowing()) { in onDestroy() 1615 md.mDialog.dismiss(); in onDestroy() 3413 md.mDialog = createDialog(id, null, args); in showDialog() 3414 if (md.mDialog == null) { in showDialog() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 38 private AlertDialog mDialog; field in MenuDialogHelper 79 mDialog = builder.create(); in show() 80 mDialog.setOnDismissListener(this); in show() 82 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show() 89 mDialog.show(); in show() 96 Window win = mDialog.getWindow(); in onKey() 108 Window win = mDialog.getWindow(); in onKey() 138 if (mDialog != null) { in dismiss() 139 mDialog.dismiss(); in dismiss()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | MenuDialogHelper.java | 39 private AlertDialog mDialog; field in MenuDialogHelper 82 mDialog = builder.create(); in show() 83 mDialog.setOnDismissListener(this); in show() 85 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show() 92 mDialog.show(); in show() 99 Window win = mDialog.getWindow(); in onKey() 111 Window win = mDialog.getWindow(); in onKey() 141 if (mDialog != null) { in dismiss() 142 mDialog.dismiss(); in dismiss()
|
/frameworks/base/core/java/android/preference/ |
D | DialogPreference.java | 63 private Dialog mDialog; field in DialogPreference 272 if (mDialog != null && mDialog.isShowing()) return; in onClick() 308 final Dialog dialog = mDialog = mBuilder.create(); in showDialog() 390 mDialog = null; in onDismiss() 410 return mDialog; in getDialog() 418 if (mDialog == null || !mDialog.isShowing()) { in onActivityDestroy() 422 mDialog.dismiss(); in onActivityDestroy() 428 if (mDialog == null || !mDialog.isShowing()) { in onSaveInstanceState() 434 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
|
D | PreferenceScreen.java | 91 private Dialog mDialog; field in PreferenceScreen 173 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId()); in showDialog() 192 mDialog = null; in onDismiss() 202 return mDialog; in getDialog() 225 final Dialog dialog = mDialog; in onSaveInstanceState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 56 private AlertDialog mDialog; field in MediaProjectionPermissionActivity 97 mDialog = new AlertDialog.Builder(this) in onCreate() 106 mDialog.create(); in onCreate() 108 ((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this); in onCreate() 109 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate() 111 mDialog.show(); in onCreate() 117 mDialog.dismiss(); in onDestroy() 131 mDialog.dismiss(); in onClick()
|
/frameworks/base/core/java/android/webkit/ |
D | Plugin.java | 196 private AlertDialog mDialog; field in Plugin.DefaultClickHandler 201 if (mDialog == null) { in handleClickEvent() 202 mDialog = new AlertDialog.Builder(context) in handleClickEvent() 217 mDialog.dismiss(); in onClick() 218 mDialog = null; in onClick()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFooter.java | 50 private AlertDialog mDialog; field in QSFooter 138 mDialog = new SystemUIDialog(mContext); in createDialog() 139 mDialog.setTitle(getTitle()); in createDialog() 140 mDialog.setMessage(getMessage()); in createDialog() 141 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog() 143 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getNegativeButton(), this); in createDialog() 145 mDialog.show(); in createDialog()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipSessionGroup.java | 428 newSession.mDialog = newSession.mServerTransaction.getDialog(); in createNewSession() 453 Dialog dialog = session.mDialog; in processInviteWithReplaces() 541 Dialog mDialog; field in SipSessionGroup.SipSessionImpl 612 if (mDialog != null) mDialog.delete(); in reset() 613 mDialog = null; in reset() 781 if (dialog != null) mDialog = dialog; in process() 850 if (mDialog == event.getDialog()) { in processDialogTerminated() 853 if (SSI_DBG) log("not the current dialog; current=" + mDialog in processDialogTerminated() 986 mDialog = mClientTransaction.getDialog(); in handleAuthentication() 1070 mSipHelper.sendReferNotify(mReferSession.mDialog, [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | GlobalActions.java | 110 private GlobalActionsDialog mDialog; field in GlobalActions 167 if (mDialog != null) { in showDialog() 168 mDialog.dismiss(); in showDialog() 169 mDialog = null; in showDialog() 191 mDialog = createDialog(); in handleShow() 200 WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes(); in handleShow() 202 mDialog.getWindow().setAttributes(attrs); in handleShow() 203 mDialog.show(); in handleShow() 204 … mDialog.getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_DISABLE_EXPAND); in handleShow() 519 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); [all …]
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 142 AlertDialog mDialog; field in AppSecurityPermissions.PermissionItemView 191 if (mDialog != null) { in onClick() 192 mDialog.dismiss(); in onClick() 217 mDialog = builder.show(); in onClick() 218 mDialog.setCanceledOnTouchOutside(true); in onClick() 225 if (mDialog != null) { in onDetachedFromWindow() 226 mDialog.dismiss(); in onDetachedFromWindow()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumePanel.java | 165 private final Dialog mDialog; field in VolumePanel 383 mDialog = new Dialog(context) { in VolumePanel() 395 final Window window = mDialog.getWindow(); in VolumePanel() 397 mDialog.setCanceledOnTouchOutside(true); in VolumePanel() 398 mDialog.setContentView(com.android.systemui.R.layout.volume_dialog); in VolumePanel() 399 mDialog.setOnDismissListener(new OnDismissListener() { in VolumePanel() 410 mDialog.create(); in VolumePanel() 469 final LayoutParams lp = mDialog.getWindow().getAttributes(); in updateWidth() 473 mDialog.getWindow().setAttributes(lp); in updateWidth() 1195 mDialog.show(); in onShowVolumeChanged() [all …]
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 194 private StyledTextDialog mDialog; field in EditStyledText 390 mDialog = new StyledTextDialog(this); in init() 391 mManager = new EditorManager(this, mDialog); in init() 740 mDialog.setBuilder(builder); in setBuilder() 752 mDialog.setColorAlertParams(colortitle, colornames, colorints, transparent); in setColorAlertParams() 765 mDialog.setSizeAlertParams(sizetitle, sizenames, sizedisplayints, sizesendints); in setSizeAlertParams() 769 mDialog.setAlignAlertParams(aligntitle, alignnames); in setAlignAlertParams() 773 mDialog.setMarqueeAlertParams(marqueetitle, marqueenames); in setMarqueeAlertParams() 2791 private StyledTextDialog mDialog; field in EditStyledText.EditModeActions 2826 mDialog = dialog; in EditModeActions() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AlertController.java | 149 private WeakReference<DialogInterface> mDialog; field in AlertController.ButtonHandler 152 mDialog = new WeakReference<DialogInterface>(dialog); in ButtonHandler() 162 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what); in handleMessage()
|
D | WindowDecorActionBar.java | 77 private Dialog mDialog; field in WindowDecorActionBar 172 mDialog = dialog; in WindowDecorActionBar()
|
/frameworks/base/docs/html/training/location/ |
D | activity-recognition.jd | 115 private Dialog mDialog; 119 mDialog = null; 123 mDialog = dialog; 128 return mDialog;
|
D | geofencing.jd | 109 private Dialog mDialog; 114 mDialog = null; 119 mDialog = dialog; 125 return mDialog;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/ |
D | WindowDecorActionBar.java | 87 private Dialog mDialog; field in WindowDecorActionBar 183 mDialog = dialog; in WindowDecorActionBar()
|