Home
last modified time | relevance | path

Searched refs:currentButtonState (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
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()
[all …]