Searched refs:getLatestAlertDialog (Results 1 – 25 of 33) sorted by relevance
12
81 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()84 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()98 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in dialogMessage_messageViewShown()111 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noDialogMessage_messageViewHidden()127 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_positiveButton_callsOnDialogClosed()137 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_negativeButton_callsOnDialogClosed()150 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo( in subclassNeedsInputMethod_softInputModeSetOnWindow()160 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo(0); in subclassDoesNotNeedInputMethod_noWindowSoftInputMode()187 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()189 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()[all …]
76 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()78 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()100 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()102 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()121 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()123 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
77 EditText editTextView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in dialogPopulatedWithPreferenceText()88 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo( in softInputMethodSetOnWindow()95 EditText editTextView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in editTextHasFocus()105 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_positiveResult_updatesPreference()117 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_negativeResult_doesNothing()142 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in instanceStateRetained()
72 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onStart_inputTypeSetToPassword_shouldRevealShowPasswordCheckBoxUnchecked()83 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxChecked_shouldRevealRawPassword()98 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxUnchecked_shouldObscureRawPassword()
101 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_negativeResult_doesNothing()127 return ShadowApplication.getInstance().getLatestAlertDialog(); in getShadowAlertDialog()
52 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenNotSupported()67 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenSupported()82 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()97 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()112 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()127 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly()142 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly()157 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly()
112 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in verifyScreenLockOptionsShown()157 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
98 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startLockFragment()
113 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_highUsageTip_fireHighUsageDialog()127 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()149 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()179 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()198 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()214 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_summaryTip_fireDialog()
92 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTheDialog()100 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTitleWithAppName()111 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCloseTheDialog()279 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldNotShowNeutralButton()289 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in onMatchManyResult_showNeutralButton()314 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNeutralButton_hideNeutralButton()338 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in cancelDialog_callsReject()
60 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTimeoutDialog()80 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowAbortDialog()93 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickPositiveButton_shouldCallStartScanningDialog()105 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCloseTheDialog()
69 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_shouldConnectToNetwork()86 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork()107 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_whenLaunchInSetupFlow_shouldBeLightThemeForWifiDialog()
47 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in LaunchActivity_shouldShowNetworkRequestDialog()
70 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_securityTypeNone_doesntOpenDialog()86 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isSaved_correctPassword_doesntOpenDialog()105 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isSaved_incorrectPassword_opensDialog()115 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isNotSaved_opensDialog()
80 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_forceStopDialog()101 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_disableDialog()121 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_specialDisableDialog()
108 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_untetheredDevice_showUntetheredMessage()122 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_normalDevice_showNormalMessage()
118 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()123 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()
214 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()219 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
173 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toRestrict_createRestrictDialog()186 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toUnrestrict_createUnrestrictDialog()
51 ShadowAlertDialog dialog = ShadowApplication.getInstance().getLatestAlertDialog(); in handlePreferenceClicked_openAlertDialog()
67 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowAlertDialogCompat
74 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startDialog()
80 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in fingerprintEnroll_showsAlert_whenClickingSkip()