Home
last modified time | relevance | path

Searched refs:buttonIndex (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DAlertDialogTest.java128 DialogStubActivity.buttonIndex = 0; in testAlertDialogDeprecatedAPIWithMessage()
130 assertEquals(DialogInterface.BUTTON_POSITIVE, DialogStubActivity.buttonIndex); in testAlertDialogDeprecatedAPIWithMessage()
132 DialogStubActivity.buttonIndex = 0; in testAlertDialogDeprecatedAPIWithMessage()
134 assertEquals(DialogInterface.BUTTON_NEUTRAL, DialogStubActivity.buttonIndex); in testAlertDialogDeprecatedAPIWithMessage()
136 DialogStubActivity.buttonIndex = 0; in testAlertDialogDeprecatedAPIWithMessage()
138 assertEquals(DialogInterface.BUTTON_NEGATIVE, DialogStubActivity.buttonIndex); in testAlertDialogDeprecatedAPIWithMessage()
/cts/tests/app/src/android/app/cts/
DDialogStubActivity.java70 public static int buttonIndex; field in DialogStubActivity
171 buttonIndex = msg.what; in onCreateDialog()