Home
last modified time | relevance | path

Searched refs:CODE_SHIFT (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardStateSingleTouchTests.java26 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testShiftAlphabet()
29 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_UNSHIFTED); in testShiftAlphabet()
32 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testShiftAlphabet()
43 pressAndReleaseKey(CODE_SHIFT, SYMBOLS_SHIFTED, SYMBOLS_SHIFTED); in testShiftSymbols()
46 pressAndReleaseKey(CODE_SHIFT, SYMBOLS_UNSHIFTED, SYMBOLS_UNSHIFTED); in testShiftSymbols()
49 pressAndReleaseKey(CODE_SHIFT, SYMBOLS_SHIFTED, SYMBOLS_SHIFTED); in testShiftSymbols()
64 pressAndReleaseKey(CODE_SHIFT, SYMBOLS_SHIFTED, SYMBOLS_SHIFTED); in testAlphabetAndSymbols()
74 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testAlphabetShiftedAndSymbols()
82 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testAlphabetShiftedAndSymbols()
86 pressAndReleaseKey(CODE_SHIFT, SYMBOLS_SHIFTED, SYMBOLS_SHIFTED); in testAlphabetShiftedAndSymbols()
[all …]
DKeyboardStateMultiTouchTests.java26 pressKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED); in testChordingAlphabet()
30 releaseKey(CODE_SHIFT, ALPHABET_UNSHIFTED); in testChordingAlphabet()
43 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testChordingShifted()
46 pressKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED); in testChordingShifted()
50 releaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED); in testChordingShifted()
67 pressKey(CODE_SHIFT, ALPHABET_SHIFT_LOCK_SHIFTED); in testChordingShiftLocked()
71 releaseKey(CODE_SHIFT, ALPHABET_SHIFT_LOCKED); in testChordingShiftLocked()
87 pressKey(CODE_SHIFT, SYMBOLS_SHIFTED); in testChordingSymbols()
91 releaseKey(CODE_SHIFT, SYMBOLS_UNSHIFTED); in testChordingSymbols()
105 pressAndReleaseKey(CODE_SHIFT, ALPHABET_MANUAL_SHIFTED, ALPHABET_MANUAL_SHIFTED); in testChordingSymbols()
[all …]
DMockKeyboardSwitcher.java37 public static final int CODE_SHIFT = Constants.CODE_SHIFT; field
DKeyboardStateTestsBase.java209 pressKey(Constants.CODE_SHIFT, afterPress); in longPressShiftKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java149 Constants.CODE_SHIFT, CAPSLOCK_MORE_KEY);
151 Constants.CODE_SHIFT, CAPSLOCK_MORE_KEY);
154 protected static final ExpectedKey BACK_TO_SYMBOLS_KEY = key("?123", Constants.CODE_SHIFT);
155 protected static final ExpectedKey SYMBOLS_SHIFT_KEY = key("= \\ <", Constants.CODE_SHIFT);
156 … protected static final ExpectedKey TABLET_SYMBOLS_SHIFT_KEY = key("~ [ <", Constants.CODE_SHIFT);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardState.java360 if (code != Constants.CODE_SHIFT) { in onPressKey()
365 if (code == Constants.CODE_SHIFT) { in onPressKey()
400 if (code == Constants.CODE_SHIFT) { in onReleaseKey()
640 if (code == Constants.CODE_SHIFT) { in onEvent()
DKeyboardCodesSet.java62 Constants.CODE_SHIFT,
DKeyboardParams.java131 if (key.getCode() == Constants.CODE_SHIFT) { in onAddKey()
DTimerHandler.java117 final int messageId = (key.getCode() == Constants.CODE_SHIFT) in startLongPressTimerOf()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DConstants.java234 public static final int CODE_SHIFT = -1; field in Constants
258 case CODE_SHIFT: return "shift"; in printableCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java61 mKeyCodeMap.put(Constants.CODE_SHIFT, R.string.spoken_description_shift); in KeyCodeDescriptionMapper()
103 if (code == Constants.CODE_SHIFT) { in getDescriptionForKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java21 import static com.android.inputmethod.latin.common.Constants.CODE_SHIFT;
606 return mCode == CODE_SHIFT; in isShift()
610 return mCode == CODE_SHIFT || mCode == CODE_SWITCH_ALPHA_SYMBOL; in isModifier()
DPointerTracker.java1138 if (code == Constants.CODE_SHIFT) { in getLongPressTimeout()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/
DDevanagariCustomizer.java48 Constants.CODE_SHIFT);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/
DArabic.java112 "\u0663\u0662\u0661\u061F", Constants.CODE_SHIFT);
DFarsi.java113 "\u06F3\u06F2\u06F1\u061F", Constants.CODE_SHIFT);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java482 if (!inputTransaction.didAutoCorrect() && processedEvent.mKeyCode != Constants.CODE_SHIFT in onCodeInput()
652 case Constants.CODE_SHIFT: in handleFunctionalEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1410 if (Constants.CODE_SHIFT == codePoint) { in getCodePointForKeyboard()