/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 | TileServiceTest.java | 95 Dialog dialog = new AlertDialog.Builder(mContext).create(); in testShowDialog() local 100 mTileService.showDialog(dialog); in testShowDialog() 102 assertTrue(dialog.isShowing()); in testShowDialog() 103 dialog.dismiss(); in testShowDialog()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DialogFrameTests.java | 94 WindowState dialog = getSingleWindow(DIALOG_WINDOW_NAME); in doSingleTest() local 97 t.doTest(parent, dialog); in doSingleTest() 104 doParentChildTest(TEST_MATCH_PARENT, (parent, dialog) -> { ; in testMatchParentDialog() 105 assertEquals(getParentFrameWithInsets(parent), dialog.getFrame()); in testMatchParentDialog() 114 doParentChildTest(TEST_EXPLICIT_SIZE, (parent, dialog) -> { in testExplicitSizeDefaultGravity() 121 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeDefaultGravity() 127 doParentChildTest(TEST_EXPLICIT_SIZE_TOP_LEFT_GRAVITY, (parent, dialog) -> { in testExplicitSizeTopLeftGravity() 134 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeTopLeftGravity() 140 doParentChildTest(TEST_EXPLICIT_SIZE_BOTTOM_RIGHT_GRAVITY, (parent, dialog) -> { in testExplicitSizeBottomRightGravity() 147 assertEquals(expectedFrame, dialog.getFrame()); in testExplicitSizeBottomRightGravity() [all …]
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleConnectionPriorityServerBaseActivity.java | 110 public void onCancel(DialogInterface dialog) { in showErrorDialog() 131 public void onCancel(DialogInterface dialog) { 150 public void onClick(DialogInterface dialog, int which) { 156 public void onCancel(DialogInterface dialog) { 187 ProgressDialog dialog = new ProgressDialog(this); in showProgressDialog() local 188 dialog.setTitle(R.string.ble_test_running); in showProgressDialog() 189 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); in showProgressDialog() 190 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 191 dialog.setCanceledOnTouchOutside(false); in showProgressDialog() 192 mDialog = dialog; in showProgressDialog()
|
D | BleConnectionPriorityClientBaseActivity.java | 110 ProgressDialog dialog = new ProgressDialog(this); in showProgressDialog() local 111 dialog.setTitle(R.string.ble_test_running); in showProgressDialog() 112 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); in showProgressDialog() 113 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 114 dialog.setCanceledOnTouchOutside(false); in showProgressDialog() 115 mDialog = dialog; in showProgressDialog() 126 public void onCancel(DialogInterface dialog) { in showErrorDialog() 191 public void onCancel(DialogInterface dialog) {
|
D | BleCocClientTestBaseActivity.java | 124 ProgressDialog dialog = new ProgressDialog(this); in showProgressDialog() local 125 dialog.setTitle(R.string.ble_test_running); in showProgressDialog() 126 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); in showProgressDialog() 127 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 128 dialog.setCanceledOnTouchOutside(false); in showProgressDialog() 129 mDialog = dialog; in showProgressDialog() 153 public void onCancel(DialogInterface dialog) { in showErrorDialog() 276 public void onClick(DialogInterface dialog, int which) {
|
D | BleEncryptedClientBaseActivity.java | 144 public void onCancel(DialogInterface dialog) { in showErrorDialog() 162 ProgressDialog dialog = new ProgressDialog(this); in showProgressDialog() local 163 dialog.setTitle(R.string.ble_test_running); in showProgressDialog() 164 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); in showProgressDialog() 165 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 166 dialog.setCanceledOnTouchOutside(false); in showProgressDialog() 167 mDialog = dialog; in showProgressDialog()
|
D | BleClientTestBaseActivity.java | 160 ProgressDialog dialog = new ProgressDialog(this); in showProgressDialog() local 161 dialog.setTitle(R.string.ble_test_running); in showProgressDialog() 162 dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER); in showProgressDialog() 163 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog() 164 dialog.setCanceledOnTouchOutside(false); in showProgressDialog() 165 mDialog = dialog; in showProgressDialog() 202 public void onCancel(DialogInterface dialog) { in showErrorDialog() 409 public void onClick(DialogInterface dialog, int which) {
|
/cts/hostsidetests/systemui/app/src/android/systemui/cts/ |
D | TestTileService.java | 111 final Dialog dialog = new Dialog(this); in handleShowDialog() local 112 dialog.setContentView(new FocusView(this, dialog)); in handleShowDialog() 114 super.showDialog(dialog); in handleShowDialog() 123 public FocusView(Context context, Dialog dialog) { in FocusView() argument 125 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/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Dialogs/ |
D | AccuracyResultDialog.java | 33 AccuracyResultDialog dialog = new AccuracyResultDialog(); in newInstance() local 34 dialog.setup(resultObject); in newInstance() 35 return dialog; in newInstance()
|
D | ComplexMovementResultDialog.java | 33 ComplexMovementResultDialog dialog = new ComplexMovementResultDialog(); in newInstance() local 34 dialog.setup(resultObject); in newInstance() 35 return dialog; in newInstance()
|
D | Lap2Dialog.java | 34 Lap2Dialog dialog = new Lap2Dialog(); in newInstance() local 35 return dialog; in newInstance() 52 public void onClick(DialogInterface dialog, int which) { in onCreateDialog()
|
D | RobustnessResultDialog.java | 33 RobustnessResultDialog dialog = new RobustnessResultDialog(); in newInstance() local 34 dialog.setup(resultObject); in newInstance() 35 return dialog; in newInstance()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Fragments/ |
D | AccuracyFragment.java | 226 AccuracyResultDialog dialog = AccuracyResultDialog.newInstance(result); in onResult() local 227 dialog.setTargetFragment(AccuracyFragment.this, DIALOG_FRAGMENT); in onResult() 228 dialog.show(getActivity().getFragmentManager(), "ResultDialogFragment"); in onResult() 276 AlertDialog dialog = builder.create(); in showInitialDialog() local 277 dialog.show(); in showInitialDialog() 284 DialogFragment dialog = Lap2Dialog.newInstance(); in onBackToFirstWaypoint() local 285 dialog.setTargetFragment(AccuracyFragment.this, DIALOG_FRAGMENT); in onBackToFirstWaypoint() 286 dialog.show(getActivity().getFragmentManager(), "Lap2DialogFragment"); in onBackToFirstWaypoint()
|
D | ComplexMovementFragment.java | 182 AlertDialog dialog = builder.create(); in showInitialDialog() local 183 dialog.show(); in showInitialDialog() 199 ComplexMovementResultDialog dialog = ComplexMovementResultDialog.newInstance(result); in onResult() local 200 dialog.setTargetFragment(ComplexMovementFragment.this, DIALOG_FRAGMENT); in onResult() 201 dialog.show(getActivity().getFragmentManager(), "ResultDialogFragment"); in onResult()
|
D | RobustnessFragment.java | 192 AlertDialog dialog = builder.create(); in showInitialDialog() local 193 dialog.show(); in showInitialDialog() 202 RobustnessResultDialog dialog = RobustnessResultDialog.newInstance(result); in onResult() 203 dialog.setTargetFragment(RobustnessFragment.this, DIALOG_FRAGMENT); in onResult() 204 dialog.show(getActivity().getFragmentManager(), "ResultDialogFragment"); in onResult()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 170 final AlertDialog dialog; in getBottomNavigationBarBitmapForActivity() local 172 dialog = getOnMainSync(() -> { in getBottomNavigationBarBitmapForActivity() 183 dialog = null; in getBottomNavigationBarBitmapForActivity() 192 if (dialog != null) { in getBottomNavigationBarBitmapForActivity() 195 dialog.dismiss(); in getBottomNavigationBarBitmapForActivity()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | NavigationBarColorTest.java | 182 final AlertDialog dialog = new AlertDialog.Builder(activity) in showDialogIfNecessary() 185 dialog.getWindow().setFlags(FLAG_DIM_BEHIND | FLAG_ALT_FOCUSABLE_IM, in showDialogIfNecessary() 187 dialog.show(); in showDialogIfNecessary() 188 return dialog; in showDialogIfNecessary() 201 final AlertDialog dialog = new AlertDialog.Builder(activity) in showDialogIfNecessary() 204 dialog.getWindow().setFlags(FLAG_DIM_BEHIND, in showDialogIfNecessary() 206 dialog.show(); in showDialogIfNecessary() 207 return dialog; in showDialogIfNecessary()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | WebLinkActivity.java | 44 public void onClick(DialogInterface dialog, int which) { in onCreate() 52 public void onClick(DialogInterface dialog, int which) { in onCreate()
|
/cts/tests/tests/hardware/src/android/hardware/biometrics/cts/ |
D | BiometricPromptTest.java | 87 builder.setNegativeButton(negativeButtonText, mExecutor, (dialog, which) -> { in test_authenticate_fingerprint() 112 .setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in test_isConfirmationRequired() 124 .setNegativeButton("Cancel", mExecutor, (dialog, which) -> { in test_setAllowedAuthenticators_withoutDeviceCredential()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | DialogTestListActivity.java | 172 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog() 178 public void onClick(DialogInterface dialog, int which) { in showManualTestDialog() 188 final AlertDialog dialog = dialogBuilder.show(); in showManualTestDialog() local 191 dialog.getButton(AlertDialog.BUTTON_NEUTRAL).setOnClickListener(new OnClickListener() { in showManualTestDialog() 195 dialog.dismiss(); in showManualTestDialog()
|