Home
last modified time | relevance | path

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

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DAlertDialogTest.java16 import android.app.AlertDialog;
33 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in testBuilder()
36 AlertDialog alert = builder.create(); in testBuilder()
53 AlertDialog dialog = new AlertDialog.Builder(new ContextWrapper(null)).show(); in getLatestAlertDialog_shouldReturnARealAlertDialog()
59 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in shouldOnlyCreateRequestedButtons()
61 AlertDialog dialog = builder.create(); in shouldOnlyCreateRequestedButtons()
63 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_POSITIVE), not(nullValue())); in shouldOnlyCreateRequestedButtons()
64 assertThat(shadowOf(dialog).getButton(AlertDialog.BUTTON_NEGATIVE), nullValue()); in shouldOnlyCreateRequestedButtons()
69 AlertDialog.Builder builder = new AlertDialog.Builder(new ContextWrapper(null)); in shouldAllowNullButtonListeners()
71 AlertDialog dialog = builder.create(); in shouldAllowNullButtonListeners()
[all …]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowAlertDialog.java4 import android.app.AlertDialog;
25 @Implements(AlertDialog.class)
28 private AlertDialog realAlertDialog;
51 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog()
91 case AlertDialog.BUTTON_POSITIVE: in getButton()
93 case AlertDialog.BUTTON_NEGATIVE: in getButton()
95 case AlertDialog.BUTTON_NEUTRAL: in getButton()
104 case AlertDialog.BUTTON_POSITIVE: in setButton()
107 case AlertDialog.BUTTON_NEGATIVE: in setButton()
110 case AlertDialog.BUTTON_NEUTRAL: in setButton()
[all …]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/
DRepostFormWarningTest.java7 import android.app.AlertDialog;
65 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); in testFormResubmissionContinue()
69 clickButton(dialog, AlertDialog.BUTTON_POSITIVE); in testFormResubmissionContinue()
92 AlertDialog dialog = (AlertDialog)RepostFormWarningDialog.getCurrentDialog(); in testFormResubmissionCancel()
96 clickButton(dialog, AlertDialog.BUTTON_NEGATIVE); in testFormResubmissionCancel()
134 private void clickButton(final AlertDialog dialog, final int buttonId) throws Throwable { in clickButton()
/external/chromium_org/chrome/android/testshell/java/src/org/chromium/chrome/testshell/sync/
DSignoutFragment.java7 import android.app.AlertDialog;
22 return new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT) in onCreateDialog()
DAccountChooserFragment.java7 import android.app.AlertDialog;
33 return new AlertDialog.Builder(getActivity(), AlertDialog.THEME_HOLO_LIGHT) in onCreateDialog()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DRepostFormWarningDialog.java7 import android.app.AlertDialog;
33 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()) in onCreateDialog()
DJavascriptAppModalDialog.java7 import android.app.AlertDialog;
32 private AlertDialog mDialog;
86 AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(context) in showJavascriptAppModalDialog()
140 public AlertDialog getDialogForTest() { in getDialogForTest()
/external/chromium_org/third_party/libjingle/source/talk/examples/android/src/org/appspot/apprtc/
DUnhandledExceptionHandler.java31 import android.app.AlertDialog;
77 AlertDialog.Builder builder = in uncaughtException()
78 new AlertDialog.Builder(activity); in uncaughtException()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DSelectPopupDialog.java7 import android.app.AlertDialog;
35 private AlertDialog mListBoxPopup = null;
47 AlertDialog.Builder b = new AlertDialog.Builder(mContext) in SelectPopupDialog()
DTwoFieldDatePickerDialog.java7 import android.app.AlertDialog;
16 public abstract class TwoFieldDatePickerDialog extends AlertDialog implements OnClickListener,
DDateTimePickerDialog.java7 import android.app.AlertDialog;
22 class DateTimePickerDialog extends AlertDialog implements OnClickListener,
DInputDialogContainer.java7 import android.app.AlertDialog;
53 private AlertDialog mDialog;
172 mDialog = new AlertDialog.Builder(mContext) in showSuggestionDialog()
/external/javassist/sample/rmi/
DAlertDialog.java6 public class AlertDialog extends Frame implements ActionListener { class
9 public AlertDialog() { in AlertDialog() method in AlertDialog
DCountApplet.java14 private AlertDialog dialog;
43 dialog = new AlertDialog(); in commonInit()
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/jni/
DJniInterface.java8 import android.app.AlertDialog;
198 AlertDialog.Builder pinPrompt = new AlertDialog.Builder(sContext); in displayAuthenticationPrompt()
236 final AlertDialog pinDialog = pinPrompt.create(); in displayAuthenticationPrompt()
243 pinDialog.getButton(AlertDialog.BUTTON_POSITIVE).performClick(); in displayAuthenticationPrompt()
254 pinDialog.getButton(AlertDialog.BUTTON_NEGATIVE).performClick(); in displayAuthenticationPrompt()
/external/chromium_org/ui/webui/resources/js/cr/ui/
Ddialogs.js243 function AlertDialog(parentNode) { class
248 AlertDialog.prototype = {__proto__: BaseDialog.prototype}; class
250 AlertDialog.prototype.show = function(message, onOk, onShow) {
309 AlertDialog: AlertDialog,
/external/jmonkeyengine/engine/src/android/com/jme3/app/
DAndroidHarness.java4 import android.app.AlertDialog;
305AlertDialog dialog = new AlertDialog.Builder(AndroidHarness.this) // .setIcon(R.drawable.alert_dia… in handleError()
340AlertDialog dialog = new AlertDialog.Builder(AndroidHarness.this) // .setIcon(R.drawable.alert_dia… in onTouch()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/signin/
DSigninManager.java9 import android.app.AlertDialog;
64 private AlertDialog mPolicyConfirmationDialog;
221 AlertDialog.Builder builder = new AlertDialog.Builder(mSignInActivity); in onPolicyCheckedBeforeSignIn()
/external/chromium_org/ui/android/java/src/org/chromium/ui/
DColorPickerDialog.java7 import android.app.AlertDialog;
20 public class ColorPickerDialog extends AlertDialog implements OnColorChangedListener {
/external/replicaisland/src/com/replica/replicaisland/
DExtrasMenuActivity.java7 import android.app.AlertDialog;
157 dialog = new AlertDialog.Builder(this) in onCreateDialog()
168 dialog = new AlertDialog.Builder(this) in onCreateDialog()
DMainMenuActivity.java24 import android.app.AlertDialog;
336 dialog = new AlertDialog.Builder(this) in onCreateDialog()
342 dialog = new AlertDialog.Builder(this) in onCreateDialog()
359 dialog = new AlertDialog.Builder(this) in onCreateDialog()
/external/zxing/qr_scanner/src/com/google/zxing/client/android/
DCaptureActivity.java25 import android.app.AlertDialog;
276 AlertDialog.Builder builder = new AlertDialog.Builder(this); in displayFrameworkBugMessageAndExit()
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/test/
DModalDialogTest.java7 import android.app.AlertDialog;
250 final AlertDialog dialog = jsDialog.getDialogForTest(); in testDisableRepeatedDialogs()
333 private Button[] getAlertDialogButtons(final AlertDialog dialog) throws ExecutionException { in getAlertDialogButtons()
/external/droiddriver/samples/testapp/src/com/google/android/apps/common/testing/ui/testapp/
DSendActivity.java4 import android.app.AlertDialog;
112 new AlertDialog.Builder(this) in showDialog()
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/
DOGLESContext.java35 import android.app.AlertDialog;
507AlertDialog dialogTextInput = new AlertDialog.Builder(JmeAndroidSystem.getActivity()).setTitle(tit… in requestDialog()

12