/cts/tests/app/src/android/app/cts/ |
D | ProgressDialogTest.java | 101 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 …]
|
D | DialogTest.java | 177 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()
|
D | AlertDialog_BuilderCursorTest.java | 78 public void onClick(DialogInterface dialog, int which, in onClick() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodPresentMediaDialog.java | 62 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/ |
D | ScopedDirectoryAccessClientTest.java | 111 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/ |
D | TestTileService.java | 109 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/ |
D | TagVerifierActivity.java | 317 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 …]
|
D | NfcDialogs.java | 37 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) {
|
D | NdefPushReceiverActivity.java | 137 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/ |
D | SpinnerTest.java | 125 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/ |
D | SuidFilesActivity.java | 79 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/ |
D | DialogTestListActivity.java | 133 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()
|
D | PassFailButtons.java | 376 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/ |
D | DialogStubActivity.java | 221 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()
|
D | AppStubActivity.java | 79 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/ |
D | RVCVXCheckTestActivity.java | 399 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/ |
D | ConnectionAccessServerActivity.java | 160 public void onClick(DialogInterface dialog, int which) { in onReceive() 167 public void onClick(DialogInterface dialog, int which) { in onReceive()
|
D | DevicePickerActivity.java | 170 public void onClick(DialogInterface dialog, int which) { in onItemClick()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | PhotoCaptureActivity.java | 263 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/ |
D | P2pTestListActivity.java | 148 public void onClick(DialogInterface dialog, int which) { in showP2pEnableDialog()
|
D | RequesterTestActivity.java | 269 public void onClick(DialogInterface dialog, int which) { in showSelectTargetDialog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
D | UsbAccessoryTestActivity.java | 141 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/ |
D | PlayVideoActivity.java | 120 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
D | StreamingVideoActivity.java | 171 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | BaseEmulatorActivity.java | 95 public void onClick(DialogInterface dialog, int which) { in makePaymentDefault()
|