Lines Matching refs:buttonState
159 static bool isPointerDown(int32_t buttonState) {
160 return buttonState &
178 int32_t buttonState, int32_t keyCode) {
181 && !(lastButtonState & buttonState)
182 && (currentButtonState & buttonState))
184 && (lastButtonState & buttonState)
185 && !(currentButtonState & buttonState))) {
3890 int32_t buttonState = mCurrentButtonState;
3897 AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState,
3923 if (buttonState != mLastButtonState) {
3932 AMOTION_EVENT_ACTION_POINTER_UP, 0, metaState, buttonState, 0,
3947 AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, 0,
3966 AMOTION_EVENT_ACTION_POINTER_DOWN, 0, metaState, buttonState, 0,
4322 int32_t buttonState = mCurrentButtonState;
4343 if (buttonState != mLastButtonState) {
4353 AMOTION_EVENT_ACTION_CANCEL, 0, metaState, buttonState,
4374 metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
4388 AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
4408 AMOTION_EVENT_ACTION_POINTER_DOWN, 0, metaState, buttonState, 0,
4420 metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
4446 metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,
4474 int32_t buttonState = mCurrentButtonState;
4476 AMOTION_EVENT_ACTION_CANCEL, 0, metaState, buttonState,
5463 int32_t action, int32_t flags, int32_t metaState, int32_t buttonState, int32_t edgeFlags,
5500 action, flags, metaState, buttonState, edgeFlags,
6286 int32_t buttonState = 0;
6312 AMOTION_EVENT_ACTION_MOVE, 0, metaState, buttonState, AMOTION_EVENT_EDGE_FLAG_NONE,