Lines Matching refs:currentButtonState
234 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, in synthesizeButtonKey() argument
239 && (currentButtonState & buttonState)) in synthesizeButtonKey()
242 && !(currentButtonState & buttonState))) { in synthesizeButtonKey()
251 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { in synthesizeButtonKeys() argument
253 lastButtonState, currentButtonState, in synthesizeButtonKeys()
256 lastButtonState, currentButtonState, in synthesizeButtonKeys()
2737 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
2738 mButtonState = currentButtonState; in sync()
2741 bool down = isPointerDown(currentButtonState); in sync()
2752 bool buttonsChanged = currentButtonState != lastButtonState; in sync()
2753 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync()
2754 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync()
2795 mPointerController->setButtonState(currentButtonState); in sync()
2827 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
2859 displayId, policyFlags, motionEventAction, 0, 0, metaState, currentButtonState, in sync()
2880 ALOG_ASSERT(buttonState == currentButtonState); in sync()
2887 metaState, currentButtonState, in sync()
2901 AMOTION_EVENT_ACTION_SCROLL, 0, 0, metaState, currentButtonState, in sync()
2911 displayId, policyFlags, lastButtonState, currentButtonState); in sync()