Searched refs:currentButtonState (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchCursorInputMapperCommon.h | 78 int32_t currentButtonState, int32_t buttonState, int32_t keyCode) { in synthesizeButtonKey() argument 80 (currentButtonState & buttonState)) || in synthesizeButtonKey() 82 !(currentButtonState & buttonState))) { in synthesizeButtonKey() 92 int32_t currentButtonState) { in synthesizeButtonKeys() argument 94 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_BACK, in synthesizeButtonKeys() 97 lastButtonState, currentButtonState, AMOTION_EVENT_BUTTON_FORWARD, in synthesizeButtonKeys()
|
D | CursorInputMapper.cpp | 304 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local 305 mButtonState = currentButtonState; in sync() 308 bool down = isPointerDown(currentButtonState); in sync() 319 bool buttonsChanged = currentButtonState != lastButtonState; in sync() 320 int32_t buttonsPressed = currentButtonState & ~lastButtonState; in sync() 321 int32_t buttonsReleased = lastButtonState & ~currentButtonState; in sync() 359 mPointerController->setButtonState(currentButtonState); in sync() 392 mSource, *mDisplayId, policyFlags, lastButtonState, currentButtonState); in sync() 426 currentButtonState, MotionClassification::NONE, in sync() 449 ALOG_ASSERT(buttonState == currentButtonState); in sync() [all …]
|