Searched refs:negativeButton (Results 1 – 9 of 9) sorted by relevance
93 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameDisplayIsCorrect() local94 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameDisplayIsCorrect()106 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditSucceeds() local107 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditSucceeds()126 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditThenCancelDoesntRename() local127 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditThenCancelDoesntRename()130 negativeButton.performClick(); in deviceNameEditThenCancelDoesntRename()
124 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCloseTheDialog() local125 assertThat(negativeButton).isNotNull(); in clickNegativeButton_shouldCloseTheDialog()127 negativeButton.performClick(); in clickNegativeButton_shouldCloseTheDialog()138 final Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCallReject() local139 negativeButton.performClick(); in clickNegativeButton_shouldCallReject()
96 final Button negativeButton = new Button(mContext); in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents() local101 return negativeButton; in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents()116 assertEquals(View.GONE, negativeButton.getVisibility()); in testOnAuthenticationSucceeded_confirmationRequired_updatesDialogContents()162 Button negativeButton = new Button(mContext); in testCancelButton_whenPendingConfirmation_sendsActionUserCanceled() local166 return negativeButton; in testCancelButton_whenPendingConfirmation_sendsActionUserCanceled()177 assertEquals(View.GONE, negativeButton.getVisibility()); in testCancelButton_whenPendingConfirmation_sendsActionUserCanceled()338 final Button negativeButton = new Button(mContext); in testCredentialButton_whenDeviceCredentialAllowed() local343 return negativeButton; in testCredentialButton_whenDeviceCredentialAllowed()352 assertEquals(View.GONE, negativeButton.getVisibility()); in testCredentialButton_whenDeviceCredentialAllowed()
122 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_subscriptionMissing_noCrash() local123 assertThat(negativeButton).isNotNull(); in dialog_subscriptionMissing_noCrash()124 negativeButton.performClick(); in dialog_subscriptionMissing_noCrash()133 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled() local134 negativeButton.performClick(); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
75 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testCancelDoesNothing() local76 assertThat(negativeButton).isNotNull(); in testCancelDoesNothing()77 negativeButton.performClick(); in testCancelDoesNothing()
44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local46 negativeButton.callOnClick(); in clickNegativeButton()
260 final Button negativeButton = contentView.findViewById( in setCustomButtonsClickListener() local272 if (negativeButton != null) { in setCustomButtonsClickListener()273 negativeButton.setOnClickListener(v -> { in setCustomButtonsClickListener()
408 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in showVoicemailDonationPromo() local409 if (negativeButton != null) { in showVoicemailDonationPromo()410 negativeButton.setTextColor(ThemeComponent.get(context).theme().getTextColorSecondary()); in showVoicemailDonationPromo()