Searched refs:mDialog (Results 1 – 4 of 4) sorted by relevance
56 private AlertDialog mDialog; field in AlertDialog_BuilderTest123 mDialog = null; in setUp()143 mDialog = mBuilder.show(); in testSetIconWithParamInt()155 mDialog = mBuilder.show(); in testSetIconWithParamDrawable()166 mDialog = mBuilder.show(); in testSetPositiveButtonWithParamInt()167 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamInt()182 mDialog = mBuilder.show(); in testSetPositiveButtonWithParamCharSequence()183 mButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in testSetPositiveButtonWithParamCharSequence()197 mDialog = mBuilder.show(); in testSetNegativeButtonWithParamCharSequence()198 mButton = mDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testSetNegativeButtonWithParamCharSequence()[all …]
866 private WeakReference<DialogInterface> mDialog; field in DialogTest.MockDismissCancelHandler871 mDialog = new WeakReference<DialogInterface>(dialog); in MockDismissCancelHandler()878 ((OnDismissListener) msg.obj).onDismiss(mDialog.get()); in handleMessage()881 ((OnCancelListener) msg.obj).onCancel(mDialog.get()); in handleMessage()
98 private Dialog mDialog; field in DialogStubActivity113 mDialog = new Dialog(this); in onCreateDialog()114 mDialog.setTitle("Hello, Dialog"); in onCreateDialog()118 mDialog = new Dialog(this, 1); in onCreateDialog()122 mDialog = getAlertDialogInstance(false); in onCreateDialog()126 mDialog = getCustomAlertDialogInstance(false); in onCreateDialog()130 mDialog = getCustomAlertDialogInstance(true); in onCreateDialog()134 mDialog = new MockDatePickerDialog(this, mOnDateSetListener, INITIAL_YEAR, in onCreateDialog()139 mDialog = new MockDatePickerDialog(this, in onCreateDialog()145 mDialog = new TimePickerDialog(this, new OnTimeSetListener() { in onCreateDialog()[all …]
35 private Dialog mDialog; field in AppStubActivity70 return mDialog; in getDialogById()76 mDialog = new Dialog(this); in onCreateDialog()77 return mDialog; in onCreateDialog()