Searched refs:mAlertDialog (Results 1 – 5 of 5) sorted by relevance
78 private AlertDialog mAlertDialog; field in AccessibilityShortcutController212 mAlertDialog = createShortcutWarningDialog(userId); in performAccessibilityShortcut()213 if (mAlertDialog == null) { in performAccessibilityShortcut()216 if (!performTtsPrompt(mAlertDialog)) { in performAccessibilityShortcut()219 Window w = mAlertDialog.getWindow(); in performAccessibilityShortcut()223 mAlertDialog.show(); in performAccessibilityShortcut()228 if (mAlertDialog != null) { in performAccessibilityShortcut()229 mAlertDialog.dismiss(); in performAccessibilityShortcut()230 mAlertDialog = null; in performAccessibilityShortcut()
109 private @Mock AlertDialog mAlertDialog; field in AccessibilityShortcutControllerTest176 when(mAlertDialogBuilder.create()).thenReturn(mAlertDialog); in setUp()191 when(mAlertDialog.getWindow()).thenReturn(window); in setUp()329 verify(mAlertDialog).show(); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()367 verify(mAlertDialog, times(2)).show(); in testOnAccessibilityShortcut_ifCanceledFirstTime_showsWarningDialog()415 verifyZeroInteractions(mAlertDialogBuilder, mAlertDialog); in testOnAccessibilityShortcut_afterDialogShown_shouldCallServer()468 verify(mAlertDialog).show(); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()476 verify(mAlertDialog).setOnDismissListener(onDismissCap.capture()); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()477 onDismissCap.getValue().onDismiss(mAlertDialog); in testOnAccessibilityShortcut_showsWarningDialog_shouldTtsSpokenPrompt()492 verify(mAlertDialog).show(); in testOnAccessibilityShortcut_showsWarningDialog_ttsInitFail_noSpokenPrompt()
85 private AlertDialog mAlertDialog; field in KeyguardSecurityContainer149 if (mAlertDialog != null) { in onPause()150 mAlertDialog.dismiss(); in onPause()151 mAlertDialog = null; in onPause()332 if (mAlertDialog != null) { in showDialog()333 mAlertDialog.dismiss(); in showDialog()336 mAlertDialog = new AlertDialog.Builder(mContext) in showDialog()343 mAlertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in showDialog()345 mAlertDialog.show(); in showDialog()
39 protected AlertDialog mAlertDialog; field in ColorPickerDialog119 mAlertDialog = new AlertDialog.Builder(activity) in onCreateDialog()124 return mAlertDialog; in onCreateDialog()
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()