Home
last modified time | relevance | path

Searched refs:lastButtonState (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/services/inputflinger/
DInputReader.cpp234 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()
[all …]