Home
last modified time | relevance | path

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

12

/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); in testShow2() local
107 assertTrue(dialog.isIndeterminate()); in testShow2()
109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); in testShow2()
110 assertTrue(dialog.isIndeterminate()); in testShow2()
115 public void onCancel(DialogInterface dialog) { in testShow3()
123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); in testShow3()
125 dialog.setOnCancelListener(cL); in testShow3()
126 dialog.onBackPressed(); in testShow3()
127 dialog.dismiss(); in testShow3()
137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true); in testShow3()
[all …]
DDialogTest.java177 Dialog dialog = new Dialog(mContext); in testAccessOwnerActivity()
178 assertNull(dialog.getOwnerActivity()); in testAccessOwnerActivity()
528 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { in testDispatchKeyEvent()
757 public void onCancel(DialogInterface dialog) { in testCancel_listener()
789 public void onCancel(DialogInterface dialog) { in testSetCancelMessage()
813 public void onDismiss(DialogInterface dialog) { in testSetOnDismissListener_listener()
846 public void onDismiss(DialogInterface dialog) { in testSetDismissMessage()
879 public MockDismissCancelHandler(Dialog dialog, Looper looper) { in MockDismissCancelHandler() argument
882 mDialog = new WeakReference<DialogInterface>(dialog); in MockDismissCancelHandler()
DAlertDialog_BuilderCursorTest.java78 public void onClick(DialogInterface dialog, int which, in onClick() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java62 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newImageInstance() local
65 dialog.setArguments(args); in newImageInstance()
66 return dialog; in newImageInstance()
73 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newVideoInstance() local
76 dialog.setArguments(args); in newVideoInstance()
77 return dialog; in newVideoInstance()
84 ByodPresentMediaDialog dialog = new ByodPresentMediaDialog(); in newAudioInstance() local
87 dialog.setArguments(args); in newAudioInstance()
88 return dialog; in newAudioInstance()
103 final Dialog dialog = new Dialog(getActivity()); in onCreateDialog() local
[all …]
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java111 final UiAlertDialog dialog = openExternalDirectoryValidPath(volume, dir); in userRejectsTest() local
112 dialog.noButton.click(); in userRejectsTest()
195 UiAlertDialog dialog = openExternalDirectoryValidPath(volume, dir); in testDeniesOnceButAllowsAskingAgain() local
196 dialog.assertDoNotAskAgainVisibility(false); in testDeniesOnceButAllowsAskingAgain()
197 dialog.noButton.click(); in testDeniesOnceButAllowsAskingAgain()
201 dialog = openExternalDirectoryValidPath(volume, dir); in testDeniesOnceButAllowsAskingAgain()
202 dialog.assertDoNotAskAgainVisibility(true); in testDeniesOnceButAllowsAskingAgain()
203 dialog.noButton.click(); in testDeniesOnceButAllowsAskingAgain()
220 UiAlertDialog dialog = openExternalDirectoryValidPath(volume, dir); in testDeniesOnceForAll() local
221 dialog.assertDoNotAskAgainVisibility(false); in testDeniesOnceForAll()
[all …]
/cts/hostsidetests/systemui/app/src/android/systemui/cts/
DTestTileService.java109 final Dialog dialog = new Dialog(this); in handleShowDialog() local
110 dialog.setContentView(new FocusView(this, dialog)); in handleShowDialog()
112 showDialog(dialog); in handleShowDialog()
121 public FocusView(Context context, Dialog dialog) { in FocusView() argument
123 mDialog = dialog; in FocusView()
/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.java133 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()
139 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog()
149 final AlertDialog dialog = dialogBuilder.show(); in showManualTestDialog() local
152 dialog.getButton(AlertDialog.BUTTON_NEUTRAL).setOnClickListener(new OnClickListener() { in showManualTestDialog()
156 dialog.dismiss(); in showManualTestDialog()
DPassFailButtons.java376 public void onClick(DialogInterface dialog, int which) { in createInfoDialog()
381 public void onCancel(DialogInterface dialog) { in createInfoDialog()
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java221 public void onCancel(DialogInterface dialog) { in onCreateDialog()
228 public void onCancel(DialogInterface dialog) { in onCreateDialog()
254 public void onCancel(DialogInterface dialog) { in getAlertDialogCancelableInstance()
396 public void onClick(DialogInterface dialog, int which) { in onClick() argument
425 public void onClick(DialogInterface dialog, int which) { in onClick() argument
427 super.onClick(dialog, which); in onClick()
DAppStubActivity.java79 protected void onPrepareDialog(int id, Dialog dialog) { in onPrepareDialog() argument
80 super.onPrepareDialog(id, dialog); in onPrepareDialog()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVXCheckTestActivity.java399 AlertDialog dialog = in showOpenCVLibaryLicenseDisplayButton()
404 public void onClick(DialogInterface dialog, int id) { in showOpenCVLibaryLicenseDisplayButton()
405 dialog.dismiss(); in showOpenCVLibaryLicenseDisplayButton()
410 TextView textView = (TextView) dialog.findViewById(android.R.id.message); in showOpenCVLibaryLicenseDisplayButton()
/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()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java263 public void onClick(DialogInterface dialog, int which) { in onPictureTaken()
386 public void onClick(DialogInterface dialog, int which) { in showNextDialogToChoosePreviewSize()
390 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/usb/
DUsbAccessoryTestActivity.java141 public void onClick(DialogInterface dialog, int which) { in onCreate()
167 public void onClick(DialogInterface dialog, int which) { in showNoUsbAccessoryDialog()
/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()

12