Searched refs:lastButtonState (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.cpp | 32 int32_t lastButtonState, int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument 34 if ((action == AKEY_EVENT_ACTION_DOWN && !(lastButtonState & buttonState) && in synthesizeButtonKey() 36 (action == AKEY_EVENT_ACTION_UP && (lastButtonState & buttonState) && in synthesizeButtonKey() 92 int32_t lastButtonState, int32_t currentButtonState) { in synthesizeButtonKeys() argument 95 policyFlags, lastButtonState, currentButtonState, in synthesizeButtonKeys() 98 policyFlags, lastButtonState, currentButtonState, in synthesizeButtonKeys()
|
D | CursorInputMapper.cpp | 238 int32_t lastButtonState = mButtonState; in sync() local 242 bool wasDown = isPointerDown(lastButtonState); in sync() 254 bool buttonsChanged = currentButtonState != lastButtonState; in sync() 255 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync() 256 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync() 322 mSource, *mDisplayId, policyFlags, lastButtonState, in sync() 328 int32_t buttonState = lastButtonState; in sync() 410 mSource, *mDisplayId, policyFlags, lastButtonState, in sync()
|
D | TouchCursorInputMapperCommon.h | 40 int32_t lastButtonState, int32_t currentButtonState);
|