Searched refs:lastButtonState (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 107 int32_t displayId, uint32_t policyFlags, int32_t lastButtonState, in synthesizeButtonKey() argument 109 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey() 111 (action == AKEY_EVENT_ACTION_UP && (lastButtonState & buttonState) && in synthesizeButtonKey() 121 int32_t displayId, uint32_t policyFlags, int32_t lastButtonState, in synthesizeButtonKeys() argument 124 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_BACK, in synthesizeButtonKeys() 127 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_FORWARD, in synthesizeButtonKeys()
|
D | CursorInputMapper.cpp | 295 int32_t lastButtonState = mButtonState; in sync() local 299 bool wasDown = isPointerDown(lastButtonState); in sync() 311 bool buttonsChanged = currentButtonState != lastButtonState; in sync() 312 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync() 313 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync() 399 mSource, displayId, policyFlags, lastButtonState, currentButtonState); in sync() 404 int32_t buttonState = lastButtonState; in sync() 488 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
|