Home
last modified time | relevance | path

Searched refs:dialog (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/app/src/android/app/cts/
DProgressDialogTest.java100 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); in testShow2() local
106 assertTrue(dialog.isIndeterminate()); in testShow2()
108 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); in testShow2()
109 assertTrue(dialog.isIndeterminate()); in testShow2()
114 public void onCancel(DialogInterface dialog) { in testShow3()
122 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); in testShow3()
124 dialog.setOnCancelListener(cL); in testShow3()
125 dialog.onBackPressed(); in testShow3()
126 dialog.dismiss(); in testShow3()
136 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true); in testShow3()
[all …]
DDialogTest.java173 Dialog dialog = new Dialog(mContext); in testAccessOwnerActivity()
174 assertNull(dialog.getOwnerActivity()); in testAccessOwnerActivity()
517 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in testDispatchKeyEvent()
746 public void onCancel(DialogInterface dialog) { in testCancel_listener()
778 public void onCancel(DialogInterface dialog) { in testSetCancelMessage()
802 public void onDismiss(DialogInterface dialog) { in testSetOnDismissListener_listener()
835 public void onDismiss(DialogInterface dialog) { in testSetDismissMessage()
868 public MockDismissCancelHandler(Dialog dialog, Looper looper) { in MockDismissCancelHandler() argument
871 mDialog = new WeakReference<DialogInterface>(dialog); in MockDismissCancelHandler()
DAlertDialog_BuilderTest.java71 public void onClick(DialogInterface dialog, int which) {
77 public void onCancel(DialogInterface dialog) {
83 public boolean onKey(DialogInterface dialog, int key, KeyEvent envnt) {
101 public void onClick(DialogInterface dialog, int which, boolean isChecked) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java53 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newImageInstance() local
56 dialog.setArguments(args); in newImageInstance()
57 return dialog; in newImageInstance()
64 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newVideoInstance() local
67 dialog.setArguments(args); in newVideoInstance()
68 return dialog; in newVideoInstance()
75 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newAudioInstance() local
78 dialog.setArguments(args); in newAudioInstance()
79 return dialog; in newAudioInstance()
84 final Dialog dialog = new Dialog(getActivity()); in onCreateDialog() local
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
DTagVerifierActivity.java317 public void onClick(DialogInterface dialog, int which) { in createTestableTagDiscoveredDialog()
323 public void onCancel(DialogInterface dialog) { in createTestableTagDiscoveredDialog()
340 ProgressDialog dialog = new ProgressDialog(this);
341 dialog.setMessage(getString(R.string.nfc_writing_tag));
342 return dialog;
346 ProgressDialog dialog = new ProgressDialog(this);
347 dialog.setMessage(getString(R.string.nfc_reading_tag));
348 return dialog;
362 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) {
365 prepareVerifyResultDialog(dialog, args);
[all …]
DNfcDialogs.java37 public void onClick(DialogInterface dialog, int which) { in createNotEnabledDialog()
52 public void onClick(DialogInterface dialog, int which) {
77 public void onClick(DialogInterface dialog, int which) {
DNdefPushReceiverActivity.java137 protected void onPrepareDialog(int id, Dialog dialog, Bundle args) { in onPrepareDialog() argument
141 AlertDialog alert = (AlertDialog) dialog; in onPrepareDialog()
151 super.onPrepareDialog(id, dialog, args); in onPrepareDialog()
/cts/tests/tests/widget/src/android/widget/cts/
DSpinnerTest.java125 Dialog dialog = new Dialog(getActivity()); in testOnClick() local
126 dialog.show(); in testOnClick()
127 assertTrue(dialog.isShowing()); in testOnClick()
128 spinner.onClick(dialog, -10); in testOnClick()
130 assertFalse(dialog.isShowing()); in testOnClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java79 public void onClick(DialogInterface dialog, int which) { in onCreate()
85 public void onClick(DialogInterface dialog, int which) { in onCreate()
91 public void onCancel(DialogInterface dialog) { in onCreate()
103 public void onCancel(DialogInterface dialog) { in startScan()
269 public void onClick(DialogInterface dialog, int which) { in onPostExecute()
270 dialog.dismiss(); in onPostExecute()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DDialogTestListActivity.java136 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()
142 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()
152 final AlertDialog dialog = dialogBuilder.show(); in showManualTestDialog() local
155 dialog.getButton(AlertDialog.BUTTON_NEUTRAL).setOnClickListener(new OnClickListener() { in showManualTestDialog()
159 dialog.dismiss(); in showManualTestDialog()
DPassFailButtons.java373 public void onClick(DialogInterface dialog, int which) { in createInfoDialog()
378 public void onCancel(DialogInterface dialog) { in createInfoDialog()
/cts/tests/app/src/android/app/cts/
DDialogStubActivity.java207 public void onCancel(DialogInterface dialog) { in onCreateDialog()
214 public void onCancel(DialogInterface dialog) { in onCreateDialog()
229 public void onCancel(DialogInterface dialog) { in getAlertDialogCancelablInstance()
371 public void onClick(DialogInterface dialog, int which) { in onClick() argument
400 public void onClick(DialogInterface dialog, int which) { in onClick() argument
402 super.onClick(dialog, which); in onClick()
DAppStubActivity.java81 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
82 super.onPrepareDialog(id, dialog); in onPrepareDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DConnectionAccessServerActivity.java160 public void onClick(DialogInterface dialog, int which) { in onReceive()
167 public void onClick(DialogInterface dialog, int which) { in onReceive()
DDevicePickerActivity.java170 public void onClick(DialogInterface dialog, int which) { in onItemClick()
DMessageTestActivity.java347 public void onClick(DialogInterface dialog, int which) { in showPairingErrorDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java259 public void onClick(DialogInterface dialog, int which) { in onPictureTaken()
381 public void onClick(DialogInterface dialog, int which) { in showNextDialogToChoosePreviewSize()
385 dialog.dismiss(); in showNextDialogToChoosePreviewSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java148 public void onClick(DialogInterface dialog, int which) { in showP2pEnableDialog()
DRequesterTestActivity.java269 public void onClick(DialogInterface dialog, int which) { in showSelectTargetDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/
DPlayVideoActivity.java120 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
DStreamingVideoActivity.java171 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java95 public void onClick(DialogInterface dialog, int which) { in makePaymentDefault()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DFingerprintBoundKeysTest.java227 public void onDismiss(DialogInterface dialog) { in onDismiss() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUsbAccessoryTestActivity.java117 public void onClick(DialogInterface dialog, int which) { in showNoUsbAccessoryDialog()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java439 public boolean onCreateWindow(WebView view, boolean dialog, boolean userGesture, in onCreateWindow() argument

12