Searched refs:negativeButton (Results 1 – 11 of 11) sorted by relevance
96 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameDisplayIsCorrect() local97 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameDisplayIsCorrect()110 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditSucceeds() local111 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditSucceeds()131 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditThenCancelDoesntRename() local132 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditThenCancelDoesntRename()135 negativeButton.performClick(); in deviceNameEditThenCancelDoesntRename()
137 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCloseTheDialog() local138 assertThat(negativeButton).isNotNull(); in clickNegativeButton_shouldCloseTheDialog()140 negativeButton.performClick(); in clickNegativeButton_shouldCloseTheDialog()152 final Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCallReject() local153 negativeButton.performClick(); in clickNegativeButton_shouldCallReject()
123 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_subscriptionMissing_noCrash() local124 assertThat(negativeButton).isNotNull(); in dialog_subscriptionMissing_noCrash()125 negativeButton.performClick(); in dialog_subscriptionMissing_noCrash()134 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled() local135 negativeButton.performClick(); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
77 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testCancelDoesNothing() local78 assertThat(negativeButton).isNotNull(); in testCancelDoesNothing()79 negativeButton.performClick(); in testCancelDoesNothing()
124 Button negativeButton = view.findViewById(R.id.negative_button); in onCreateView() local167 negativeButton.setVisibility( in onCreateView()169 negativeButton.setText(negativeButtonLabel); in onCreateView()170 negativeButton.setOnClickListener((v) -> onButtonPressed(ACTION_NEGATIVE)); in onCreateView()
44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local46 negativeButton.callOnClick(); in clickNegativeButton()
70 Button negativeButton = findViewById(R.id.negative); in onResume() local71 negativeButton.setOnClickListener(v -> { in onResume()
189 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved() local191 negativeButton.performClick(); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved()
62 @StringRes val negativeButton: Int, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.fragment.TextModel202 .setText(textModel.negativeButton) in <lambda>()
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()