Home
last modified time | relevance | path

Searched refs:getButtonState (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/native/services/inputflinger/reader/mapper/accumulator/
DCursorButtonAccumulator.h35 uint32_t getButtonState() const;
DTouchButtonAccumulator.h36 uint32_t getButtonState() const;
DCursorButtonAccumulator.cpp81 uint32_t CursorButtonAccumulator::getButtonState() const { in getButtonState() function in android::CursorButtonAccumulator
DTouchButtonAccumulator.cpp123 uint32_t TouchButtonAccumulator::getButtonState() const { in getButtonState() function in android::TouchButtonAccumulator
/frameworks/base/core/java/android/view/
DInputEventCompatProcessor.java59 final int buttonState = motion.getButtonState(); in processInputEventForCompatibility()
DVerifiedMotionEvent.java266 public int getButtonState() { in getButtonState() method in VerifiedMotionEvent
DScaleGestureDetector.java245 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
DMotionEvent.java2605 public final int getButtonState() { in getButtonState() method in MotionEvent
3568 appendUnless("0", msg, ", buttonState=", MotionEvent.buttonStateToString(getButtonState())); in toString()
3758 return (getButtonState() & button) == button; in isButtonPressed()
DInputEventConsistencyVerifier.java477 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h54 virtual int32_t getButtonState() const = 0;
/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp87 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
DCursorInputMapper.cpp267 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync()
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java69 (motionEvent.getButtonState() & BUTTON_STYLUS_PRIMARY) != 0; in onInputEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/
DEventDispatcher.java219 event.getButtonState(), in offsetEvent()
350 prototype.getButtonState(), in computeEventWithOriginalDown()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp101 ASSERT_EQ(event.getButtonState(), verified.buttonState); in TEST()
DInputPublisherAndConsumer_test.cpp219 EXPECT_EQ(buttonState, motionEvent->getButtonState()); in PublishAndConsumeMotionEvent()
/frameworks/base/libs/input/
DPointerController.h97 virtual int32_t getButtonState() const;
DPointerController.cpp168 int32_t PointerController::getButtonState() const { in getButtonState() function in android::PointerController
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingDataProvider.java258 motionEvent.getButtonState(), in unpackMotionEvent()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp105 virtual int32_t getButtonState() const { in getButtonState() function in android::FakePointerController
3397 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
3404 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
3413 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
3420 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
3427 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
3440 mFakePointerController->getButtonState()); in TEST_F()
3448 mFakePointerController->getButtonState()); in TEST_F()
3457 mFakePointerController->getButtonState()); in TEST_F()
3466 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp146 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
/frameworks/base/native/android/
Dinput.cpp98 return static_cast<const MotionEvent*>(motion_event)->getButtonState(); in AMotionEvent_getButtonState()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java184 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0; in onTouch()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp196 static hidl_bitfield<common::V1_0::Button> getButtonState(int32_t buttonState) { in getButtonState() function
369 event.buttonState = getButtonState(args.buttonState); in notifyMotionArgsToHalMotionEvent()
/frameworks/native/include/input/
DInput.h510 inline int32_t getButtonState() const { return mButtonState; } in getButtonState() function

12