Lines Matching refs:fallbackKeyCode
3615 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode);
3624 if (fallbackKeyCode != -1) {
3644 if (fallbackKeyCode != AKEYCODE_UNKNOWN) {
3649 options.keyCode = fallbackKeyCode;
3660 if (fallbackKeyCode == -1 && !initialDown) {
3697 fallbackKeyCode = event.getKeyCode();
3699 fallbackKeyCode = AKEYCODE_UNKNOWN;
3701 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode);
3704 ALOG_ASSERT(fallbackKeyCode != -1);
3709 if (fallbackKeyCode != AKEYCODE_UNKNOWN
3710 && (!fallback || fallbackKeyCode != event.getKeyCode())) {
3716 event.getKeyCode(), originalKeyCode, fallbackKeyCode);
3721 originalKeyCode, fallbackKeyCode);
3727 options.keyCode = fallbackKeyCode;
3731 fallbackKeyCode = AKEYCODE_UNKNOWN;
3734 fallbackKeyCode);
3758 keyEntry->keyCode = fallbackKeyCode;
3767 "originalKeyCode=%d, fallbackKeyCode=%d, fallbackMetaState=%08x",
3768 originalKeyCode, fallbackKeyCode, keyEntry->metaState);
4336 int32_t fallbackKeyCode) {
4339 mFallbackKeys.replaceValueAt(index, fallbackKeyCode);
4341 mFallbackKeys.add(originalKeyCode, fallbackKeyCode);