Home
last modified time | relevance | path

Searched refs:mAlertDialog (Results 1 – 7 of 7) sorted by relevance

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DAlertDialogTest.java107 private AlertDialog mAlertDialog; field in AlertDialogTest
121 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 …]
DAlertDialogCursorTest.java90 private AlertDialog mAlertDialog; field in AlertDialogCursorTest
154 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 …]
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java73 private AlertDialog mAlertDialog; field in AccessibilityShortcutController
222 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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java53 private AlertDialog mAlertDialog; field in KeyguardSecurityContainer
100 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()
/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java39 protected AlertDialog mAlertDialog; field in ColorPickerDialog
119 mAlertDialog = new AlertDialog.Builder(activity) in onCreateDialog()
124 return mAlertDialog; in onCreateDialog()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java98 private @Mock AlertDialog mAlertDialog; field in AccessibilityShortcutControllerTest
159 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()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java2018 private AlertDialog mAlertDialog; field in EditStyledText.StyledTextDialog
2193 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()