Searched refs:lastButtonState (Results 1 – 1 of 1) sorted by relevance
234 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, in synthesizeButtonKey() argument238 && !(lastButtonState & buttonState) in synthesizeButtonKey()241 && (lastButtonState & buttonState) in synthesizeButtonKey()251 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { in synthesizeButtonKeys() argument253 lastButtonState, currentButtonState, in synthesizeButtonKeys()256 lastButtonState, currentButtonState, in synthesizeButtonKeys()2736 int32_t lastButtonState = mButtonState; in sync() local2740 bool wasDown = isPointerDown(lastButtonState); in sync()2752 bool buttonsChanged = currentButtonState != lastButtonState; in sync()2753 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync()[all …]