Lines Matching refs:currentButtonState
177 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState, in synthesizeButtonKey() argument
182 && (currentButtonState & buttonState)) in synthesizeButtonKey()
185 && !(currentButtonState & buttonState))) { in synthesizeButtonKey()
194 uint32_t policyFlags, int32_t lastButtonState, int32_t currentButtonState) { in synthesizeButtonKeys() argument
196 lastButtonState, currentButtonState, in synthesizeButtonKeys()
199 lastButtonState, currentButtonState, in synthesizeButtonKeys()
2436 int32_t currentButtonState = mCursorButtonAccumulator.getButtonState(); in sync() local
2437 mButtonState = currentButtonState; in sync()
2440 bool down = isPointerDown(currentButtonState); in sync()
2451 bool buttonsChanged = currentButtonState != lastButtonState; in sync()
2452 bool buttonsPressed = currentButtonState & ~lastButtonState; in sync()
2493 mPointerController->setButtonState(currentButtonState); in sync()
2523 policyFlags, lastButtonState, currentButtonState); in sync()
2538 motionEventAction, 0, metaState, currentButtonState, 0, in sync()
2548 metaState, currentButtonState, AMOTION_EVENT_EDGE_FLAG_NONE, in sync()
2560 AMOTION_EVENT_ACTION_SCROLL, 0, metaState, currentButtonState, in sync()
2570 policyFlags, lastButtonState, currentButtonState); in sync()