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.cpp289 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
290 mButtonState = currentButtonState; in sync()
293 bool down = isPointerDown(currentButtonState); in sync()
304 bool buttonsChanged = currentButtonState != lastButtonState; in sync()
305 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync()
306 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync()
346 mPointerController->setButtonState(currentButtonState); in sync()
378 displayId, policyFlags, lastButtonState, currentButtonState); in sync()
412 currentButtonState, MotionClassification::NONE, in sync()
435 ALOG_ASSERT(buttonState == currentButtonState); in sync()
[all …]