Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_BUTTON_PRIMARY (Results 1 – 9 of 9) 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.h71 (AMOTION_EVENT_BUTTON_PRIMARY | AMOTION_EVENT_BUTTON_SECONDARY | in isPointerDown()
/frameworks/native/include/android/
Dinput.h778 AMOTION_EVENT_BUTTON_PRIMARY = 1 << 0, enumerator
/frameworks/native/libs/input/tests/
DInputEvent_test.cpp278 AMOTION_EVENT_EDGE_FLAG_TOP, AMETA_ALT_ON, AMOTION_EVENT_BUTTON_PRIMARY, in initializeEventWithHistory()
337 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, event->getButtonState()); in assertEqualsEventWithHistory()
DInputPublisherAndConsumer_test.cpp157 constexpr int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY; in PublishAndConsumeMotionEvent()
/frameworks/base/services/core/jni/
Dcom_android_server_companion_virtual_InputController.cpp68 {AMOTION_EVENT_BUTTON_PRIMARY, BTN_LEFT}, {AMOTION_EVENT_BUTTON_SECONDARY, BTN_RIGHT},
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp2062 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2073 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2074 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2087 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2149 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2160 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2161 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
2174 .actionButton(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
6343 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in injectDown()
6680 .buttonState(AMOTION_EVENT_BUTTON_PRIMARY) in TEST_F()
[all …]
DInputReader_test.cpp4351 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F()
4369 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F()
4604 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
4605 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
4611 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
4612 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
6295 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
6299 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
8141 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
8145 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp106 static_assert(static_cast<common::Button>(AMOTION_EVENT_BUTTON_PRIMARY) == in getActionButton()