Home | History | Annotate | Download | only in QtLauncher

Lines Matching defs:touchPoints

138     QList<QTouchEvent::TouchPoint> touchPoints;
226 if (touchPoints.isEmpty())
230 if (touchPoints.size() == 1) {
231 if (touchPoints[0].state() == Qt::TouchPointReleased)
233 else if (touchPoints[0].state() == Qt::TouchPointPressed)
238 touchEv.setTouchPoints(touchPoints);
241 // After sending the event, remove all touchpoints that were released
242 if (touchPoints[0].state() == Qt::TouchPointReleased)
243 touchPoints.removeAt(0);
244 if (touchPoints.size() > 1 && touchPoints[1].state() == Qt::TouchPointReleased)
245 touchPoints.removeAt(1);
277 if (touchPoints.size() > 0 && !touchPoints[0].id())
278 touchPoints[0] = touchPoint;
279 else if (touchPoints.size() > 1 && !touchPoints[1].id())
280 touchPoints[1] = touchPoint;
282 touchPoints.append(touchPoint);
290 // Otherwise create it and append to touchPoints.
291 if (touchPoints.size() > 0 && touchPoints[0].id() == 1) {
292 touchPoints[0].setState(Qt::TouchPointReleased);
294 } else if (touchPoints.size() > 1 && touchPoints[1].id() == 1) {
295 touchPoints[1].setState(Qt::TouchPointReleased);
304 touchPoints.append(touchPoint);
308 touchPoints.last().setState(Qt::TouchPointStationary);