Searched refs:mAlertDialog (Results 1 – 7 of 7) sorted by relevance
107 private AlertDialog mAlertDialog; field in AlertDialogTest121 if ((mAlertDialog != null) && mAlertDialog.isShowing()) { in tearDown()125 mAlertDialog.hide(); in tearDown()135 mAlertDialog = builder.show(); in wireBuilder()174 assertNull("No list view", mAlertDialog.getListView()); in testBasicContent()177 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).getVisibility()); in testBasicContent()179 mAlertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).getVisibility()); in testBasicContent()181 mAlertDialog.getButton(AlertDialog.BUTTON_NEUTRAL).getVisibility()); in testBasicContent()217 mAlertDialog.setMessage(dialogUpdatedMessage); in testMessageStringPostCreation()281 mAlertDialog = builder.create(); in testCustomTitlePostCreation()[all …]
90 private AlertDialog mAlertDialog; field in AlertDialogCursorTest154 if (mAlertDialog != null) { in tearDown()155 mAlertDialog.dismiss(); in tearDown()163 mAlertDialog = builder.show(); in wireBuilder()174 final ListView listView = mAlertDialog.getListView(); in verifySimpleItemsContent()199 verify(onClickListener, times(1)).onClick(mAlertDialog, indexToClick); in verifySimpleItemsContent()231 final ListView listView = mAlertDialog.getListView(); in verifyMultiChoiceItemsState()261 final ListView listView = mAlertDialog.getListView(); in verifyMultiChoiceItemsContent()347 final ListView listView = mAlertDialog.getListView(); in verifySingleChoiceItemsState()391 verify(onClickListener, times(1)).onClick(mAlertDialog, currentlyExpectedSelectionIndex); in verifySingleChoiceItemsContent()[all …]
73 private AlertDialog mAlertDialog; field in AccessibilityShortcutController222 mAlertDialog = createShortcutWarningDialog(userId); in performAccessibilityShortcut()223 if (mAlertDialog == null) { in performAccessibilityShortcut()226 Window w = mAlertDialog.getWindow(); in performAccessibilityShortcut()230 mAlertDialog.show(); in performAccessibilityShortcut()234 if (mAlertDialog != null) { in performAccessibilityShortcut()235 mAlertDialog.dismiss(); in performAccessibilityShortcut()236 mAlertDialog = null; in performAccessibilityShortcut()
53 private AlertDialog mAlertDialog; field in KeyguardSecurityContainer100 if (mAlertDialog != null) { in onPause()101 mAlertDialog.dismiss(); in onPause()102 mAlertDialog = null; in onPause()172 if (mAlertDialog != null) { in showDialog()173 mAlertDialog.dismiss(); in showDialog()176 mAlertDialog = new AlertDialog.Builder(mContext) in showDialog()183 mAlertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in showDialog()185 mAlertDialog.show(); in showDialog()
39 protected AlertDialog mAlertDialog; field in ColorPickerDialog119 mAlertDialog = new AlertDialog.Builder(activity) in onCreateDialog()124 return mAlertDialog; in onCreateDialog()
98 private @Mock AlertDialog mAlertDialog; field in AccessibilityShortcutControllerTest159 when(mAlertDialogBuilder.create()).thenReturn(mAlertDialog); in setUp()174 when(mAlertDialog.getWindow()).thenReturn(window); in setUp()310 verify(mAlertDialog).show(); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()346 verify(mAlertDialog, times(2)).show(); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()394 verifyZeroInteractions(mAlertDialogBuilder, mAlertDialog); in testOnAccessibilityShortcut_afterDialogShown_shouldCallServer()
2018 private AlertDialog mAlertDialog; field in EditStyledText.StyledTextDialog2193 if (mAlertDialog != null) { in buildAndShowColorDialogue()2194 mAlertDialog.setView(null); in buildAndShowColorDialogue()2195 mAlertDialog.dismiss(); in buildAndShowColorDialogue()2196 mAlertDialog = null; in buildAndShowColorDialogue()2207 if (mAlertDialog != null) { in buildAndShowColorDialogue()2208 mAlertDialog.setView(null); in buildAndShowColorDialogue()2209 mAlertDialog.dismiss(); in buildAndShowColorDialogue()2210 mAlertDialog = null; in buildAndShowColorDialogue()2244 mAlertDialog = mBuilder.show(); in buildAndShowColorDialogue()