Home | History | Annotate | Download | only in input

Lines Matching defs:touches

136 typedef std::vector<WebTouchEvent> Touches;
137 Touches BuildTouchSequence(size_t steps,
140 Touches touches;
146 touch.touches[0].id = 0;
147 touch.touches[0].state = WebTouchPoint::StatePressed;
148 touch.touches[0].position.x = origin.x();
149 touch.touches[0].position.y = origin.y();
150 touch.touches[0].screenPosition.x = origin.x();
151 touch.touches[0].screenPosition.y = origin.y();
152 touches.push_back(touch);
155 touch.touches[0].state = WebTouchPoint::StateMoved;
157 touch.touches[0].position.x += delta.x();
158 touch.touches[0].position.y += delta.y();
159 touch.touches[0].screenPosition.x += delta.x();
160 touch.touches[0].screenPosition.y += delta.y();
161 touches.push_back(touch);
165 touch.touches[0].state = WebTouchPoint::StateReleased;
166 touches.push_back(touch);
167 return touches;
309 Touches touches = BuildTouchSequence(steps, origin, distance);
310 ASSERT_EQ(touches.size(), gestures.size());
318 SendEvent(touches[i], CreateLatencyInfo());
319 // Touches may not be forwarded after the scroll sequence has begun, so
322 SendEventAckIfNecessary(touches[i],