Home
last modified time | relevance | path

Searched refs:touchPoint (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchDisambiguation.cpp71 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument
79 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()
97 IntPoint touchPoint = touchBox.center(); in findGoodTouchTargets() local
98 IntPoint contentsPoint = mainFrame->view()->windowToContents(touchPoint); in findGoodTouchTargets()
134 … targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); in findGoodTouchTargets()
DTouchAdjustment.cpp385 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, In… in snapTo() argument
394 if (bounds.contains(touchPoint)) { in snapTo()
395 adjustedPoint = touchPoint; in snapTo()
418 if (quad.containsPoint(touchPoint)) { in snapTo()
419 adjustedPoint = touchPoint; in snapTo()
/external/chromium_org/third_party/WebKit/Source/testing/runner/
DEventSender.cpp993 WebTouchPoint touchPoint; in addTouchPoint() local
994 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() local
1031 touchPoint->state = WebTouchPoint::StateReleased; in releaseTouchPoint()
[all …]