Searched refs:lastButtonState (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 77 int32_t displayId, uint32_t policyFlags, int32_t lastButtonState, in synthesizeButtonKey() argument 79 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey() 81 (action == AKEY_EVENT_ACTION_UP && (lastButtonState & buttonState) && in synthesizeButtonKey() 91 int32_t displayId, uint32_t policyFlags, int32_t lastButtonState, in synthesizeButtonKeys() argument 94 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_BACK, in synthesizeButtonKeys() 97 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_FORWARD, in synthesizeButtonKeys()
|
D | CursorInputMapper.cpp | 303 int32_t lastButtonState = mButtonState; in sync() local 307 bool wasDown = isPointerDown(lastButtonState); in sync() 319 bool buttonsChanged = currentButtonState != lastButtonState; in sync() 320 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync() 321 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync() 392 mSource, *mDisplayId, policyFlags, lastButtonState, currentButtonState); in sync() 397 int32_t buttonState = lastButtonState; in sync() 481 *mDisplayId, policyFlags, lastButtonState, currentButtonState); in sync()
|