Home
last modified time | relevance | path

Searched refs:AMOTION_EVENT_BUTTON_STYLUS_PRIMARY (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/native/services/inputflinger/reader/mapper/accumulator/
H A DTouchButtonAccumulator.cpp126 result |= AMOTION_EVENT_BUTTON_STYLUS_PRIMARY; in getButtonState()
/aosp12/frameworks/native/include/android/
H A Dinput.h784 AMOTION_EVENT_BUTTON_STYLUS_PRIMARY = 1 << 5, enumerator
/aosp12/frameworks/native/services/inputflinger/
H A DInputClassifierConverter.cpp101 static_assert(static_cast<common::V1_0::Button>(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) == in getActionButton()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputDispatcher_test.cpp5382 .buttonState(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) in performStylusDrag()
5480 .buttonState(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) in TEST_F()
H A DInputReader_test.cpp5934 ASSERT_EQ(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY, motionArgs.buttonState); in TEST_F()
5938 ASSERT_EQ(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY, motionArgs.buttonState); in TEST_F()
7411 ASSERT_EQ(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY, motionArgs.buttonState); in TEST_F()
7415 ASSERT_EQ(AMOTION_EVENT_BUTTON_STYLUS_PRIMARY, motionArgs.buttonState); in TEST_F()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DInputDispatcher.cpp2430 (entry.buttonState & AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) != 0; in addDragEventLocked()
2438 bool isStylusButtonDown = (entry.buttonState & AMOTION_EVENT_BUTTON_STYLUS_PRIMARY) != 0; in addDragEventLocked()