Home
last modified time | relevance | path

Searched refs:mNegativeButton (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DCustomDialogHelper.java67 private Button mNegativeButton; field in CustomDialogHelper
79 mNegativeButton = mDialogContent.findViewById(R.id.button_cancel); in CustomDialogHelper()
126 mNegativeButton.setText(resid); in setNegativeButtonText()
156 mNegativeButton.setText(resid); in setButton()
157 mNegativeButton.setVisibility(View.VISIBLE); in setButton()
158 mNegativeButton.setOnClickListener(listener); in setButton()
276 mNegativeButton.setVisibility(visibility); in setVisibility()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java217 Button mNegativeButton = mRootView.findViewById(R.id.banner_negative_btn); in setNegativeButtonText_shouldShowNegativeButton() local
218 assertThat(mNegativeButton.getVisibility()).isEqualTo(View.VISIBLE); in setNegativeButtonText_shouldShowNegativeButton()
219 assertThat(mNegativeButton.getText()).isEqualTo(mContext.getString(TEST_STRING_RES_ID)); in setNegativeButtonText_shouldShowNegativeButton()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java2897 private Button mNegativeButton; field in SMSDispatcher.ConfirmDialogListener
2917 mNegativeButton = button; in setNegativeButton()
2972 mNegativeButton.setText(R.string.sms_short_code_confirm_never_allow); in onCheckedChanged()
2980 mNegativeButton.setText(R.string.sms_short_code_confirm_deny); in onCheckedChanged()