Searched refs:originalKeyCode (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputState.h | 69 int32_t getFallbackKey(int32_t originalKeyCode); 72 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode); 75 void removeFallbackKey(int32_t originalKeyCode);
|
D | InputState.cpp | 384 int32_t InputState::getFallbackKey(int32_t originalKeyCode) { in getFallbackKey() argument 385 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in getFallbackKey() 389 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey() argument 390 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in setFallbackKey() 394 mFallbackKeys.add(originalKeyCode, fallbackKeyCode); in setFallbackKey() 398 void InputState::removeFallbackKey(int32_t originalKeyCode) { in removeFallbackKey() argument 399 mFallbackKeys.removeItem(originalKeyCode); in removeFallbackKey()
|
D | InputDispatcher.cpp | 4822 int32_t originalKeyCode = keyEntry->keyCode; in afterKeyEventLockedInterruptible() local 4823 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible() 4825 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible() 4859 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible() 4871 originalKeyCode, keyEntry->action, keyEntry->repeatCount, keyEntry->policyFlags); in afterKeyEventLockedInterruptible() 4893 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible() 4905 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible() 4920 event.getKeyCode(), originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible() 4925 originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible() 4937 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 2416 int32_t originalKeyCode, int32_t rotatedKeyCode, 2429 int32_t originalScanCode, int32_t originalKeyCode, in testDPadKeyRotation() argument
|