Home
last modified time | relevance | path

Searched refs:getButton (Results 1 – 25 of 33) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/settings/
DAccountsSettingsFragmentTests.java112 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_noCurrentAccount()
114 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
116 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_noCurrentAccount()
133 dialog.getButton(DialogInterface.BUTTON_NEUTRAL).getVisibility()); in testMultipleAccounts_currentAccount()
135 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getVisibility()); in testMultipleAccounts_currentAccount()
137 dialog.getButton(DialogInterface.BUTTON_POSITIVE).getVisibility()); in testMultipleAccounts_currentAccount()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java459 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in updateButton()
460 mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( in updateButton()
464 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in updateButton()
465 mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( in updateButton()
468 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in updateButton()
469 mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( in updateButton()
473 mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( in updateButton()
475 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setText( in updateButton()
DBluetoothOppIncomingFileConfirmActivity.java203 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in onTimeout()
204 mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( in onTimeout()
/packages/apps/Dialer/src/com/android/dialer/filterednumber/
DMigrateBlockedNumbersDialogFragment.java73 alertDialog.getButton(AlertDialog.BUTTON_POSITIVE) in onCreateDialog()
89 alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); in newPositiveButtonOnClickListener()
90 alertDialog.getButton(AlertDialog.BUTTON_NEGATIVE).setEnabled(false); in newPositiveButtonOnClickListener()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiDialog.java129 return getButton(BUTTON_SUBMIT); in getSubmitButton()
134 return getButton(BUTTON_FORGET); in getForgetButton()
139 return getButton(BUTTON_NEGATIVE); in getCancelButton()
DWifiApDialog.java222 getButton(BUTTON_SUBMIT).setEnabled(false); in validate()
224 getButton(BUTTON_SUBMIT).setEnabled(true); in validate()
DWriteWifiConfigToNfcDialog.java126 mSubmitButton = getButton(DialogInterface.BUTTON_NEUTRAL); in onCreate()
130 mCancelButton = getButton(DialogInterface.BUTTON_NEGATIVE); in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DButtonSwitcher.java85 private Button getButton(final int status) { in getButton() method in ButtonSwitcher
132 final View oldButton = getButton(oldStatus); in animateButtonPosition()
133 final View newButton = getButton(newStatus); in animateButtonPosition()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java174 .getButton(DialogInterface.BUTTON_POSITIVE) in testClearAllPreferences()
220 .getButton(DialogInterface.BUTTON_NEGATIVE) in testWarningDialog_negativeButton()
240 .getButton(DialogInterface.BUTTON_POSITIVE) in testWarningDialog_positiveButton()
265 .getButton(DialogInterface.BUTTON_POSITIVE) in testWarningDialogTimer_overOneDayAgo()
/packages/apps/Calendar/src/com/android/calendar/
DEditResponseHelper.java104 Button ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE);
142 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in showDialog()
DDeleteEventHelper.java177 Button ok = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE);
336 Button ok = dialog.getButton(DialogInterface.BUTTON_POSITIVE); in delete()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DAddContactsConfirmationDialog.java56 final Button cancelButton = alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE); in show()
60 final Button addButton = alertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in show()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/preferences/
DNameAutoCompletePreferenceTest.java139 dialog.getButton(DialogInterface.BUTTON_POSITIVE).performClick(); in testDialogShowAndDismiss_positiveButton()
159 dialog.getButton(DialogInterface.BUTTON_NEGATIVE).performClick(); in testDialogShowAndDismiss_negativeButton()
DEmergencyContactsPreferenceTest.java210 removeContactDialog.getButton(DialogInterface.BUTTON_POSITIVE).performClick(); in testWidgetClick_positiveButton()
260 removeContactDialog.getButton(DialogInterface.BUTTON_NEGATIVE).performClick(); in testWidgetClick_negativeButton()
/packages/apps/Email/src/com/android/email/activity/setup/
DEditQuickResponseDialog.java102 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(s.length() > 0); in onCreateDialog()
145 mDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); in onResume()
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerDialog.java86 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in show()
121 final Button button = mDialog.getButton(AlertDialog.BUTTON_POSITIVE); in update()
/packages/apps/Settings/src/com/android/settings/vpn2/
DConfigDialog.java207 getButton(DialogInterface.BUTTON_POSITIVE) in onCreate()
228 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in afterTextChanged()
251 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in onItemSelected()
262 getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(validate(mEditing)); in onCheckedChanged()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DAnswerFragment.java214 final Button sendButton = mCustomMessagePopup.getButton( in showCustomMessageDialog()
227 final Button sendButton = mCustomMessagePopup.getButton(DialogInterface.BUTTON_POSITIVE); in showCustomMessageDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java138 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showPbapDialog()
242 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in onTimeout()
/packages/apps/Dialer/tests/src/com/android/dialer/filterednumber/
DMigrateBlockedNumbersDialogFragmentInstrumentationTest.java74 .getButton(DialogInterface.BUTTON_POSITIVE).performClick(); in testDialogPositiveButtonPress()
/packages/apps/Dialer/tests/src/com/android/dialer/compat/
DFilteredNumberCompatInstrumentationTest.java86 .getButton(DialogInterface.BUTTON_POSITIVE).performClick(); in testShowBlockNumberDialogFlow_AlreadyBlocked()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupNameDialogFragment.java92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); in updateOkButtonState()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java55 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onCreate()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothNameDialogFragment.java163 mOkButton = mAlertDialog.getButton(DialogInterface.BUTTON_POSITIVE); in onResume()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DBlockedNumbersActivity.java232 .getButton(AlertDialog.BUTTON_POSITIVE); in showAddBlockedNumberDialog()

12