Home
last modified time | relevance | path

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

12

/frameworks/support/compat/java/android/support/v4/view/
DMotionEventCompat.java33 int getButtonState(MotionEvent event); in getButtonState() method
51 public int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompat.BaseMotionEventVersionImpl
81 public int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompat.ICSMotionEventVersionImpl
82 return MotionEventCompatICS.getButtonState(event); in getButtonState()
499 public static int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompat
500 return IMPL.getButtonState(event); in getButtonState()
/frameworks/support/compat/ics/android/support/v4/view/
DMotionEventCompatICS.java22 public static int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompatICS
23 return event.getButtonState(); in getButtonState()
/frameworks/native/services/inputflinger/
DPointerControllerInterface.h53 virtual int32_t getButtonState() const = 0;
DInputReader.h686 uint32_t getButtonState() const;
764 uint32_t getButtonState() const;
DInputReader.cpp1282 uint32_t CursorButtonAccumulator::getButtonState() const { in getButtonState() function in android::CursorButtonAccumulator
1477 uint32_t TouchButtonAccumulator::getButtonState() const { in getButtonState() function in android::TouchButtonAccumulator
2590 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync()
4070 next->buttonState = mTouchButtonAccumulator.getButtonState() in sync()
4071 | mCursorButtonAccumulator.getButtonState(); in sync()
6839 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
DInputDispatcher.cpp2663 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
2676 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
/frameworks/support/v13/java/android/support/v13/view/
DDragStartHelper.java137 (MotionEventCompat.getButtonState(event) & MotionEventCompat.BUTTON_PRIMARY) != 0) { in onTouch()
/frameworks/base/core/java/com/android/internal/widget/
DDecorCaptionView.java199 (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0))) { in onTouch()
214 (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) == 0) { in onTouch()
DPointerLocationView.java444 final int buttonState = event.getButtonState(); in logCoords()
/frameworks/base/libs/input/
DPointerController.h97 virtual int32_t getButtonState() const;
DPointerController.cpp195 int32_t PointerController::getButtonState() const { in getButtonState() function in android::PointerController
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMotionEventInjector.java175 event.getButtonState(), event.getXPrecision(), event.getYPrecision(), in injectEventsMainThread()
DTouchExplorer.java1001 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()
/frameworks/base/core/java/android/view/
DScaleGestureDetector.java244 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
DMotionEvent.java2326 public final int getButtonState() { in getButtonState() method in MotionEvent
3169 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState())); in toString()
3329 return (getButtonState() & button) == button; in isButtonPressed()
DInputEventConsistencyVerifier.java473 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
/frameworks/base/core/jni/
Dandroid_view_InputEventSender.cpp140 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
Dandroid_view_MotionEvent.cpp510 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/tests/
DInputReader_test.cpp80 virtual int32_t getButtonState() const { in getButtonState() function in android::FakePointerController
2276 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F()
2284 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2291 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2305 mFakePointerController->getButtonState()); in TEST_F()
2313 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F()
2322 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2328 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
2341 ASSERT_EQ(AMOTION_EVENT_BUTTON_BACK, mFakePointerController->getButtonState()); in TEST_F()
2350 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F()
[all …]
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp193 EXPECT_EQ(buttonState, motionEvent->getButtonState()); in PublishAndConsumeMotionEvent()
DInputEvent_test.cpp308 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, event->getButtonState()); in assertEqualsEventWithHistory()
/frameworks/native/include/input/
DInput.h399 inline int32_t getButtonState() const { return mButtonState; } in getButtonState() function
/frameworks/base/docs/html/about/versions/marshmallow/
Dandroid-6.0.jd355 {@link android.view.MotionEvent#getButtonState() getButtonState()}
363 {@link android.view.MotionEvent#getButtonState() getButtonState()} method returns
/frameworks/base/core/java/android/widget/
DEditor.java1338 ((mLastButtonState ^ event.getButtonState()) & MotionEvent.BUTTON_PRIMARY) != 0; in shouldFilterOutTouchEvent()
1353 mLastButtonState = event.getButtonState(); in onTouchEvent()

12