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.cpp239 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
240 mButtonState = currentButtonState; in sync()
243 bool down = isPointerDown(currentButtonState); 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()
323 currentButtonState); in sync()
356 metaState, currentButtonState, MotionClassification::NONE, in sync()
378 ALOG_ASSERT(buttonState == currentButtonState); in sync()
385 currentButtonState, MotionClassification::NONE, in sync()
[all …]
DTouchCursorInputMapperCommon.h40 int32_t lastButtonState, int32_t currentButtonState);