Lines Matching refs:actionMasked
149 const int32_t actionMasked = MotionEvent::getActionMasked(action); in resolveActionForPointer() local
150 if (actionMasked != AMOTION_EVENT_ACTION_POINTER_DOWN && in resolveActionForPointer()
151 actionMasked != AMOTION_EVENT_ACTION_POINTER_UP) { in resolveActionForPointer()
152 return actionMasked; in resolveActionForPointer()
157 return actionMasked; in resolveActionForPointer()
167 const int32_t actionMasked = MotionEvent::getActionMasked(args.action); in removePointerIds() local
168 const bool isPointerUpOrDownAction = actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN || in removePointerIds()
169 actionMasked == AMOTION_EVENT_ACTION_POINTER_UP; in removePointerIds()
196 actionMasked | (newActionIndex << AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT); in removePointerIds()
199 if (actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN) { in removePointerIds()
201 } else if (actionMasked == AMOTION_EVENT_ACTION_POINTER_UP) { in removePointerIds()
298 const int32_t actionMasked = MotionEvent::getActionMasked(args.action); in cancelSuppressedPointers() local
307 if (pointerId == activePointerId && actionMasked == AMOTION_EVENT_ACTION_POINTER_DOWN) { in cancelSuppressedPointers()
513 void SlotState::processPointerId(int pointerId, int32_t actionMasked) { in processPointerId() argument
514 switch (MotionEvent::getActionMasked(actionMasked)) { in processPointerId()
541 LOG_ALWAYS_FATAL("Unhandled action : %s", MotionEvent::actionToString(actionMasked).c_str()); in processPointerId()