Home
last modified time | relevance | path

Searched refs:getDialog (Results 1 – 9 of 9) sorted by relevance

/cts/tests/app/src/android/app/cts/
DAlertDialogTest.java78 PollingCheck.waitFor(mActivity.getDialog()::isShowing); in startDialogActivity()
79 WindowUtil.waitForFocus(mActivity.getDialog().getWindow()); in startDialogActivity()
89 assertTrue(mActivity.getDialog().isShowing()); in doTestAlertDialog()
91 mPositiveButton = ((AlertDialog) (mActivity.getDialog())).getButton( in doTestAlertDialog()
96 mNeutralButton = ((AlertDialog) (mActivity.getDialog())).getButton( in doTestAlertDialog()
101 mNegativeButton = ((AlertDialog) (mActivity.getDialog())).getButton( in doTestAlertDialog()
130 assertTrue(mActivity.getDialog().isShowing()); in testAlertDialogAPIWithMessage()
132 mPositiveButton = ((AlertDialog) (mActivity.getDialog())).getButton( in testAlertDialogAPIWithMessage()
137 mNegativeButton = ((AlertDialog) (mActivity.getDialog())).getButton( in testAlertDialogAPIWithMessage()
142 mNeutralButton = ((AlertDialog) (mActivity.getDialog())).getButton( in testAlertDialogAPIWithMessage()
[all …]
DDialogTest.java116 WindowUtil.waitForFocus(mActivity.getDialog().getWindow()); in startDialogActivity()
196 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnStartCreateStop()
210 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnStartCreateStopEsc()
223 Dialog d = mActivity.getDialog(); in testAccessOwnerActivity()
246 final Dialog d = mActivity.getDialog(); in testShow()
271 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnSaveInstanceState()
283 final TestDialog d = (TestDialog) mActivity.getDialog(); in testGetCurrentFocus()
300 final Dialog d = mActivity.getDialog(); in testSetContentView()
366 final Dialog d = mActivity.getDialog(); in testRequireViewById()
400 assertNotNull(mActivity.getDialog()); in testSetTitle()
[all …]
/cts/tests/tests/view/src/android/view/cts/
DOnBackInvokedDispatcherTest.java60 mDialog = mActivity.getDialog(); in setUp()
75 mDialog = mActivity.getDialog(); in findDispatcherOnView()
96 mDialog = mActivity.getDialog(); in findDispatcherOnViewGroup()
DScrollCaptureTargetTest.java87 mTargetView = activity.getDialog().getWindow().findViewById(R.id.scroll_view); in setUp()
177 mActivityRule.getActivity().getDialog().getWindow().getAttributes().height in testPositionInWindow()
179 && mActivityRule.getActivity().getDialog().getWindow().getAttributes().width in testPositionInWindow()
DOnBackInvokedDispatcherTestActivity.java35 public Dialog getDialog() { in getDialog() method in OnBackInvokedDispatcherTestActivity
DScrollCaptureScrollViewCtsActivity.java38 public Dialog getDialog() { in getDialog() method in ScrollCaptureScrollViewCtsActivity
/cts/tests/app/app/src/android/app/stubs/
DDialogStubActivity.java310 public Dialog getDialog() { in getDialog() method in DialogStubActivity
344 getDialog().setTitle(title); in setUpTitle()
352 getDialog().setTitle(id); in setUpTitle()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DUnlockedDeviceRequiredKeysTest.java151 Dialog dialog = mDialogFragment.getDialog(); in updateDialogText()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt5601 method @Deprecated public android.app.Dialog getDialog();
34563 method @Deprecated public android.app.Dialog getDialog();
34906 method @Deprecated public android.app.Dialog getDialog();