/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 54 static bool isPointerDown(int32_t buttonState) { in isPointerDown() argument 55 return buttonState & in isPointerDown() 63 int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument 64 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey() 65 (currentButtonState & buttonState)) || in synthesizeButtonKey() 66 (action == AKEY_EVENT_ACTION_UP && (lastButtonState & buttonState) && in synthesizeButtonKey() 67 !(currentButtonState & buttonState))) { in synthesizeButtonKey()
|
D | TouchInputMapper.cpp | 264 dump += StringPrintf(INDENT3 "Last Raw Button State: 0x%08x\n", mLastRawState.buttonState); in dump() 280 mLastCookedState.buttonState); in dump() 1424 next.buttonState = in sync() 1518 bool buttonsPressed = mCurrentRawState.buttonState & ~mLastRawState.buttonState; in cookAndDispatch() 1546 mViewport.displayId, policyFlags, mLastCookedState.buttonState, in cookAndDispatch() 1547 mCurrentCookedState.buttonState); in cookAndDispatch() 1585 isPointerDown(mCurrentRawState.buttonState)) { in cookAndDispatch() 1596 mPointerController->setButtonState(mCurrentRawState.buttonState); in cookAndDispatch() 1618 mViewport.displayId, policyFlags, mLastCookedState.buttonState, in cookAndDispatch() 1619 mCurrentCookedState.buttonState); in cookAndDispatch() [all …]
|
D | TouchInputMapper.h | 303 int32_t buttonState; member 312 buttonState = other.buttonState; in copyFrom() 320 buttonState = 0; in clear() 335 int32_t buttonState; member 342 buttonState = other.buttonState; in copyFrom() 350 buttonState = 0; in clear() 746 int32_t actionButton, int32_t flags, int32_t metaState, int32_t buttonState,
|
D | CursorInputMapper.cpp | 362 int32_t buttonState = lastButtonState; in sync() local 376 buttonState &= ~actionButton; in sync() 380 metaState, buttonState, MotionClassification::NONE, in sync() 401 buttonState |= actionButton; in sync() 405 metaState, buttonState, MotionClassification::NONE, in sync() 414 ALOG_ASSERT(buttonState == currentButtonState); in sync()
|
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
D | MouseClickAction.java | 46 float[] precision, int inputDevice, int buttonState) { in sendTap() argument 48 inputDevice, buttonState); in sendTap() 62 buttonState); in sendTap() 86 float[] coordinates, float[] precision, int inputDevice, int buttonState) { in sendSingleTap() argument 88 inputDevice, buttonState); in sendSingleTap()
|
/frameworks/base/core/java/android/view/ |
D | InputEventCompatProcessor.java | 59 final int buttonState = motion.getButtonState(); in processInputEventForCompatibility() local 60 final int compatButtonState = (buttonState & mask) >> 4; in processInputEventForCompatibility() 62 motion.setButtonState(buttonState | compatButtonState); in processInputEventForCompatibility()
|
D | InputEventConsistencyVerifier.java | 477 final int buttonState = event.getButtonState(); in onGenericMotionEvent() local 513 (buttonState & MotionEvent.BUTTON_SECONDARY) != 0) { in onGenericMotionEvent() 516 (buttonState & MotionEvent.BUTTON_TERTIARY) != 0) { in onGenericMotionEvent() 520 if (mButtonsPressed != buttonState) { in onGenericMotionEvent() 524 buttonState, mButtonsPressed)); in onGenericMotionEvent() 541 (buttonState & MotionEvent.BUTTON_SECONDARY) == 0) { in onGenericMotionEvent() 544 (buttonState & MotionEvent.BUTTON_TERTIARY) == 0) { in onGenericMotionEvent() 548 if (mButtonsPressed != buttonState) { in onGenericMotionEvent() 552 buttonState, mButtonsPressed)); in onGenericMotionEvent()
|
D | VerifiedMotionEvent.java | 180 int buttonState) { argument 193 this.mButtonState = buttonState; 349 int buttonState = in.readInt(); in VerifiedMotionEvent() local 362 this.mButtonState = buttonState; in VerifiedMotionEvent()
|
D | MotionEvent.java | 1526 int metaState, int buttonState, @Classification int classification, in nativeInitialize() argument 1598 private static native void nativeSetButtonState(long nativePtr, int buttonState); in nativeSetButtonState() argument 1700 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument 1705 metaState, buttonState, CLASSIFICATION_NONE, 0, 0, xPrecision, yPrecision, in obtain() 1746 PointerCoords[] pointerCoords, int metaState, int buttonState, in obtain() argument 1750 metaState, buttonState, xPrecision, yPrecision, deviceId, edgeFlags, source, in obtain() 1987 int edgeFlags, int metaState, int buttonState, @Classification int classification, in initialize() argument 1992 edgeFlags, metaState, buttonState, classification, xOffset, yOffset, in initialize() 2616 public final void setButtonState(int buttonState) { in setButtonState() argument 2617 nativeSetButtonState(mNativePtr, buttonState); in setButtonState() [all …]
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 99 int32_t buttonState, MotionClassification classification, in NotifyMotionArgs() argument 115 buttonState(buttonState), in NotifyMotionArgs() 141 buttonState(other.buttonState), in NotifyMotionArgs() 165 metaState == rhs.metaState && buttonState == rhs.buttonState && in operator ==()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 101 virtual void setButtonState(int32_t buttonState) { in setButtonState() argument 102 mButtonState = buttonState; in setButtonState() 3144 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F() 3163 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, args.buttonState); in TEST_F() 3185 ASSERT_EQ(0, args.buttonState); in TEST_F() 3204 ASSERT_EQ(0, args.buttonState); in TEST_F() 3396 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F() 3403 ASSERT_EQ(AMOTION_EVENT_BUTTON_PRIMARY, motionArgs.buttonState); in TEST_F() 3412 ASSERT_EQ(0, motionArgs.buttonState); in TEST_F() 3419 ASSERT_EQ(0, motionArgs.buttonState); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 55 entry.buttonState}; in verifiedMotionEventFromMotionEntry() 180 int32_t buttonState, MotionClassification classification, in MotionEntry() argument 194 buttonState(buttonState), in MotionEntry() 225 actionButton, flags, metaState, buttonState, in appendDescription()
|
D | Entry.h | 165 int32_t buttonState; member 179 int32_t metaState, int32_t buttonState, MotionClassification classification,
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VerifiedMotionEventTest.kt | 53 assertEquals(BUTTON_STATE, event.buttonState) in testConstructor() 182 assertEquals(event1.buttonState, event2.buttonState) in compareVerifiedMotionEvents()
|
/frameworks/base/libs/input/ |
D | PointerController.cpp | 102 mLocked.buttonState = 0; in PointerController() 157 void PointerController::setButtonState(int32_t buttonState) { in setButtonState() argument 159 ALOGD("Set button state 0x%08x", buttonState); in setButtonState() 163 if (mLocked.buttonState != buttonState) { in setButtonState() 164 mLocked.buttonState = buttonState; in setButtonState() 171 return mLocked.buttonState; in getButtonState()
|
D | PointerController.h | 96 virtual void setButtonState(int32_t buttonState); 181 int32_t buttonState; member
|
/frameworks/native/services/vr/virtual_touchpad/aidl/android/dvr/ |
D | IVirtualTouchpadService.aidl | 36 void buttonState(int touchpad, int buttons) = 3; in buttonState() method
|
/frameworks/native/libs/input/tests/ |
D | StructLayout_test.cpp | 63 CHECK_OFFSET(InputMessage::Body::Motion, buttonState, 76); in TestInputMessageAlignment() 130 sizeof(VerifiedMotionEvent::buttonState); in TestVerifiedEventSize()
|
D | InputPublisherAndConsumer_test.cpp | 156 constexpr int32_t buttonState = AMOTION_EVENT_BUTTON_PRIMARY; in PublishAndConsumeMotionEvent() local 189 actionButton, flags, edgeFlags, metaState, buttonState, in PublishAndConsumeMotionEvent() 219 EXPECT_EQ(buttonState, motionEvent->getButtonState()); in PublishAndConsumeMotionEvent()
|
/frameworks/base/core/jni/ |
D | android_view_VerifiedMotionEvent.cpp | 38 event.metaState, event.buttonState); in android_view_VerifiedMotionEvent()
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 102 int32_t buttonState; member 128 int32_t flags, int32_t metaState, int32_t buttonState,
|
D | PointerControllerInterface.h | 51 virtual void setButtonState(int32_t buttonState) = 0;
|
/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadService.h | 25 binder::Status buttonState(int touchpad, int buttons) override;
|
D | VirtualTouchpadClient.cpp | 60 return service_->buttonState(touchpad, buttons).transactionError(); in ButtonState()
|
/frameworks/native/include/input/ |
D | Input.h | 512 inline void setButtonState(int32_t buttonState) { mButtonState = buttonState; } in setButtonState() argument 687 int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, 819 int32_t buttonState; member
|