Home
last modified time | relevance | path

Searched refs:fallbackKeyCode (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/
DKeyCharacterMap.cpp246 if (behavior->fallbackKeyCode) { in getFallbackAction()
247 outFallbackAction->keyCode = behavior->fallbackKeyCode; in getFallbackAction()
644 int32_t fallbackKeyCode = parcel->readInt32(); in readFromParcel() local
653 .fallbackKeyCode = fallbackKeyCode, in readFromParcel()
721 parcel->writeInt32(behavior.fallbackKeyCode); in writeToParcel()
1050 behavior.fallbackKeyCode = *keyCode; in parseKeyProperty()
1120 key.behaviors.front().fallbackKeyCode, in parseKeyProperty()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.h82 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode);
DInputState.cpp592 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey() argument
593 mFallbackKeys.insert_or_assign(originalKeyCode, fallbackKeyCode); in setFallbackKey()
DInputDispatcher.cpp6649 std::optional<int32_t> fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable() local
6658 if (fallbackKeyCode) { in afterKeyEventLockedInterruptable()
6682 if (*fallbackKeyCode != AKEYCODE_UNKNOWN) { in afterKeyEventLockedInterruptable()
6690 options.keyCode = *fallbackKeyCode; in afterKeyEventLockedInterruptable()
6701 if (!fallbackKeyCode && !initialDown) { in afterKeyEventLockedInterruptable()
6740 *fallbackKeyCode = event.getKeyCode(); in afterKeyEventLockedInterruptable()
6742 *fallbackKeyCode = AKEYCODE_UNKNOWN; in afterKeyEventLockedInterruptable()
6744 connection->inputState.setFallbackKey(originalKeyCode, *fallbackKeyCode); in afterKeyEventLockedInterruptable()
6747 ALOG_ASSERT(fallbackKeyCode); in afterKeyEventLockedInterruptable()
6752 if (*fallbackKeyCode != AKEYCODE_UNKNOWN && in afterKeyEventLockedInterruptable()
[all …]
/frameworks/native/include/input/
DKeyCharacterMap.h164 int32_t fallbackKeyCode = 0; member