/frameworks/support/compat/java/android/support/v4/view/ |
D | MotionEventCompat.java | 33 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/ |
D | MotionEventCompatICS.java | 22 public static int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompatICS 23 return event.getButtonState(); in getButtonState()
|
/frameworks/native/services/inputflinger/ |
D | PointerControllerInterface.h | 53 virtual int32_t getButtonState() const = 0;
|
D | InputReader.h | 686 uint32_t getButtonState() const; 764 uint32_t getButtonState() const;
|
D | InputReader.cpp | 1282 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()
|
D | InputDispatcher.cpp | 2663 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent() 2676 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
|
/frameworks/support/v13/java/android/support/v13/view/ |
D | DragStartHelper.java | 137 (MotionEventCompat.getButtonState(event) & MotionEventCompat.BUTTON_PRIMARY) != 0) { in onTouch()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 199 (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0))) { in onTouch() 214 (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) == 0) { in onTouch()
|
D | PointerLocationView.java | 444 final int buttonState = event.getButtonState(); in logCoords()
|
/frameworks/base/libs/input/ |
D | PointerController.h | 97 virtual int32_t getButtonState() const;
|
D | PointerController.cpp | 195 int32_t PointerController::getButtonState() const { in getButtonState() function in android::PointerController
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | MotionEventInjector.java | 175 event.getButtonState(), event.getXPrecision(), event.getYPrecision(), in injectEventsMainThread()
|
D | TouchExplorer.java | 1001 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()
|
/frameworks/base/core/java/android/view/ |
D | ScaleGestureDetector.java | 244 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
|
D | MotionEvent.java | 2326 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()
|
D | InputEventConsistencyVerifier.java | 473 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 140 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_MotionEvent.cpp | 510 return event->getButtonState(); in android_view_MotionEvent_nativeGetButtonState()
|
/frameworks/base/native/android/ |
D | input.cpp | 98 return static_cast<const MotionEvent*>(motion_event)->getButtonState(); in AMotionEvent_getButtonState()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 80 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/ |
D | InputPublisherAndConsumer_test.cpp | 193 EXPECT_EQ(buttonState, motionEvent->getButtonState()); in PublishAndConsumeMotionEvent()
|
D | InputEvent_test.cpp | 308 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, event->getButtonState()); in assertEqualsEventWithHistory()
|
/frameworks/native/include/input/ |
D | Input.h | 399 inline int32_t getButtonState() const { return mButtonState; } in getButtonState() function
|
/frameworks/base/docs/html/about/versions/marshmallow/ |
D | android-6.0.jd | 355 {@link android.view.MotionEvent#getButtonState() getButtonState()} 363 {@link android.view.MotionEvent#getButtonState() getButtonState()} method returns
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 1338 ((mLastButtonState ^ event.getButtonState()) & MotionEvent.BUTTON_PRIMARY) != 0; in shouldFilterOutTouchEvent() 1353 mLastButtonState = event.getButtonState(); in onTouchEvent()
|