Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyCharacterMap.cpp253 if (behavior->fallbackKeyCode) { in getFallbackAction()
254 outFallbackAction->keyCode = behavior->fallbackKeyCode; in getFallbackAction()
632 int32_t fallbackKeyCode = parcel->readInt32(); in readFromParcel() local
641 behavior->fallbackKeyCode = fallbackKeyCode; in readFromParcel()
674 parcel->writeInt32(behavior->fallbackKeyCode); in writeToParcel()
707 next(nullptr), metaState(0), character(0), fallbackKeyCode(0), replacementKeyCode(0) { in Behavior()
713 fallbackKeyCode(other.fallbackKeyCode), in Behavior()
1032 behavior.fallbackKeyCode = keyCode; in parseKeyProperty()
1109 newBehavior->fallbackKeyCode, newBehavior->replacementKeyCode); in parseKeyProperty()
/frameworks/native/services/inputflinger/dispatcher/
DInputState.cpp389 void InputState::setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode) { in setFallbackKey() argument
392 mFallbackKeys.replaceValueAt(index, fallbackKeyCode); in setFallbackKey()
394 mFallbackKeys.add(originalKeyCode, fallbackKeyCode); in setFallbackKey()
DInputState.h72 void setFallbackKey(int32_t originalKeyCode, int32_t fallbackKeyCode);
DInputDispatcher.cpp4823 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible() local
4832 if (fallbackKeyCode != -1) { in afterKeyEventLockedInterruptible()
4851 if (fallbackKeyCode != AKEYCODE_UNKNOWN) { in afterKeyEventLockedInterruptible()
4856 options.keyCode = fallbackKeyCode; in afterKeyEventLockedInterruptible()
4866 if (fallbackKeyCode == -1 && !initialDown) { in afterKeyEventLockedInterruptible()
4901 fallbackKeyCode = event.getKeyCode(); in afterKeyEventLockedInterruptible()
4903 fallbackKeyCode = AKEYCODE_UNKNOWN; in afterKeyEventLockedInterruptible()
4905 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
4908 ALOG_ASSERT(fallbackKeyCode != -1); in afterKeyEventLockedInterruptible()
4913 if (fallbackKeyCode != AKEYCODE_UNKNOWN && in afterKeyEventLockedInterruptible()
[all …]
/frameworks/native/include/input/
DKeyCharacterMap.h163 int32_t fallbackKeyCode; member