Home
last modified time | relevance | path

Searched refs:TestDialog (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DDialogTest.java22 import android.app.stubs.TestDialog;
150 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnStartCreateStop()
214 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnSaveInstanceState()
217 assertFalse(TestDialog.isOnRestoreInstanceStateCalled); in testOnSaveInstanceState()
229 assertTrue(TestDialog.isOnRestoreInstanceStateCalled); in testOnSaveInstanceState()
234 final TestDialog d = (TestDialog) mActivity.getDialog(); in testGetCurrentFocus()
341 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnKeyDownKeyUp()
360 final TestDialog d = (TestDialog) mActivity.getDialog(); in testOnKeyMultiple()
372 final TestDialog d = (TestDialog) mActivity.getDialog(); in testTouchEvent()
433 final TestDialog d = (TestDialog) mActivity.getDialog(); in testTrackballEvent()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java31 public class TestDialog extends Dialog { class
85 public TestDialog(Context context) { in TestDialog() method in TestDialog
89 public TestDialog(Context context, int theme) { in TestDialog() method in TestDialog
93 public TestDialog(Context context, boolean cancelable, OnCancelListener cancelListener) { in TestDialog() method in TestDialog
DDialogStubActivity.java160 mDialog = new TestDialog(this); in onCreateDialog()
220 mDialog = new TestDialog(this, true, new OnCancelListener() { in onCreateDialog()
227 mDialog = new TestDialog(this, false, new OnCancelListener() { in onCreateDialog()