Searched refs:touchPoint (Results 1 – 3 of 3) sorted by relevance
71 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument79 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()97 IntPoint touchPoint = touchBox.center(); in findGoodTouchTargets() local98 IntPoint contentsPoint = mainFrame->view()->windowToContents(touchPoint); in findGoodTouchTargets()134 … targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); in findGoodTouchTargets()
385 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, In… in snapTo() argument394 if (bounds.contains(touchPoint)) { in snapTo()395 adjustedPoint = touchPoint; in snapTo()418 if (quad.containsPoint(touchPoint)) { in snapTo()419 adjustedPoint = touchPoint; in snapTo()
993 WebTouchPoint touchPoint; in addTouchPoint() local994 touchPoint.state = WebTouchPoint::StatePressed; in addTouchPoint()995 touchPoint.position = WebPoint(arguments[0].toInt32(), arguments[1].toInt32()); in addTouchPoint()996 touchPoint.screenPosition = touchPoint.position; in addTouchPoint()1004 touchPoint.radiusX = radiusX; in addTouchPoint()1005 touchPoint.radiusY = radiusY; in addTouchPoint()1013 touchPoint.id = lowestId; in addTouchPoint()1014 touchPoints.push_back(touchPoint); in addTouchPoint()1030 WebTouchPoint* touchPoint = &touchPoints[index]; in releaseTouchPoint() local1031 touchPoint->state = WebTouchPoint::StateReleased; in releaseTouchPoint()[all …]