Home
last modified time | relevance | path

Searched refs:getButton (Results 1 – 25 of 44) 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/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DButtonActionDialogFragmentTest.java91 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo( in testOnCreateDialog_forceStopDialog()
93 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo( in testOnCreateDialog_forceStopDialog()
108 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo( in testOnCreateDialog_disableDialog()
110 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo( in testOnCreateDialog_disableDialog()
126 assertThat(dialog.getButton(DialogInterface.BUTTON_POSITIVE).getText()).isEqualTo( in testOnCreateDialog_specialDisableDialog()
128 assertThat(dialog.getButton(DialogInterface.BUTTON_NEGATIVE).getText()).isEqualTo( in testOnCreateDialog_specialDisableDialog()
/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/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java137 alertDialog.getButton(DialogInterface.BUTTON_POSITIVE) in showDialog()
139 alertDialog.getButton(DialogInterface.BUTTON_NEUTRAL) in showDialog()
141 alertDialog.getButton(DialogInterface.BUTTON_NEGATIVE) in showDialog()
152 acceptDenyDialog.getButton(DialogInterface.BUTTON_POSITIVE) in showDialog()
154 acceptDenyDialog.getButton(DialogInterface.BUTTON_NEGATIVE) in showDialog()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DMigrateBlockedNumbersDialogFragment.java75 .getButton(AlertDialog.BUTTON_POSITIVE) in onCreateDialog()
91 alertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setEnabled(false); in newPositiveButtonOnClickListener()
92 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.java121 mSubmitButton = getButton(DialogInterface.BUTTON_NEUTRAL); in onCreate()
125 mCancelButton = getButton(DialogInterface.BUTTON_NEGATIVE); in onCreate()
/packages/apps/EmergencyInfo/tests/src/com/android/emergency/edit/
DEditInfoActivityTest.java172 .getButton(DialogInterface.BUTTON_POSITIVE) in testClearAllPreferences()
249 .getButton(DialogInterface.BUTTON_NEGATIVE) in testWarningDialog_negativeButton()
269 .getButton(DialogInterface.BUTTON_POSITIVE) in testWarningDialog_positiveButton()
294 .getButton(DialogInterface.BUTTON_POSITIVE) in testWarningDialogTimer_overOneDayAgo()
/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/PackageInstaller/src/android/support/wearable/view/
DWearableDialogHelper.java132 applyButton(dialog.getButton(DialogInterface.BUTTON_POSITIVE), getPositiveIcon()); in apply()
133 applyButton(dialog.getButton(DialogInterface.BUTTON_NEGATIVE), getNegativeIcon()); in apply()
134 applyButton(dialog.getButton(DialogInterface.BUTTON_NEUTRAL), getNeutralIcon()); in apply()
/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/Dialer/java/com/android/incallui/answer/impl/
DCreateCustomSmsDialogFragment.java94 .getButton(AlertDialog.BUTTON_POSITIVE) in onCreateDialog()
109 Button sendButton = customMessagePopup.getButton(DialogInterface.BUTTON_POSITIVE); in onCreateDialog()
/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/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapActivity.java136 mOkButton = mAlert.getButton(DialogInterface.BUTTON_POSITIVE); in showPbapDialog()
238 mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); in onTimeout()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingDialogFragment.java90 Button positiveButton = mDialog.getButton(DialogInterface.BUTTON_POSITIVE); in afterTextChanged()
195 dialog.setOnShowListener(d -> mDialog.getButton(Dialog.BUTTON_POSITIVE).setEnabled(false)); in createUserEntryDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDialogTest.java104 View button = frag.getmDialog().getButton(AlertDialog.BUTTON_POSITIVE); in dialogEnablesSubmitButtonOnValidationFromController()
251 View button = frag.getmDialog().getButton(AlertDialog.BUTTON_POSITIVE); in dialogPositiveButtonDisabledWhenUserInputInvalid()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java277 dialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(true); in displayCertChooserDialog()
314 dialog.getButton(DialogInterface.BUTTON_POSITIVE).setEnabled(false); in displayCertChooserDialog()
/packages/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java55 mAlertDialog.getButton(AlertDialog.BUTTON_POSITIVE).setOnClickListener(this); in onCreate()

12