Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/dispatcher/
DInputState.h79 std::optional<int32_t> getFallbackKey(int32_t originalKeyCode);
82 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode);
85 void removeFallbackKey(int32_t originalKeyCode);
DInputState.cpp584 std::optional<int32_t> InputState::getFallbackKey(int32_t originalKeyCode) { in getFallbackKey() argument
585 auto it = mFallbackKeys.find(originalKeyCode); in getFallbackKey()
592 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey() argument
593 mFallbackKeys.insert_or_assign(originalKeyCode, fallbackKeyCode); in setFallbackKey()
596 void InputState::removeFallbackKey(int32_t originalKeyCode) { in removeFallbackKey() argument
597 mFallbackKeys.erase(originalKeyCode); in removeFallbackKey()
DInputDispatcher.cpp6648 int32_t originalKeyCode = keyEntry.keyCode; in afterKeyEventLockedInterruptable() local
6649 std::optional<int32_t> fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable()
6651 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable()
6694 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable()
6706 originalKeyCode, keyEntry.action, keyEntry.repeatCount, keyEntry.policyFlags); in afterKeyEventLockedInterruptable()
6732 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable()
6744 connection->inputState.setFallbackKey(originalKeyCode, *fallbackKeyCode); in afterKeyEventLockedInterruptable()
6759 event.getKeyCode(), originalKeyCode, *fallbackKeyCode); in afterKeyEventLockedInterruptable()
6764 originalKeyCode, *fallbackKeyCode); in afterKeyEventLockedInterruptable()
6780 connection->inputState.setFallbackKey(originalKeyCode, *fallbackKeyCode); in afterKeyEventLockedInterruptable()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp3326 int32_t originalKeyCode, int32_t rotatedKeyCode,
3339 int32_t originalScanCode, int32_t originalKeyCode, in testDPadKeyRotation() argument