Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/mapper/
DTouchCursorInputMapperCommon.cpp32 int32_t lastButtonState, int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument
35 (currentButtonState & buttonState)) || in synthesizeButtonKey()
37 !(currentButtonState & 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()
DCursorInputMapper.cpp243 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
244 mButtonState = currentButtonState; in sync()
247 bool down = isPointerDown(currentButtonState); in sync()
258 bool buttonsChanged = currentButtonState != lastButtonState; in sync()
259 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync()
260 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync()
318 currentButtonState); in sync()
351 metaState, currentButtonState, MotionClassification::NONE, in sync()
373 ALOG_ASSERT(buttonState == currentButtonState); in sync()
380 currentButtonState, MotionClassification::NONE, in sync()
[all …]
DTouchCursorInputMapperCommon.h40 int32_t lastButtonState, int32_t currentButtonState);