/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardStateMultiTouchTests.java | 26 pressKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED); in testChordingAlphabet() 33 pressKey(CODE_SYMBOL, SYMBOLS_UNSHIFTED); in testChordingAlphabet() 46 pressKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED); in testChordingShifted() 53 pressKey(CODE_SYMBOL, SYMBOLS_UNSHIFTED); in testChordingShifted() 67 pressKey(CODE_SHIFT, ALPHABET_SHIFT_LOCK_SHIFTED); in testChordingShiftLocked() 74 pressKey(CODE_SYMBOL, SYMBOLS_UNSHIFTED); in testChordingShiftLocked() 87 pressKey(CODE_SHIFT, SYMBOLS_SHIFTED); in testChordingSymbols() 94 pressKey(CODE_SYMBOL, ALPHABET_UNSHIFTED); in testChordingSymbols() 109 pressKey(CODE_SYMBOL, ALPHABET_UNSHIFTED); in testChordingSymbols() 127 pressKey(CODE_SYMBOL, ALPHABET_SHIFT_LOCKED); in testChordingSymbols() [all …]
|
D | KeyboardStateTestsBase.java | 96 public void pressKey(final int code, final int afterPress) { in pressKey() method in KeyboardStateTestsBase 121 pressKey(code, afterPress); in pressAndReleaseKey() 169 pressKey(code, afterPress); in pressAndSlideFromKey() 182 pressKey(code, afterPress); in stopSlidingOnKey() 209 pressKey(Constants.CODE_SHIFT, afterPress); in longPressShiftKey()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | KeyboardNavigationUiTest.java | 48 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tab() 50 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tab() 58 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_LEFT); in testKeyboard_arrowsDirList() 62 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testKeyboard_arrowsDirList() 72 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tabFocuses() 74 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tabFocuses() 78 bots.keyboard.pressKey(KeyEvent.KEYCODE_F); in testKeyboard_tabFocuses() 87 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_arrowsRootsList() 89 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testKeyboard_arrowsRootsList() 93 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_LEFT); in testKeyboard_arrowsRootsList()
|
D | FileManagementUiTest.java | 96 bots.keyboard.pressKey(KeyEvent.KEYCODE_X, KeyEvent.META_CTRL_ON); in testKeyboard_CutDocument() 101 bots.keyboard.pressKey(KeyEvent.KEYCODE_V, KeyEvent.META_CTRL_ON); in testKeyboard_CutDocument() 114 bots.keyboard.pressKey(KeyEvent.KEYCODE_C, KeyEvent.META_CTRL_ON); in testKeyboard_CopyDocument() 119 bots.keyboard.pressKey(KeyEvent.KEYCODE_V, KeyEvent.META_CTRL_ON); in testKeyboard_CopyDocument() 161 bots.keyboard.pressKey( in testCopyLargeAmountOfFiles() 163 bots.keyboard.pressKey( in testCopyLargeAmountOfFiles()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/password/ |
D | SetupChooseLockPasswordAppTest.java | 21 import static androidx.test.espresso.action.ViewActions.pressKey; 99 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered() 110 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsShown_when_somethingEnteredToConfirm() 113 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
|
D | ConfirmLockPasswordTest.java | 20 import static androidx.test.espresso.action.ViewActions.pressKey; 57 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_shouldShowErrorMessage() 67 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_darkTheme_shouldShowErrorMessage()
|
D | ChooseLockPasswordTest.java | 20 import static androidx.test.espresso.action.ViewActions.pressKey; 80 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered() 92 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestEvents.java | 170 public Builder pressKey(@Key int... keys) { in pressKey() method in TestEvents.Builder 198 pressKey(KeyEvent.META_SHIFT_ON); in shift() 211 pressKey(KeyEvent.META_CTRL_ON); in ctrl() 216 pressKey(KeyEvent.META_ALT_ON); in alt()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | KeyboardBot.java | 57 public void pressKey(int keyCode) { in pressKey() method in KeyboardBot 61 public void pressKey(int keyCode, int metaState) { in pressKey() method in KeyboardBot
|