Lines Matching full:touches
2556 static PassRefPtr<TouchList> assembleTargetTouches(Touch* touchTarget, TouchList* touches)
2560 for (unsigned i = 0; i < touches->length(); ++i) {
2561 if (touches->item(i)->target()->toNode()->isSameNode(touchTarget->target()->toNode()))
2562 targetTouches->append(touches->item(i));
2570 RefPtr<TouchList> touches = TouchList::create();
2623 // touches should contain information about every touch currently on the screen.
2625 touches->append(touch);
2646 // above). In the case that there are multiple touches in what becomes the changedTouches list, it is
2647 // difficult to say how we should prioritise touches and as such, item 0 is an arbitrary choice.
2670 RefPtr<TouchList> targetTouches = assembleTargetTouches(changedTouch, touches.get());
2674 TouchEvent::create(touches.get(), targetTouches.get(), releasedTouches.get(),
2688 RefPtr<TouchList> targetTouches = assembleTargetTouches(changedTouch, touches.get());
2694 TouchEvent::create(touches.get(), targetTouches.get(), pressedTouches.get(),
2704 TouchEvent::create(touches.get(), targetTouches.get(), pressedTouches.get(),
2715 TouchEvent::create(touches.get(), targetTouches.get(), pressedTouches.get(),
2733 RefPtr<TouchList> targetTouches = assembleTargetTouches(changedTouch, touches.get());
2737 TouchEvent::create(touches.get(), targetTouches.get(), movedTouches.get(),