Searched refs:mAlertDialog (Results 1 – 7 of 7) 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()
88 private AlertDialog mAlertDialog; field in KeyguardSecurityContainer154 if (mAlertDialog != null) { in onPause()155 mAlertDialog.dismiss(); in onPause()156 mAlertDialog = null; in onPause()339 if (mAlertDialog != null) { in showDialog()340 mAlertDialog.dismiss(); in showDialog()343 mAlertDialog = new AlertDialog.Builder(mContext) in showDialog()350 mAlertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); in showDialog()352 mAlertDialog.show(); in showDialog()
39 protected AlertDialog mAlertDialog; field in ColorPickerDialog119 mAlertDialog = new AlertDialog.Builder(activity) in onCreateDialog()124 return mAlertDialog; in onCreateDialog()
63 @Mock private AlertDialog mAlertDialog; field in ConnectionFailureNotifierTest83 any())).thenReturn(mAlertDialog); in setUp()
115 private AlertDialog mAlertDialog; field in WifiNetworkSuggestionsManager817 if(mAlertDialog!=null){ in sendUserApprovalNotification()818 mAlertDialog.dismiss(); in sendUserApprovalNotification()819 mAlertDialog = null; in sendUserApprovalNotification()850 mAlertDialog = builder.create(); in sendUserApprovalNotification()851 mAlertDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT); in sendUserApprovalNotification()853 mAlertDialog.show(); in sendUserApprovalNotification()
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()