Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.h63 int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument
65 (currentButtonState & buttonState)) || in synthesizeButtonKey()
67 !(currentButtonState & buttonState))) { in synthesizeButtonKey()
77 int32_t currentButtonState) { in synthesizeButtonKeys() argument
79 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_BACK, in synthesizeButtonKeys()
82 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_FORWARD, in synthesizeButtonKeys()
DCursorInputMapper.cpp267 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
268 mButtonState = currentButtonState; in sync()
271 bool down = isPointerDown(currentButtonState); in sync()
282 bool buttonsChanged = currentButtonState != lastButtonState; in sync()
283 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync()
284 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync()
326 mPointerController->setButtonState(currentButtonState); in sync()
357 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
390 policyFlags, motionEventAction, 0, 0, metaState, currentButtonState, in sync()
414 ALOG_ASSERT(buttonState == currentButtonState); in sync()
[all …]