Searched refs:currentButtonState (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 108 int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument 110 (currentButtonState & buttonState)) || in synthesizeButtonKey() 112 !(currentButtonState & buttonState))) { in synthesizeButtonKey() 122 int32_t currentButtonState) { in synthesizeButtonKeys() argument 124 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_BACK, in synthesizeButtonKeys() 127 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_FORWARD, in synthesizeButtonKeys()
|
D | CursorInputMapper.cpp | 296 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local 297 mButtonState = currentButtonState; in sync() 300 bool down = isPointerDown(currentButtonState); in sync() 311 bool buttonsChanged = currentButtonState != lastButtonState; in sync() 312 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync() 313 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync() 360 mPointerController->setButtonState(currentButtonState); in sync() 399 mSource, displayId, policyFlags, lastButtonState, currentButtonState); in sync() 433 currentButtonState, MotionClassification::NONE, in sync() 456 ALOG_ASSERT(buttonState == currentButtonState); in sync() [all …]
|