Searched refs:touchPoint (Results 1 – 3 of 3) sorted by relevance
69 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument77 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()95 IntPoint touchPoint = touchBox.center(); in findGoodTouchTargets() local96 IntPoint contentsPoint = mainFrame->view()->windowToContents(touchPoint); in findGoodTouchTargets()132 … targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); in findGoodTouchTargets()
397 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, In… in snapTo() argument406 if (bounds.contains(touchPoint)) { in snapTo()407 adjustedPoint = touchPoint; in snapTo()430 if (quad.containsPoint(touchPoint)) { in snapTo()431 adjustedPoint = touchPoint; in snapTo()
49 - (BOOL)convertTouchPointToMousePoint:(CGPoint)touchPoint56 targetPoint:(CGPoint&)touchPoint;275 - (BOOL)convertTouchPointToMousePoint:(CGPoint)touchPoint277 if (![self containsTouchPoint:touchPoint]) {284 CGPointMake(touchPoint.x, _contentSize.height() - touchPoint.y);314 targetPoint:(CGPoint&)touchPoint {335 touchPoint.x = floorf(glOrientedPointInRespectToFrame.x);336 touchPoint.y = floorf(glOrientedPointInRespectToFrame.y);338 return [self containsTouchPoint:touchPoint];