Home
last modified time | relevance | path

Searched refs:getButtonState (Results 1 – 25 of 33) 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.cpp121 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()
DScaleGestureDetector.java245 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
DMotionEvent.java2571 public final int getButtonState() { in getButtonState() method in MotionEvent
3471 appendUnless("0", msg, ", buttonState=", MotionEvent.buttonStateToString(getButtonState())); in toString()
3661 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.cpp289 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/native/services/inputflinger/tests/
DInputReader_test.cpp97 virtual int32_t getButtonState() const { in getButtonState() function in android::FakePointerController
2781 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2788 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2797 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2804 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2811 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2824 mFakePointerController->getButtonState()); in TEST_F()
2832 mFakePointerController->getButtonState()); in TEST_F()
2841 mFakePointerController->getButtonState()); in TEST_F()
2850 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
[all …]
/frameworks/base/libs/input/
DPointerController.h95 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.java240 motionEvent.getButtonState(), in unpackMotionEvent()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java190 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0; in onTouch()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp140 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
Dandroid_view_MotionEvent.cpp664 return event->getButtonState(); in android_view_MotionEvent_nativeGetButtonState()
/frameworks/base/native/android/
Dinput.cpp98 return static_cast<const MotionEvent*>(motion_event)->getButtonState(); in AMotionEvent_getButtonState()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp196 static hidl_bitfield<common::V1_0::Button> getButtonState(int32_t buttonState) { in getButtonState() function
368 event.buttonState = getButtonState(args.buttonState); in notifyMotionArgsToHalMotionEvent()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp198 EXPECT_EQ(buttonState, motionEvent->getButtonState()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp315 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, event->getButtonState()); in assertEqualsEventWithHistory()
/frameworks/native/include/input/
DInput.h444 inline int32_t getButtonState() const { return mButtonState; } in getButtonState() function
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1031 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()

12