Home
last modified time | relevance | path

Searched refs:AKEY_EVENT_ACTION_DOWN (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.h64 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey()
DKeyboardInputMapper.cpp332 policyFlags, down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in processKey()
DCursorInputMapper.cpp377 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource, in sync()
DTouchInputMapper.cpp1569 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, getDeviceId(), mSource, in cookAndDispatch()
1817 dispatchVirtualKey(when, policyFlags, AKEY_EVENT_ACTION_DOWN, in consumeRawTouches()
/frameworks/native/libs/input/tests/
DInputChannel_test.cpp81 serverMsg.body.key.action = AKEY_EVENT_ACTION_DOWN; in TEST_F()
DInputEvent_test.cpp181 event.initialize(2, AINPUT_SOURCE_GAMEPAD, DISPLAY_ID, AKEY_EVENT_ACTION_DOWN, in TEST_F()
189 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, event.getAction()); in TEST_F()
DInputPublisherAndConsumer_test.cpp77 constexpr int32_t action = AKEY_EVENT_ACTION_DOWN; in PublishAndConsumeKeyEvent()
/frameworks/native/services/inputflinger/tests/
DInputClassifier_test.cpp86 ADISPLAY_ID_DEFAULT, 0/*policyFlags*/, AKEY_EVENT_ACTION_DOWN, 4/*flags*/, in TEST_F()
DInputReader_test.cpp1975 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in testDPadKeyRotation()
2012 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F()
2041 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F()
2071 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F()
2216 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F()
2890 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2931 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
2972 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3013 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, keyArgs.action); in TEST_F()
3593 ASSERT_EQ(AKEY_EVENT_ACTION_DOWN, args.action); in TEST_F()
[all …]
DInputDispatcher_test.cpp516 AKEY_EVENT_ACTION_DOWN, /* flags */ 0, in injectKeyDown()
888 keyArgs = generateKeyArgs(AKEY_EVENT_ACTION_DOWN); in testNotifyKey()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp51 case AKEY_EVENT_ACTION_DOWN: in keyActionToString()
DInputState.cpp75 case AKEY_EVENT_ACTION_DOWN: { in trackKey()
DInputDispatcher.cpp117 case AKEY_EVENT_ACTION_DOWN: in isValidKeyAction()
434 if (keyEntry->action == AKEY_EVENT_ACTION_DOWN) { in enqueueInboundEventLocked()
775 if (entry->repeatCount == 0 && entry->action == AKEY_EVENT_ACTION_DOWN && in dispatchKeyLocked()
2614 if (metaState & AMETA_META_ON && action == AKEY_EVENT_ACTION_DOWN) { in accelerateMetaShortcuts()
4285 bool initialDown = keyEntry->action == AKEY_EVENT_ACTION_DOWN && keyEntry->repeatCount == 0; in afterKeyEventLockedInterruptible()
/frameworks/native/include/android/
Dinput.h169 AKEY_EVENT_ACTION_DOWN = 0, enumerator
/frameworks/native/libs/input/
DKeyCharacterMap.cpp325 outEvents[i].getAction() == AKEY_EVENT_ACTION_DOWN ? "down" : "up"); in getEvents()
491 down ? AKEY_EVENT_ACTION_DOWN : AKEY_EVENT_ACTION_UP, in addKey()