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.java80 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
81 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
82 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testLaunchActivity()
83 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testLaunchActivity()
88 private void sendKeys(int... keys) { in sendKeys() method in LauncherActivityTest
DDialogTest.java142 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedCancellable()
150 sendKeys(KeyEvent.KEYCODE_BACK); in testConstructor_protectedNotCancellable()
158 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedCancellableEsc()
167 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testConstructor_protectedNotCancellableEsc()
202 sendKeys(KeyEvent.KEYCODE_BACK); in testOnStartCreateStop()
216 sendKeys(KeyEvent.KEYCODE_ESCAPE); in testOnStartCreateStopEsc()
292 sendKeys(KeyEvent.KEYCODE_0); in testGetCurrentFocus()
594 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
617 sendKeys(KeyEvent.KEYCODE_1); in testDispatchKeyEvent()
621 sendKeys(KeyEvent.KEYCODE_0); in testDispatchKeyEvent()
[all …]
/cts/tests/tests/text/src/android/text/method/cts/
DDateKeyListenerTest.java152 sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDateTimeKeyListener()
156 sendKeys(mTextView, KeyEvent.KEYCODE_2); in testDateTimeKeyListener()
162 sendKeys(mTextView, keyCode); in testDateTimeKeyListener()
167 sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDateTimeKeyListener()
171 sendKeys(mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
179 sendKeys(mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
DDigitsKeyListenerTest.java555 sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener1()
559 sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener1()
563 sendKeys(mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener1()
567 sendKeys(mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener1()
590 sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
594 sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener2()
598 sendKeys(mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener2()
602 sendKeys(mTextView, KeyEvent.KEYCODE_PLUS); in testDigitsKeyListener2()
606 sendKeys(mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener2()
610 sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
[all …]
DKeyListenerTestCase.java133 protected final void sendKeys(View targetView, int...keys) { in sendKeys() method in KeyListenerTestCase
134 mCtsKeyEventUtil.sendKeys(mInstrumentation, targetView, keys); in sendKeys()
137 protected final void sendKeys(View targetView, String keysSequence) { in sendKeys() method in KeyListenerTestCase
138 mCtsKeyEventUtil.sendKeys(mInstrumentation, targetView, keysSequence); in sendKeys()
DNumberKeyListenerTest.java152 sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
158 sendKeys(mTextView, keyCode); in testPressKey()
169 sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
DBaseKeyListenerTest.java173 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
178 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
193 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
546 sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
551 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testPressKey()
DPasswordTransformationMethodTest.java194 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, in testTextChangedCallBacks()
198 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, "H E 2*L O"); in testTextChangedCallBacks()
DDateTimeKeyListenerTest.java190 sendKeys(mTextView, keyCode); in testDateTimeKeyListener()
DTimeKeyListenerTest.java189 sendKeys(mTextView, keyCode); in testTimeKeyListener()
DTextKeyListenerTest.java217 sendKeys(mTextView, KeyEvent.KEYCODE_4); in testPressKey()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java106 public void sendKeys(Instrumentation instrumentation, View targetView, int...keys) { in sendKeys() method in CtsKeyEventUtil
107 sendKeys(instrumentation, keys); in sendKeys()
117 public void sendKeys(Instrumentation instrumentation, int...keys) { in sendKeys() method in CtsKeyEventUtil
142 public void sendKeys(Instrumentation instrumentation, View targetView, String keysSequence) { in sendKeys() method in CtsKeyEventUtil
143 sendKeys(instrumentation, keysSequence); in sendKeys()
156 public void sendKeys(Instrumentation instrumentation, String keysSequence) { in sendKeys() method in CtsKeyEventUtil
/cts/tests/tests/widget/src/android/widget/cts/
DExpandableListViewBasicTest.java98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
116 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testCollapseGroup()
128 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandedGroupMovement()
DExpandableListViewWithHeadersTest.java85 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstPosition()
98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstGroup()
DSearchView_CursorTest.java291 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
304 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
DExpandableListTester.java61 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
DGridViewTest.java612 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
618 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
DTextViewTest.java529 sendKeys(mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
546 sendKeys(mTextView, KeyEvent.KEYCODE_SHIFT_LEFT, in testAccessMovementMethod()
1942 sendKeys(mTextView, KeyEvent.KEYCODE_DEL, in testUndo_delete()
2160 sendKeys(mTextView, KeyEvent.KEYCODE_DEL, in testUndo_setText()
2331 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceState()
2358 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2371 sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testUndo_saveInstanceStateEmpty()
2417 sendKeys(mTextView, KeyEvent.KEYCODE_COPY); in testCopyAndPaste_byKey()
2425 sendKeys(mTextView, KeyEvent.KEYCODE_PASTE); in testCopyAndPaste_byKey()
2471 sendKeys(mTextView, KeyEvent.KEYCODE_COPY); in testCopyAndPaste_byKey_reversed()
[all …]
DListViewTest.java775 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullDetachHeaderViewOnScrollForFocus()
837 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus()
843 mCtsKeyEventUtil.sendKeys(mInstrumentation, mListView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()