Lines Matching refs:lastButtonState
234 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, in synthesizeButtonKey() argument
238 && !(lastButtonState & buttonState) in synthesizeButtonKey()
241 && (lastButtonState & 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()
2736 int32_t lastButtonState = mButtonState; in sync() local
2740 bool wasDown = isPointerDown(lastButtonState); 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()
2827 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
2832 int32_t buttonState = lastButtonState; in sync()
2911 displayId, policyFlags, lastButtonState, currentButtonState); in sync()