Searched refs:keyListener (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/text/src/android/text/method/cts/ |
D | QwertyKeyListenerTest.java | 69 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone() local 73 callOnKeyDown(keyListener, KeyEvent.KEYCODE_H); in testOnKeyDown_capitalizeNone() 76 callOnKeyDown(keyListener, KeyEvent.KEYCODE_E); in testOnKeyDown_capitalizeNone() 79 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L); in testOnKeyDown_capitalizeNone() 82 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L); in testOnKeyDown_capitalizeNone() 85 callOnKeyDown(keyListener, KeyEvent.KEYCODE_O); in testOnKeyDown_capitalizeNone() 91 final QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters() local 96 callOnKeyDown(keyListener, KeyEvent.KEYCODE_H); in testOnKeyDown_capitalizeCharacters() 99 callOnKeyDown(keyListener, KeyEvent.KEYCODE_E); in testOnKeyDown_capitalizeCharacters() 102 callOnKeyDown(keyListener, KeyEvent.KEYCODE_L); in testOnKeyDown_capitalizeCharacters() [all …]
|
D | MultiTapKeyListenerTest.java | 112 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, Capitalize.NONE); in testOnKeyDown_capitalizeNone() local 116 callOnKeyDown(keyListener, KeyEvent.KEYCODE_4, 2); in testOnKeyDown_capitalizeNone() 119 callOnKeyDown(keyListener, KeyEvent.KEYCODE_3, 2); in testOnKeyDown_capitalizeNone() 122 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3); in testOnKeyDown_capitalizeNone() 125 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3); in testOnKeyDown_capitalizeNone() 128 callOnKeyDown(keyListener, KeyEvent.KEYCODE_6, 3); in testOnKeyDown_capitalizeNone() 134 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, in testOnKeyDown_capitalizeCharacters() local 139 callOnKeyDown(keyListener, KeyEvent.KEYCODE_4, 2); in testOnKeyDown_capitalizeCharacters() 142 callOnKeyDown(keyListener, KeyEvent.KEYCODE_3, 2); in testOnKeyDown_capitalizeCharacters() 145 callOnKeyDown(keyListener, KeyEvent.KEYCODE_5, 3); in testOnKeyDown_capitalizeCharacters() [all …]
|
D | KeyListenerTestCase.java | 115 protected void setKeyListenerSync(final KeyListener keyListener) { in setKeyListenerSync() argument 116 mInstrumentation.runOnMainSync(() -> mTextView.setKeyListener(keyListener)); in setKeyListenerSync()
|
D | BaseKeyListenerTest.java | 616 private void prepTextViewSync(final CharSequence content, final BaseKeyListener keyListener, in prepTextViewSync() argument 621 mTextView.setKeyListener(keyListener); in prepTextViewSync() 639 final BaseKeyListener keyListener, final boolean selectInTextView, in prepTextViewWithLinesSync() argument 654 mTextView.setKeyListener(keyListener); in prepTextViewWithLinesSync()
|