/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AlertDialogTest.java | 16 import android.app.AlertDialog; 33 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); 36 AlertDialog alert = builder.create(); 53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); 59 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); 61 AlertDialog dialog = builder.create(); 63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConfirmDialogFragment.java | 20 import android.app.AlertDialog; 50 private final AlertDialog.OnClickListener POSITIVE_ACTION = new AlertDialog.OnClickListener() { 56 final AlertDialog.OnClickListener listener = 84 final AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAlertDialog.java | 4 import android.app.AlertDialog; 25 @Implements(AlertDialog.class) 28 private AlertDialog realAlertDialog; 49 * @return the most recently created {@code AlertDialog}, or null if none has been created during this test run 51 public static AlertDialog getLatestAlertDialog() { 72 * Resets the tracking of the most recently created {@code AlertDialog} 91 case AlertDialog.BUTTON_POSITIVE: 93 case AlertDialog.BUTTON_NEGATIVE: 95 case AlertDialog.BUTTON_NEUTRAL: 104 case AlertDialog.BUTTON_POSITIVE [all...] |
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
Test2DetailFragment.java | 19 import android.app.AlertDialog; 50 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 54 AlertDialog diag = builder.create(); 71 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 75 AlertDialog diag = builder.create(); 83 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 87 AlertDialog diag = builder.create() [all...] |
Test1DetailFragment.java | 19 import android.app.AlertDialog; 69 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 73 AlertDialog diag = builder.create();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
NfcDialogs.java | 21 import android.app.AlertDialog; 30 static AlertDialog createNotEnabledDialog(final Context context) { 31 return new AlertDialog.Builder(context) 45 static AlertDialog createNdefPushNotEnabledDialog(final Context context) { 46 return new AlertDialog.Builder(context) 60 public static AlertDialog createHceTapReaderDialog(final Context context, String message) { 62 return new AlertDialog.Builder(context)
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SecureDialogActivity.java | 22 import android.app.AlertDialog; 81 AlertDialog dialog = new AlertDialog.Builder(this)
|
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/ |
SignoutFragment.java | 7 import android.app.AlertDialog; 22 return new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT)
|
AccountChooserFragment.java | 7 import android.app.AlertDialog; 33 return new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT)
|
/cts/tests/tests/permission/src/android/permission/cts/ |
PermissionStubActivity.java | 20 import android.app.AlertDialog; 44 return new AlertDialog.Builder(PermissionStubActivity.this).create();
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/ |
RepostFormWarningTest.java | 7 import android.app.AlertDialog; 65 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); 69 clickButton(dialog, AlertDialog.BUTTON_POSITIVE); 92 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); 96 clickButton(dialog, AlertDialog.BUTTON_NEGATIVE); 134 private void clickButton(final AlertDialog dialog, final int buttonId) throws Throwable {
|
/external/javassist/sample/rmi/ |
AlertDialog.java | 6 public class AlertDialog extends Frame implements ActionListener {
9 public AlertDialog() {
|
/packages/apps/Email/src/com/android/email/ |
RequireManualSyncDialog.java | 21 import android.app.AlertDialog; 26 public class RequireManualSyncDialog extends AlertDialog implements OnClickListener {
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
ChangeDefaultEmulatorActivity.java | 4 import android.app.AlertDialog; 55 AlertDialog.Builder builder = new AlertDialog.Builder(this); 62 AlertDialog.Builder builder = new AlertDialog.Builder(this); 118 AlertDialog.Builder builder = new AlertDialog.Builder(this); 133 AlertDialog.Builder builder = new AlertDialog.Builder(this); 142 AlertDialog.Builder builder = new AlertDialog.Builder(this) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
PostCharDialogFragment.java | 20 import android.app.AlertDialog; 49 final AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 65 final AlertDialog dialog = builder.create();
|
/packages/apps/Mms/src/com/android/mms/ui/ |
MiniPreferenceActivity.java | 9 import android.app.AlertDialog; 34 AlertDialog.Builder builder = new AlertDialog.Builder(this); 35 AlertDialog dialog = builder.setMessage(getResources()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
AlertDialogs.java | 19 import android.app.AlertDialog;
56 public static AlertDialog createAlert(Context context, String title, int iconId,
60 final AlertDialog.Builder builder = new AlertDialog.Builder(context);
71 final AlertDialog dialog = builder.create();
93 public static AlertDialog createEditDialog(Context context, String title, String text,
98 final AlertDialog.Builder builder = new AlertDialog.Builder(context);
127 final AlertDialog dialog = builder.create();
152 mPositiveButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE); [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
ConfirmConnectActivity.java | 20 import android.app.AlertDialog; 34 AlertDialog.Builder builder = new AlertDialog.Builder(this, AlertDialog.THEME_HOLO_DARK); 61 AlertDialog alert = builder.create();
|
/packages/services/Telephony/src/com/android/phone/ |
ErrorDialogActivity.java | 20 import android.app.AlertDialog; 73 final AlertDialog errorDialog = new AlertDialog.Builder(this) 81 final AlertDialog missingVoicemailDialog = new AlertDialog.Builder(this)
|
HfaActivity.java | 20 import android.app.AlertDialog; 40 private AlertDialog mDialog; 84 mDialog = new AlertDialog.Builder(this) 111 AlertDialog errorDialog = new AlertDialog.Builder(this)
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
GroupNameDialogFragment.java | 18 import android.app.AlertDialog; 45 final AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 64 final AlertDialog dialog = builder.create(); 91 /* package */ void updateOkButtonState(AlertDialog dialog, EditText editText) { 92 final Button okButton = dialog.getButton(AlertDialog.BUTTON_POSITIVE);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PurgeableBitmap.java | 19 import android.app.AlertDialog; 106 AlertDialog.Builder builder = new AlertDialog.Builder(this); 113 AlertDialog alert = builder.create();
|
/packages/apps/Calendar/src/com/android/calendar/ |
EditResponseHelper.java | 20 import android.app.AlertDialog; 32 private AlertDialog mAlertDialog; 129 AlertDialog dialog = new AlertDialog.Builder(mParent).setTitle(
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
AlertDialogBuilder.java | 19 import android.app.AlertDialog; 47 AlertDialog.Builder builder = new AlertDialog.Builder(view.getContext());
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
RepostFormWarningDialog.java | 7 import android.app.AlertDialog; 33 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity())
|