Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_BUTTON_PRIMARY (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DCursorButtonAccumulator.cpp84 result |= AMOTION_EVENT_BUTTON_PRIMARY; in getButtonState()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.h101 (AMOTION_EVENT_BUTTON_PRIMARY | AMOTION_EVENT_BUTTON_SECONDARY | in isPointerDown()
/frameworks/native/include/android/
Dinput.h775 AMOTION_EVENT_BUTTON_PRIMARY = 1 << 0, enumerator
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp293 AMOTION_EVENT_EDGE_FLAG_TOP, AMETA_ALT_ON, AMOTION_EVENT_BUTTON_PRIMARY, in initializeEventWithHistory()
353 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, event->getButtonState()); in assertEqualsEventWithHistory()
DInputPublisherAndConsumer_test.cpp155 constexpr int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY; in PublishAndConsumeMotionEvent()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp1516 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1527 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1528 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1541 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1604 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1615 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1616 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
1629 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
DInputReader_test.cpp3924 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F()
3942 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F()
4167 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
4168 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
4174 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
4175 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
5546 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
5550 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
7023 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
7027 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp91 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_PRIMARY) == in getActionButton()