/frameworks/support/compat/java/android/support/v4/view/ |
D | MotionEventCompat.java | 599 public static int getButtonState(MotionEvent event) { in getButtonState() method in MotionEventCompat 600 return event.getButtonState(); in getButtonState()
|
/frameworks/native/services/inputflinger/ |
D | PointerControllerInterface.h | 53 virtual int32_t getButtonState() const = 0;
|
D | InputReader.h | 636 uint32_t getButtonState() const; 714 uint32_t getButtonState() const;
|
D | InputReader.cpp | 1333 uint32_t CursorButtonAccumulator::getButtonState() const { in getButtonState() function in android::CursorButtonAccumulator 1528 uint32_t TouchButtonAccumulator::getButtonState() const { in getButtonState() function in android::TouchButtonAccumulator 2670 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() 4184 next->buttonState = mTouchButtonAccumulator.getButtonState() in sync() 4185 | mCursorButtonAccumulator.getButtonState(); in sync() 6938 mStylusState.buttons = mTouchButtonAccumulator.getButtonState(); in sync()
|
D | InputDispatcher.cpp | 2664 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent() 2677 motionEvent->getMetaState(), motionEvent->getButtonState(), in injectInputEvent()
|
/frameworks/support/v13/java/android/support/v13/view/ |
D | DragStartHelper.java | 141 || (event.getButtonState() in onTouch()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 84 virtual int32_t getButtonState() const { in getButtonState() function in android::FakePointerController 2371 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F() 2378 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, mFakePointerController->getButtonState()); in TEST_F() 2387 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F() 2394 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F() 2401 ASSERT_EQ(0, mFakePointerController->getButtonState()); in TEST_F() 2414 mFakePointerController->getButtonState()); in TEST_F() 2422 mFakePointerController->getButtonState()); in TEST_F() 2431 mFakePointerController->getButtonState()); in TEST_F() 2440 ASSERT_EQ(AMOTION_EVENT_BUTTON_TERTIARY, mFakePointerController->getButtonState()); in TEST_F() [all …]
|
/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/core/java/android/view/ |
D | ScaleGestureDetector.java | 243 (event.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onTouchEvent()
|
D | MotionEvent.java | 2405 public final int getButtonState() { in getButtonState() method in MotionEvent 3250 msg.append(", buttonState=").append(MotionEvent.buttonStateToString(getButtonState())); in toString() 3410 return (getButtonState() & button) == button; in isButtonPressed()
|
D | InputEventConsistencyVerifier.java | 473 final int buttonState = event.getButtonState(); in onGenericMotionEvent()
|
D | ViewRootImpl.java | 6667 final int buttonState = motion.getButtonState(); in adjustInputEventForCompatibility()
|
D | View.java | 6395 (event.getButtonState() & MotionEvent.BUTTON_SECONDARY) != 0) {
|
/frameworks/base/core/jni/ |
D | android_view_InputEventSender.cpp | 140 event->getEdgeFlags(), event->getMetaState(), event->getButtonState(), in sendMotionEvent()
|
D | android_view_MotionEvent.cpp | 651 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/base/core/java/com/android/internal/widget/ |
D | DecorCaptionView.java | 188 final boolean primaryButton = (e.getButtonState() & MotionEvent.BUTTON_PRIMARY) != 0; in onTouch()
|
D | PointerLocationView.java | 444 final int buttonState = event.getButtonState(); in logCoords()
|
/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/services/accessibility/java/com/android/server/accessibility/ |
D | TouchExplorer.java | 1014 props, coords, event.getMetaState(), event.getButtonState(), in offsetEvent()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 1336 ((mLastButtonState ^ event.getButtonState()) & MotionEvent.BUTTON_PRIMARY) != 0; in shouldFilterOutTouchEvent() 1351 mLastButtonState = event.getButtonState(); in onTouchEvent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 778 (motionEvent.getButtonState() & MotionEvent.BUTTON_STYLUS_PRIMARY) != 0; in onInputEvent()
|