Home
last modified time | relevance | path

Searched refs:originalKeyCode (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/dispatcher/
DInputState.h67 int32_t getFallbackKey(int32_t originalKeyCode);
70 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode);
73 void removeFallbackKey(int32_t originalKeyCode);
DInputState.cpp306 int32_t InputState::getFallbackKey(int32_t originalKeyCode) { in getFallbackKey() argument
307 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in getFallbackKey()
311 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey() argument
312 ssize_t index = mFallbackKeys.indexOfKey(originalKeyCode); in setFallbackKey()
316 mFallbackKeys.add(originalKeyCode, fallbackKeyCode); in setFallbackKey()
320 void InputState::removeFallbackKey(int32_t originalKeyCode) { in removeFallbackKey() argument
321 mFallbackKeys.removeItem(originalKeyCode); in removeFallbackKey()
DInputDispatcher.cpp4241 int32_t originalKeyCode = keyEntry->keyCode; in afterKeyEventLockedInterruptible() local
4242 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4244 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4279 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4291 originalKeyCode, keyEntry->action, keyEntry->repeatCount, keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4313 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4325 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
4340 event.getKeyCode(), originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
4345 originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
4357 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp1958 int32_t originalScanCode, int32_t originalKeyCode, int32_t rotatedKeyCode);
1970 int32_t originalScanCode, int32_t originalKeyCode, int32_t rotatedKeyCode) { in testDPadKeyRotation() argument