Home
last modified time | relevance | path

Searched refs:negativeButton (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DRemoteDeviceNameDialogFragmentTest.java96 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameDisplayIsCorrect() local
97 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameDisplayIsCorrect()
110 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditSucceeds() local
111 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditSucceeds()
131 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in deviceNameEditThenCancelDoesntRename() local
132 assertThat(negativeButton.isEnabled()).isTrue(); in deviceNameEditThenCancelDoesntRename()
135 negativeButton.performClick(); in deviceNameEditThenCancelDoesntRename()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java137 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCloseTheDialog() local
138 assertThat(negativeButton).isNotNull(); in clickNegativeButton_shouldCloseTheDialog()
140 negativeButton.performClick(); in clickNegativeButton_shouldCloseTheDialog()
152 final Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in clickNegativeButton_shouldCallReject() local
153 negativeButton.performClick(); in clickNegativeButton_shouldCallReject()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragmentTest.java123 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in dialog_subscriptionMissing_noCrash() local
124 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() local
135 negativeButton.performClick(); in dialog_cancelButtonClicked_setDisplayNameAndIconTintNotCalled()
DContactDiscoveryDialogFragmentTest.java77 final Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in testCancelDoesNothing() local
78 assertThat(negativeButton).isNotNull(); in testCancelDoesNothing()
79 negativeButton.performClick(); in testCancelDoesNothing()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DFullScreenDialogFragment.java124 Button negativeButton = view.findViewById(R.id.negative_button); in onCreateView() local
167 negativeButton.setVisibility( in onCreateView()
169 negativeButton.setText(negativeButtonLabel); in onCreateView()
170 negativeButton.setOnClickListener((v) -> onButtonPressed(ACTION_NEGATIVE)); in onCreateView()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local
46 negativeButton.callOnClick(); in clickNegativeButton()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DDialogTestUtils.java44 Button negativeButton = dialogFragment.getDialog().getWindow().findViewById( in clickNegativeButton() local
46 negativeButton.callOnClick(); in clickNegativeButton()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/
DPermissionActivity.java70 Button negativeButton = findViewById(R.id.negative); in onResume() local
71 negativeButton.setOnClickListener(v -> { in onResume()
/packages/apps/Settings/tests/robotests/src/com/android/settings/privatespace/delete/
DResetOptionsDeletePrivateSpaceControllerTest.java189 Button negativeButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved() local
191 negativeButton.performClick(); in setAlertDialog_showsDialog_onNegativeButtonClickDialogRemoved()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/fragment/
DFingerprintEnrollIntroV2Fragment.kt62 @StringRes val negativeButton: Int, in <lambda>() constant in com.android.settings.biometrics.fingerprint2.ui.enrollment.fragment.TextModel
202 .setText(textModel.negativeButton) in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DPhoneCallDetailsHelper.java408 Button negativeButton = dialog.getButton(DialogInterface.BUTTON_NEGATIVE); in showVoicemailDonationPromo() local
409 if (negativeButton != null) { in showVoicemailDonationPromo()
410 negativeButton.setTextColor(ThemeComponent.get(context).theme().getTextColorSecondary()); in showVoicemailDonationPromo()