Home
last modified time | relevance | path

Searched refs:getButtonState (Results 1 – 25 of 40) 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/native/services/inputflinger/include/
DPointerControllerInterface.h54 virtual int32_t getButtonState() const = 0;
/frameworks/base/core/java/android/view/
DInputEventCompatProcessor.java59 final int buttonState = motion.getButtonState(); in processInputEventForCompatibility()
DVerifiedMotionEvent.java267 public int getButtonState() { in getButtonState() method in VerifiedMotionEvent
DScaleGestureDetector.java248 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
DMotionEvent.java2671 public final int getButtonState() { in getButtonState() method in MotionEvent
3702 appendUnless("0", msg, ", buttonState=", MotionEvent.buttonStateToString(getButtonState())); in toString()
3893 return (getButtonState() & button) == button; in isButtonPressed()
DInputEventConsistencyVerifier.java477 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
/frameworks/base/libs/input/
DMouseCursorController.h49 int32_t getButtonState() const;
DPointerController.cpp136 int32_t PointerController::getButtonState() const { in getButtonState() function in android::PointerController
137 return mCursorController.getButtonState(); in getButtonState()
DPointerController.h55 virtual int32_t getButtonState() const;
DMouseCursorController.cpp112 int32_t MouseCursorController::getButtonState() const { in getButtonState() function in android::MouseCursorController
/frameworks/native/services/inputflinger/reader/mapper/
DExternalStylusInputMapper.cpp87 mStylusState.buttons = mTouchButtonAccumulator.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 computeInjectionDownEvent()
/frameworks/native/libs/input/tests/
DVerifiedInputEvent_test.cpp105 ASSERT_EQ(event.getButtonState(), verified.buttonState); in TEST()
/frameworks/native/services/inputflinger/
DInputCommonConverter.cpp197 static common::Button getButtonState(int32_t buttonState) { in getButtonState() function
324 event.buttonState = getButtonState(args.buttonState); in notifyMotionArgsToHalMotionEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingDataProvider.java340 motionEvent.getButtonState(),
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java181 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0; in onTouch()
/frameworks/native/libs/input/
DInput.cpp234 event.getButtonState()}; in verifiedMotionEventFromMotionEvent()
965 if (event.getButtonState() != 0) { in operator <<()
966 out << ", buttonState=" << event.getButtonState(); in operator <<()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp196 int32_t getButtonState() const override { return mButtonState; } in getButtonState() function in android::FakePointerController
4605 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
4612 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
4621 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
4628 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
4635 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
4648 mFakePointerController->getButtonState()); in TEST_F()
4656 mFakePointerController->getButtonState()); in TEST_F()
4665 mFakePointerController->getButtonState()); in TEST_F()
4674 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
[all …]
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp152 event->getMetaState(), event->getButtonState(), in sendMotionEvent()
/frameworks/base/native/android/
Dinput.cpp112 return static_cast<const MotionEvent*>(motion_event)->getButtonState(); in AMotionEvent_getButtonState()

12