/frameworks/support/fragment/java/android/support/v4/app/ |
D | DialogFragment.java | 91 Dialog mDialog; field in DialogFragment 186 if (mDialog != null) { in dismissInternal() 187 mDialog.dismiss(); in dismissInternal() 188 mDialog = null; in dismissInternal() 207 return mDialog; in getDialog() 226 if (mDialog != null) mDialog.setCancelable(cancelable); in setCancelable() 307 mDialog = onCreateDialog(savedInstanceState); in getLayoutInflater() 309 if (mDialog != null) { in getLayoutInflater() 310 setupDialog(mDialog, mStyle); in getLayoutInflater() 312 return (LayoutInflater) mDialog.getContext().getSystemService( in getLayoutInflater() [all …]
|
/frameworks/base/core/java/android/app/ |
D | DialogFragment.java | 182 Dialog mDialog; field in DialogFragment 286 if (mDialog != null) { in dismissInternal() 287 mDialog.dismiss(); in dismissInternal() 288 mDialog = null; in dismissInternal() 307 return mDialog; in getDialog() 325 if (mDialog != null) mDialog.setCancelable(cancelable); in setCancelable() 406 mDialog = onCreateDialog(savedInstanceState); in getLayoutInflater() 409 mDialog.getWindow().addFlags( in getLayoutInflater() 415 mDialog.requestWindowFeature(Window.FEATURE_NO_TITLE); in getLayoutInflater() 417 if (mDialog != null) { in getLayoutInflater() [all …]
|
D | Dialog.java | 1327 private final WeakReference<DialogInterface> mDialog; field in Dialog.ListenersHandler 1330 mDialog = new WeakReference<>(dialog); in ListenersHandler() 1337 ((OnDismissListener) msg.obj).onDismiss(mDialog.get()); in handleMessage() 1340 ((OnCancelListener) msg.obj).onCancel(mDialog.get()); in handleMessage() 1343 ((OnShowListener) msg.obj).onShow(mDialog.get()); in handleMessage()
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouteControllerDialogFragment.java | 33 private MediaRouteControllerDialog mDialog; field in MediaRouteControllerDialogFragment 57 mDialog = onCreateControllerDialog(getContext(), savedInstanceState); in onCreateDialog() 58 return mDialog; in onCreateDialog() 64 if (mDialog != null) { in onStop() 65 mDialog.clearGroupListAnimation(false); in onStop() 72 if (mDialog != null) { in onConfigurationChanged() 73 mDialog.updateLayout(); in onConfigurationChanged()
|
D | MediaRouteChooserDialogFragment.java | 36 private MediaRouteChooserDialog mDialog; field in MediaRouteChooserDialogFragment 113 mDialog = onCreateChooserDialog(getContext(), savedInstanceState); in onCreateDialog() 114 mDialog.setRouteSelector(getRouteSelector()); in onCreateDialog() 115 return mDialog; in onCreateDialog() 121 if (mDialog != null) { in onConfigurationChanged() 122 mDialog.updateLayout(); in onConfigurationChanged()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetDialogTest.java | 43 private BottomSheetDialog mDialog; field in BottomSheetDialogTest 57 assertThat(mDialog.isShowing(), is(true)); in testBasicDialogSetup() 58 FrameLayout bottomSheet = (FrameLayout) mDialog in testBasicDialogSetup() 75 assertThat(mDialog.isShowing(), is(false)); in testBasicDialogSetup() 96 FrameLayout bottomSheet = (FrameLayout) mDialog in testShortDialog() 118 mDialog.setCancelable(false); in testNonCancelableDialog() 127 FrameLayout bottomSheet = (FrameLayout) mDialog in testNonCancelableDialog() 131 assertThat(mDialog.isShowing(), is(true)); in testNonCancelableDialog() 132 mDialog.cancel(); in testNonCancelableDialog() 133 assertThat(mDialog.isShowing(), is(false)); in testNonCancelableDialog() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UnsupportedDisplaySizeDialog.java | 30 private final AlertDialog mDialog; field in UnsupportedDisplaySizeDialog 42 mDialog = new AlertDialog.Builder(context) in UnsupportedDisplaySizeDialog() 49 mDialog.create(); in UnsupportedDisplaySizeDialog() 51 final Window window = mDialog.getWindow(); in UnsupportedDisplaySizeDialog() 57 final CheckBox alwaysShow = (CheckBox) mDialog.findViewById(R.id.ask_checkbox); in UnsupportedDisplaySizeDialog() 72 mDialog.show(); in show() 76 mDialog.dismiss(); in dismiss()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaProjectionPermissionActivity.java | 57 private AlertDialog mDialog; field in MediaProjectionPermissionActivity 136 mDialog = new AlertDialog.Builder(this) in onCreate() 145 mDialog.create(); in onCreate() 146 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setFilterTouchesWhenObscured(true); in onCreate() 148 ((CheckBox) mDialog.findViewById(R.id.remember)).setOnCheckedChangeListener(this); in onCreate() 149 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in onCreate() 151 mDialog.show(); in onCreate() 157 if (mDialog != null) { in onDestroy() 158 mDialog.dismiss(); in onDestroy() 173 if (mDialog != null) { in onClick() [all …]
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | MenuDialogHelper.java | 35 private AlertDialog mDialog; field in MenuDialogHelper 76 mDialog = builder.create(); in show() 77 mDialog.setOnDismissListener(this); in show() 79 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show() 86 mDialog.show(); in show() 93 Window win = mDialog.getWindow(); in onKey() 105 Window win = mDialog.getWindow(); in onKey() 137 if (mDialog != null) { in dismiss() 138 mDialog.dismiss(); in dismiss()
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuDialogHelper.java | 37 private AlertDialog mDialog; field in MenuDialogHelper 78 mDialog = builder.create(); in show() 79 mDialog.setOnDismissListener(this); in show() 81 WindowManager.LayoutParams lp = mDialog.getWindow().getAttributes(); in show() 88 mDialog.show(); in show() 95 Window win = mDialog.getWindow(); in onKey() 107 Window win = mDialog.getWindow(); in onKey() 137 if (mDialog != null) { in dismiss() 138 mDialog.dismiss(); in dismiss()
|
/frameworks/base/core/java/android/preference/ |
D | DialogPreference.java | 66 private Dialog mDialog; field in DialogPreference 275 if (mDialog != null && mDialog.isShowing()) return; in onClick() 311 final Dialog dialog = mDialog = mBuilder.create(); in showDialog() 394 mDialog = null; in onDismiss() 414 return mDialog; in getDialog() 422 if (mDialog == null || !mDialog.isShowing()) { in onActivityDestroy() 426 mDialog.dismiss(); in onActivityDestroy() 432 if (mDialog == null || !mDialog.isShowing()) { in onSaveInstanceState() 438 myState.dialogBundle = mDialog.onSaveInstanceState(); in onSaveInstanceState()
|
D | PreferenceScreen.java | 94 private Dialog mDialog; field in PreferenceScreen 200 Dialog dialog = mDialog = new Dialog(context, context.getThemeResId()); in showDialog() 227 mDialog = null; in onDismiss() 237 return mDialog; in getDialog() 260 final Dialog dialog = mDialog; in onSaveInstanceState()
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
D | NekoLockedActivity.java | 26 private NekoDialog mDialog; field in NekoLockedActivity 36 mDialog = new NekoDialog(this); in onCreate() 37 mDialog.setOnDismissListener(this); in onCreate() 38 mDialog.show(); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 56 private final VolumeDialog mDialog; field in VolumeDialogComponent 75 mDialog = new VolumeDialog(context, WindowManager.LayoutParams.TYPE_VOLUME_OVERLAY, in VolumeDialogComponent() 123 mDialog.setStreamImportant(AudioManager.STREAM_ALARM, true); in applyConfiguration() 124 mDialog.setStreamImportant(AudioManager.STREAM_SYSTEM, false); in applyConfiguration() 125 mDialog.setAutomute(true); in applyConfiguration() 126 mDialog.setSilentMode(false); in applyConfiguration() 160 mDialog.dump(pw); in dump()
|
D | VolumeDialogMotion.java | 40 private final Dialog mDialog; field in VolumeDialogMotion 55 mDialog = dialog; in VolumeDialogMotion() 60 mDialog.setOnDismissListener(new OnDismissListener() { in VolumeDialogMotion() 66 mDialog.setOnShowListener(new OnShowListener() { in VolumeDialogMotion() 116 mDialog.show(); in startShow() 232 mDialog.dismiss(); in startDismiss()
|
D | VolumeDialog.java | 106 private CustomDialog mDialog; field in VolumeDialog 174 mDialog = new CustomDialog(mContext); in initDialog() 179 mWindow = mDialog.getWindow(); in initDialog() 189 mDialog.setCanceledOnTouchOutside(true); in initDialog() 202 mDialog.setContentView(R.layout.volume_dialog); in initDialog() 203 mDialogView = (ViewGroup) mDialog.findViewById(R.id.volume_dialog); in initDialog() 214 mDialogContentView = (ViewGroup) mDialog.findViewById(R.id.volume_dialog_content); in initDialog() 222 mMotion = new VolumeDialogMotion(mDialog, mDialogView, mDialogContentView, mExpandButton, in initDialog() 255 mZenFooter = (ZenFooter) mDialog.findViewById(R.id.volume_zen_footer); in initDialog() 257 mZenPanel = (TunerZenModePanel) mDialog.findViewById(R.id.tuner_zen_mode_panel); in initDialog() [all …]
|
/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/keyboard/ |
D | KeyboardUI.java | 115 private BluetoothDialog mDialog; field in KeyboardUI 422 if (mDialog != null) { in handleMessage() 430 mDialog = new BluetoothDialog(mContext); in handleMessage() 431 mDialog.setTitle(R.string.enable_bluetooth_title); in handleMessage() 432 mDialog.setMessage(R.string.enable_bluetooth_message); in handleMessage() 433 mDialog.setPositiveButton( in handleMessage() 435 mDialog.setNegativeButton(android.R.string.cancel, clickListener); in handleMessage() 436 mDialog.setOnDismissListener(dismissListener); in handleMessage() 437 mDialog.show(); in handleMessage() 441 if (mDialog != null) { in handleMessage() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSFooter.java | 53 private AlertDialog mDialog; field in QSFooter 152 mDialog = new SystemUIDialog(mContext); in createDialog() 153 mDialog.setTitle(getTitle(deviceOwner)); in createDialog() 154 mDialog.setMessage(getMessage(deviceOwner, profileOwner, primaryVpn, profileVpn, managed)); in createDialog() 155 mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this); in createDialog() 157 mDialog.setButton(DialogInterface.BUTTON_NEGATIVE, getSettingsButton(), this); in createDialog() 159 mDialog.show(); in createDialog()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | DumpHeapActivity.java | 53 AlertDialog mDialog; field in DumpHeapActivity 113 mDialog = b.show(); in onCreate() 135 mDialog.dismiss(); in onDestroy()
|
/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/packages/DocumentsUI/src/com/android/documentsui/ |
D | OpenExternalDirectoryActivity.java | 384 private AlertDialog mDialog; field in OpenExternalDirectoryActivity.OpenExternalDirectoryDialogFragment 405 if (mDialog != null && getRetainInstance()) { in onDestroyView() 406 mDialog.setDismissMessage(null); in onDestroyView() 413 if (mDialog != null) { in onCreateDialog() 415 return mDialog; in onCreateDialog() 473 mDialog = new AlertDialog.Builder(mActivity, R.style.Theme_AppCompat_Light_Dialog_Alert) in onCreateDialog() 487 mDialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(!isChecked); in onCreateDialog() 492 return mDialog; in onCreateDialog()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | GlobalActions.java | 114 private GlobalActionsDialog mDialog; field in GlobalActions 171 if (mDialog != null) { in showDialog() 172 mDialog.dismiss(); in showDialog() 173 mDialog = null; in showDialog() 195 mDialog = createDialog(); in handleShow() 204 WindowManager.LayoutParams attrs = mDialog.getWindow().getAttributes(); in handleShow() 206 mDialog.getWindow().setAttributes(attrs); in handleShow() 207 mDialog.show(); in handleShow() 208 … mDialog.getWindow().getDecorView().setSystemUiVisibility(View.STATUS_BAR_DISABLE_EXPAND); in handleShow() 620 mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | AlertController.java | 63 private final AppCompatDialog mDialog; field in AlertController 135 mHandler.obtainMessage(ButtonHandler.MSG_DISMISS_DIALOG, mDialog) 144 private WeakReference<DialogInterface> mDialog; field in AlertController.ButtonHandler 147 mDialog = new WeakReference<>(dialog); in ButtonHandler() 157 ((DialogInterface.OnClickListener) msg.obj).onClick(mDialog.get(), msg.what); in handleMessage() 168 mDialog = di; in AlertController() 214 mDialog.setContentView(contentView); in installContent() 959 mOnClickListener.onClick(dialog.mDialog, position); in createListView() 961 dialog.mDialog.dismiss(); in createListView() 973 dialog.mDialog, position, listView.isItemChecked(position)); in createListView()
|
/frameworks/base/core/java/android/widget/ |
D | AppSecurityPermissions.java | 138 AlertDialog mDialog; field in AppSecurityPermissions.PermissionItemView 187 if (mDialog != null) { in onClick() 188 mDialog.dismiss(); in onClick() 213 mDialog = builder.show(); in onClick() 214 mDialog.setCanceledOnTouchOutside(true); in onClick() 221 if (mDialog != null) { in onDetachedFromWindow() 222 mDialog.dismiss(); in onDetachedFromWindow()
|