Home
last modified time | relevance | path

Searched refs:mKeyEventUtil (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DDateKeyListenerTest.java29 private KeyEventUtil mKeyEventUtil; field in DateKeyListenerTest
34 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
80 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDateTimeKeyListener()
84 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_2); in testDateTimeKeyListener()
90 mKeyEventUtil.sendKeys(mTextView, keyCode); in testDateTimeKeyListener()
95 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDateTimeKeyListener()
99 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
107 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_SLASH); in testDateTimeKeyListener()
DDateTimeKeyListenerTest.java30 private KeyEventUtil mKeyEventUtil; field in DateTimeKeyListenerTest
35 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
83 mKeyEventUtil.sendString(mTextView, "1"); in testDateTimeKeyListener()
88 mKeyEventUtil.sendString(mTextView, "2"); in testDateTimeKeyListener()
96 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_A); in testDateTimeKeyListener()
103 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_P); in testDateTimeKeyListener()
110 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_M); in testDateTimeKeyListener()
117 mKeyEventUtil.sendKeys(mTextView, keyCode); in testDateTimeKeyListener()
125 mKeyEventUtil.sendString(mTextView, "1"); in testDateTimeKeyListener()
DTimeKeyListenerTest.java27 private KeyEventUtil mKeyEventUtil; field in TimeKeyListenerTest
32 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
79 mKeyEventUtil.sendString(mTextView, "1"); in testTimeKeyListener()
84 mKeyEventUtil.sendString(mTextView, "2"); in testTimeKeyListener()
92 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_A); in testTimeKeyListener()
99 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_P); in testTimeKeyListener()
106 mKeyEventUtil.sendKeyDownUp(mTextView, KeyEvent.KEYCODE_M); in testTimeKeyListener()
113 mKeyEventUtil.sendKeys(mTextView, keyCode); in testTimeKeyListener()
120 mKeyEventUtil.sendString(mTextView, "1"); in testTimeKeyListener()
DDigitsKeyListenerTest.java32 private KeyEventUtil mKeyEventUtil; field in DigitsKeyListenerTest
37 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
406 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener1()
410 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener1()
414 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener1()
418 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_2); in testDigitsKeyListener1()
440 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_MINUS); in testDigitsKeyListener2()
444 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_1); in testDigitsKeyListener2()
448 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_PERIOD); in testDigitsKeyListener2()
452 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_PLUS); in testDigitsKeyListener2()
[all …]
DNumberKeyListenerTest.java33 private KeyEventUtil mKeyEventUtil; field in NumberKeyListenerTest
38 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
147 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
153 mKeyEventUtil.sendKeys(mTextView, keyCode); in testPressKey()
166 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
DPasswordTransformationMethodTest.java71 private KeyEventUtil mKeyEventUtil; field in PasswordTransformationMethodTest
110 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
167 mKeyEventUtil.sendKeys(mEditText, "6*4 6*3 7*5 DPAD_RIGHT 7*5 7*6 DPAD_RIGHT"); in testTextChangedCallBacks()
170 mKeyEventUtil.sendKeys(mEditText, "H E 2*L O"); in testTextChangedCallBacks()
231 mKeyEventUtil.sendKeys(mEditText, "DPAD_DOWN"); in testOnFocusChanged()
238 mKeyEventUtil.sendKeys(mEditText, "DPAD_UP"); in testOnFocusChanged()
DBaseKeyListenerTest.java36 private KeyEventUtil mKeyEventUtil; field in BaseKeyListenerTest
41 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
139 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
144 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
159 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testBackspace_withSendKeys()
509 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_0); in testPressKey()
514 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL); in testPressKey()
521 mKeyEventUtil.sendKey(mTextView, event); in testPressKey()
568 mKeyEventUtil.sendKey(mTextView, new KeyEvent(KeyEvent.ACTION_DOWN, in sendAltDelete()
570 mKeyEventUtil.sendKey(mTextView, new KeyEvent(0, 0, KeyEvent.ACTION_DOWN, in sendAltDelete()
[all …]
DTextKeyListenerTest.java39 private KeyEventUtil mKeyEventUtil; field in TextKeyListenerTest
44 mKeyEventUtil = new KeyEventUtil(getInstrumentation()); in setUp()
201 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_4); in testPressKey()
235 mKeyEventUtil.sendKey(mTextView, event); in testOnKeyOther()
/cts/tests/tests/widget/src/android/widget/cts/
DListPopupWindowTest.java55 private KeyEventUtil mKeyEventUtil; field in ListPopupWindowTest
89 mKeyEventUtil = new KeyEventUtil(mInstrumentation); in setUp()
625 mKeyEventUtil.sendKeyDownUp(listView, KeyEvent.KEYCODE_DPAD_DOWN); in testListSelectionWithDPad()
637 mKeyEventUtil.sendKeyDownUp(listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPad()
649 mKeyEventUtil.sendKeyDownUp(listView, KeyEvent.KEYCODE_DPAD_UP); in testListSelectionWithDPad()
661 mKeyEventUtil.sendKeyDownUp(listView, KeyEvent.KEYCODE_ENTER); in testListSelectionWithDPad()
DTextViewTest.java127 private KeyEventUtil mKeyEventUtil; field in TextViewTest
144 mKeyEventUtil = new KeyEventUtil(mInstrumentation); in setUp()
1406 mKeyEventUtil.sendString(mTextView, "abc"); in testUndo_insert()
1438 mKeyEventUtil.sendString(mTextView, "xyz"); in testUndo_delete()
1439 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL, KeyEvent.KEYCODE_DEL, in testUndo_delete()
1570 mKeyEventUtil.sendString(mTextView, "xyz"); in testUndo_setText()
1571 mKeyEventUtil.sendKeys(mTextView, KeyEvent.KEYCODE_DEL, KeyEvent.KEYCODE_DEL, in testUndo_setText()
1593 mKeyEventUtil.sendString(mTextView, "abc"); in testRedo_setText()
1612 mKeyEventUtil.sendString(mTextView, "abc"); in testUndo_directAppend()
1635 mKeyEventUtil.sendString(mTextView, "abc"); in testUndo_directInsert()
[all …]