Lines Matching refs:touches
411 m_touchPoints.append(PlatformTouchPointBuilder(widget, event.touches[i]));
502 if (!event.touches())
504 if (event.touches()->length() != 1) {
505 if (event.touches()->length() || event.type() != eventNames().touchendEvent || !event.changedTouches() || event.changedTouches()->length() != 1)
509 const Touch* touch = event.touches()->length() == 1 ? event.touches()->item(0) : event.changedTouches()->item(0);
677 static void addTouchPoints(const Widget* widget, const AtomicString& touchType, TouchList* touches, WebTouchPoint* touchPoints, unsigned* touchPointsLength, const WebCore::RenderObject* renderObject)
679 unsigned numberOfTouches = std::min(touches->length(), static_cast<unsigned>(WebTouchEvent::touchesLengthCap));
681 const Touch* touch = touches->item(i);
717 addTouchPoints(widget, event.type(), event.touches(), touches, &touchesLength, renderObject);