Home
last modified time | relevance | path

Searched refs:sendKeys (Results 1 – 19 of 19) sorted by relevance

/cts/tests/app/src/android/app/cts/
DLauncherActivityTest.java64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
65 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
66 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
67 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testLaunchActivity()
DDialogTest.java141 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedCancellable()
149 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedNotCancellable()
157 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedCancellableEsc()
166 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedNotCancellableEsc()
201 sendKeys(KeyEvent.KEYCODE_BACK); in testOnStartCreateStop()
215 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testOnStartCreateStopEsc()
291 sendKeys(KeyEvent.KEYCODE_0); in testGetCurrentFocus()
593 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
616 sendKeys(KeyEvent.KEYCODE_1); in testDispatchKeyEvent()
620 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DDateKeyListenerTest.java154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDateTimeKeyListener()
158 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDateTimeKeyListener()
164 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testDateTimeKeyListener()
169 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDateTimeKeyListener()
173 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
181 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
DDigitsKeyListenerTest.java557 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener1()
561 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener1()
565 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener1()
569 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener1()
592 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
596 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener2()
600 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener2()
604 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PLUS); in testDigitsKeyListener2()
608 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener2()
612 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
[all …]
DNumberKeyListenerTest.java154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
160 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testPressKey()
171 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
DBaseKeyListenerTest.java149 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
154 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
171 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
524 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_0); in testPressKey()
529 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testPressKey()
DPasswordTransformationMethodTest.java169 CtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, in testTextChangedCallBacks()
173 CtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, "H E 2*L O"); in testTextChangedCallBacks()
DDateTimeKeyListenerTest.java192 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testDateTimeKeyListener()
DTimeKeyListenerTest.java189 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, keyCode); in testTimeKeyListener()
DTextKeyListenerTest.java219 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_4); in testPressKey()
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewBasicTest.java88 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
106 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testCollapseGroup()
118 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandedGroupMovement()
DExpandableListViewWithHeadersTest.java75 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstPosition()
88 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstGroup()
DSearchView_CursorTest.java261 CtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
274 CtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
DExpandableListTester.java59 CtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
DGridViewTest.java602 CtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
608 CtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
DListViewTest.java760 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullDetachHeaderViewOnScrollForFocus()
822 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
828 CtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
DTextViewTest.java469 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
486 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
1884 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL, in testUndo_delete()
2102 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL, in testUndo_setText()
2273 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceState()
2300 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2313 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2359 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_COPY); in testCopyAndPaste_byKey()
2367 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_PASTE); in testCopyAndPaste_byKey()
2464 CtsKeyEventUtil.sendKeys(mInstrumentation, mTextView, KeyEvent.KEYCODE_CUT); in testCutAndPaste_byKey()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java77 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
103 public static void sendKeys(final Instrumentation instrumentation, final View targetView, in sendKeys() method in CtsKeyEventUtil
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewClientTest.java429 sendKeys(KeyEvent.KEYCODE_1); in testOnUnhandledKeyEvent()