Home
last modified time | relevance | path

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

/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
3470 appendUnless("0", msg, ", buttonState=", MotionEvent.buttonStateToString(getButtonState())); in toString()
3660 return (getButtonState() & button) == button; in isButtonPressed()
DInputEventConsistencyVerifier.java477 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
/frameworks/native/services/inputflinger/include/
DPointerControllerInterface.h53 virtual int32_t getButtonState() const = 0;
/frameworks/base/services/core/java/com/android/server/wm/
DDragInputEventReceiver.java69 (motionEvent.getButtonState() & BUTTON_STYLUS_PRIMARY) != 0; in onInputEvent()
/frameworks/base/libs/input/
DPointerController.h97 virtual int32_t getButtonState() const;
DPointerController.cpp174 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/native/services/inputflinger/tests/
DInputReader_test.cpp93 virtual int32_t getButtonState() const { in getButtonState() function in android::FakePointerController
2769 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2776 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2785 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2792 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2799 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2812 mFakePointerController->getButtonState()); in TEST_F()
2820 mFakePointerController->getButtonState()); in TEST_F()
2829 mFakePointerController->getButtonState()); in TEST_F()
2838 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java190 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0; in onTouch()
DPointerLocationView.java462 final int buttonState = event.getButtonState(); in logCoords()
/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/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/native/services/inputflinger/
DInputReader.h357 uint32_t getButtonState() const;
435 uint32_t getButtonState() const;
DInputReader.cpp1347 uint32_t CursorButtonAccumulator::getButtonState() const { in getButtonState() function in android::CursorButtonAccumulator
1542 uint32_t TouchButtonAccumulator::getButtonState() const { in getButtonState() function in android::TouchButtonAccumulator
2737 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync()
4346 next->buttonState = mTouchButtonAccumulator.getButtonState() in sync()
4347 | mCursorButtonAccumulator.getButtonState(); in sync()
7137 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
DInputDispatcher.cpp2959 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
2974 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DTouchExplorer.java1031 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()
/frameworks/base/core/java/android/widget/
DEditor.java1467 ((mLastButtonState ^ event.getButtonState()) & MotionEvent.BUTTON_PRIMARY) != 0; in shouldFilterOutTouchEvent()
1482 mLastButtonState = event.getButtonState(); in onTouchEvent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...