/cts/tests/app/src/android/app/cts/ |
D | LauncherActivityTest.java | 80 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
|
D | DialogTest.java | 142 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/ |
D | DateKeyListenerTest.java | 152 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()
|
D | DigitsKeyListenerTest.java | 555 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 …]
|
D | KeyListenerTestCase.java | 133 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()
|
D | NumberKeyListenerTest.java | 152 sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey() 158 sendKeys(mTextView, keyCode); in testPressKey() 169 sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
|
D | BaseKeyListenerTest.java | 173 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()
|
D | PasswordTransformationMethodTest.java | 194 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, in testTextChangedCallBacks() 198 mCtsKeyEventUtil.sendKeys(mInstrumentation, mEditText, "H E 2*L O"); in testTextChangedCallBacks()
|
D | DateTimeKeyListenerTest.java | 190 sendKeys(mTextView, keyCode); in testDateTimeKeyListener()
|
D | TimeKeyListenerTest.java | 189 sendKeys(mTextView, keyCode); in testTimeKeyListener()
|
D | TextKeyListenerTest.java | 217 sendKeys(mTextView, KeyEvent.KEYCODE_4); in testPressKey()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 106 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/ |
D | ExpandableListViewBasicTest.java | 98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup() 116 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testCollapseGroup() 128 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandedGroupMovement()
|
D | ExpandableListViewWithHeadersTest.java | 85 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstPosition() 98 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in testExpandOnFirstGroup()
|
D | SearchView_CursorTest.java | 291 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey() 304 mCtsKeyEventUtil.sendKeys(mInstrumentation, mSearchView, KeyEvent.KEYCODE_DPAD_DOWN, in testSuggestionEnterKey()
|
D | ExpandableListTester.java | 61 mCtsKeyEventUtil.sendKeys(mInstrumentation, mExpandableListView, in expandGroup()
|
D | GridViewTest.java | 612 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_DOWN); in testFullyDetachUnusedViewOnScrollForFocus() 618 mCtsKeyEventUtil.sendKeys(mInstrumentation, mGridView, KeyEvent.KEYCODE_DPAD_UP); in testFullyDetachUnusedViewOnScrollForFocus()
|
D | TextViewTest.java | 529 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 …]
|
D | ListViewTest.java | 775 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()
|