Lines Matching refs:dialog

109         final AlertDialog dialog = new AlertDialog.Builder(context, R.style.Theme_TextColors)
115 dialog.getContext().getTheme().resolveAttribute(android.R.attr.textColorPrimary, tv, true);
130 // Test that we're showing a dialog with vertically stacked title and content
173 // Click the button to show the dialog and check that it shows the initial message
177 // Update the dialog message
194 * the custom title above the dialog message.
199 // Test that we're showing a dialog with vertically stacked custom title and content
255 // Click the button to create the dialog, configure custom title and show the dialog
269 // Test that we're showing a dialog with vertically stacked custom title and content
339 // Click the button to create the dialog, configure custom view and show the dialog
364 // Since our dialog is cancelable, check that the cancel listener has been invoked
385 // Since our dialog is not cancelable, check that the cancel listener has not been invoked
560 public void onClick(DialogInterface dialog, int which,
581 public void onClick(DialogInterface dialog, int which,
934 * Helper method to verify visibility and text content of dialog buttons. Gets expected texts
974 * Helper method to verify dialog state after a button has been clicked.
984 // Verify that the dialog is no longer showing
987 // And that our mock listener has been called when the dialog was dismissed
993 * Helper method to verify dialog state after a button has been clicked.
1009 * that gets CharSequence parameter. This method configures the dialog buttons based
1012 * on the specified button and then tests the post-click dialog state.
1030 // Set a dismiss listener to verify that the dialog is dismissed on clicking any button
1035 // Wire the builder to the button click and click that button to show the dialog
1039 // Check that the dialog is showing the configured buttons
1061 * that gets string resource ID parameter. This method configures the dialog buttons based
1064 * on the specified button and then tests the post-click dialog state.
1091 // Set a dismiss listener to verify that the dialog is dismissed on clicking any button
1096 // Wire the builder to the button click and click that button to show the dialog
1100 // Check that the dialog is showing the configured buttons
1122 * dialog has been create()'d. This method configures the dialog buttons based
1125 * on the specified button and then tests the post-click dialog state.
1132 // Set a dismiss listener to verify that the dialog is dismissed on clicking any button
1162 // Click the button to create the dialog, configure the buttons and show the dialog
1165 // Check that the dialog is showing the configured buttons
1187 * dialog has been create()'d. This method configures the dialog buttons based
1190 * on the specified button and then tests the post-click dialog state.
1197 // Set a dismiss listener to verify that the dialog is dismissed on clicking any button
1225 // Click the button to create the dialog, configure the buttons and show the dialog
1228 // Check that the dialog is showing the configured buttons