Searched refs:uinputAction (Results 1 – 2 of 2) sorted by relevance
298 bool VirtualTouchscreen::isValidPointerId(int32_t pointerId, UinputAction uinputAction) { in isValidPointerId() argument305 if (uinputAction == UinputAction::PRESS && mActivePointers.test(pointerId)) { in isValidPointerId()310 if (uinputAction == UinputAction::RELEASE && !mActivePointers.test(pointerId)) { in isValidPointerId()325 UinputAction uinputAction = actionIterator->second; in writeTouchEvent() local326 if (!isValidPointerId(pointerId, uinputAction)) { in writeTouchEvent()340 if (uinputAction == UinputAction::PRESS && !handleTouchDown(pointerId, eventTime)) { in writeTouchEvent()343 if (uinputAction == UinputAction::RELEASE && !handleTouchUp(pointerId, eventTime)) { in writeTouchEvent()431 UinputAction uinputAction = actionIterator->second; in writeMotionEvent() local438 if (uinputAction == UinputAction::PRESS && !handleStylusDown(tool, eventTime)) { in writeMotionEvent()445 if (uinputAction == UinputAction::RELEASE && !handleStylusUp(tool, eventTime)) { in writeMotionEvent()
101 bool isValidPointerId(int32_t pointerId, UinputAction uinputAction);