/cts/tests/tests/text/src/android/text/method/cts/ |
D | CharacterPickerDialogTest.java | 85 assertTrue(replacePickerDialog.isShowing()); in testOnItemClick() 89 assertFalse(replacePickerDialog.isShowing()); in testOnItemClick() 94 assertTrue(replacePickerDialog.isShowing()); in testOnItemClick() 98 assertFalse(replacePickerDialog.isShowing()); in testOnItemClick() 107 assertTrue(insertPickerDialog.isShowing()); in testOnItemClick() 111 assertFalse(insertPickerDialog.isShowing()); in testOnItemClick() 124 assertTrue(characterPickerDialog.isShowing()); in testOnClick()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialogTest.java | 77 PollingCheck.waitFor(mActivity.getDialog()::isShowing); in startDialogActivity() 88 assertTrue(mActivity.getDialog().isShowing()); in doTestAlertDialog() 129 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogAPIWithMessage() 180 assertTrue(mActivity.getDialog().isShowing()); in testCustomAlertDialog() 186 assertTrue(mActivity.getDialog().isShowing()); in testCustomAlertDialogView() 203 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogTheme() 209 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogCancelable() 218 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogNotCancelable() 227 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogIconDrawable() 233 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogIconAttribute()
|
D | DialogTest.java | 254 assertFalse(d.isShowing()); in testShow() 262 assertTrue(d.isShowing()); in testShow() 264 assertFalse(d.isShowing()); in testShow() 489 assertTrue(d.isShowing()); in testTouchEvent() 503 assertFalse(d.isShowing()); in testTouchEvent() 795 assertTrue(d.isShowing()); in testSetCancellable_true() 797 PollingCheck.waitFor(() -> !d.isShowing()); in testSetCancellable_true() 806 assertTrue(d.isShowing()); in testSetCancellable_false() 808 assertTrue(d.isShowing()); in testSetCancellable_false() 817 assertTrue(d.isShowing()); in testSetCancellableEsc_true() [all …]
|
D | AlertDialog_BuilderTest.java | 298 PollingCheck.waitFor(mDialog::isShowing); in testCancelable() 304 boolean showing = mDialog.isShowing(); in testCancelable() 658 assertTrue(mDialog.isShowing()); in testCreate() 670 assertTrue(mDialog.isShowing()); in testShow()
|
D | TileServiceTest.java | 102 assertTrue(dialog.isShowing()); in testShowDialog()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | DatePickerDialogTest.java | 78 assertTrue("Showing date picker", datePickerDialog.isShowing()); in testShowDismiss() 81 assertTrue("Date picker still showing", datePickerDialog.isShowing()); in testShowDismiss() 84 assertFalse("Dismissed date picker", datePickerDialog.isShowing()); in testShowDismiss() 87 assertFalse("Date picker still dismissed", datePickerDialog.isShowing()); in testShowDismiss()
|
D | MediaControllerTest.java | 100 assertFalse(mMediaController.isShowing()); in testMediaController() 104 assertFalse(mMediaController.isShowing()); in testMediaController() 110 assertTrue(mMediaController.isShowing()); in testMediaController() 121 assertTrue(mMediaController.isShowing()); in testMediaController() 128 assertFalse(mMediaController.isShowing()); in testShow() 139 assertTrue(mMediaController.isShowing()); in testShow() 143 assertFalse(mMediaController.isShowing()); in testShow() 148 assertTrue(mMediaController.isShowing()); in testShow() 151 PollingCheck.waitFor(500, mMediaController::isShowing); in testShow()
|
D | ListPopupWindowTest.java | 118 if ((mPopupWindow != null) && (mPopupWindow.isShowing())) { in teardown() 154 assertFalse(mPopupWindow.isShowing()); in testNoDefaultVisibility() 263 assertTrue(mPopupWindow.isShowing()); in verifyAnchoring() 300 PollingCheck.waitFor(()-> mPopupWindow.isShowing()); in testAnchoring() 313 PollingCheck.waitFor(()-> mPopupWindow.isShowing()); in testAnchoringWithHorizontalOffset() 326 PollingCheck.waitFor(()-> mPopupWindow.isShowing()); in testAnchoringWithVerticalOffset() 339 PollingCheck.waitFor(()-> mPopupWindow.isShowing()); in testAnchoringWithRightGravity() 352 PollingCheck.waitFor(()-> mPopupWindow.isShowing()); in testAnchoringWithEndGravity() 365 assertTrue(mPopupWindow.isShowing()); in testSetWindowLayoutType() 377 assertTrue(mPopupWindow.isShowing()); in testDismiss() [all …]
|
D | PopupWindowTest.java | 273 assertFalse(mPopupWindow.isShowing()); in testAccessContentView() 276 assertTrue(mPopupWindow.isShowing()); in testAccessContentView() 533 assertTrue(popup.isShowing()); in testShowAsDropDown_ClipToScreen_Overlap_OutOfScreen() 617 assertTrue(popup.isShowing()); in verifyPosition() 632 assertFalse(popup.isShowing()); in verifyPosition() 703 assertFalse(mPopupWindow.isShowing()); in testShowAtLocation() 712 assertTrue(mPopupWindow.isShowing()); in testShowAtLocation() 1093 assertFalse(mPopupWindow.isShowing()); in testDismiss() 1098 assertFalse(mPopupWindow.isShowing()); in testDismiss() 1101 assertFalse(mPopupWindow.isShowing()); in testDismiss() [all …]
|
D | SpinnerTest.java | 198 assertTrue(alertDialog.isShowing()); in verifyOnClick() 202 assertFalse(alertDialog.isShowing()); in verifyOnClick() 213 assertTrue(dialog.isShowing()); in verifyOnClick() 217 assertFalse(dialog.isShowing()); in verifyOnClick()
|
D | ToastTest.java | 160 PollingCheck.waitFor(TIME_OUT, customToastInfo::isShowing); in assertCustomToastShown() 164 PollingCheck.waitFor(TIME_OUT, () -> !customToastInfo.isShowing()); in assertCustomToastHidden() 194 assertThat(customToastInfo.isShowing()).isFalse(); in assertCustomToastNotShown() 198 assertThat(customToastInfo.isShowing()).isFalse(); in assertCustomToastNotShown() 1221 boolean isShowing() { in isShowing() method in ToastTest.CustomToastInfo
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ContentPaneFocusTest.java | 69 if (action == null || !action.isShowing()) { in testAccessActionBar() 120 if (action == null || !action.isShowing()) { in testNoFocusablesInContent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | GyroscopeTestActivity.java | 237 if (!mNoGyroscopeWarningDialog.isShowing()) { in showNoGyroscopeWarningDialog() 251 if (!mDegreesWarningDialog.isShowing()) { in showDegreesWarningDialog()
|
D | HeartRateMonitorTestActivity.java | 83 if (!mNoHeartRateWarningDialog.isShowing()) { in showNoHeartRateWarningDialog()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | KeyboardVisibilityControlTest.java | 430 TestUtils.waitOnMainUntil(() -> dialogRef.get().isShowing() 531 TestUtils.waitOnMainUntil(() -> dialogRef.get().isShowing()
|