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.cpp69 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox) in scoreTouchTarget() argument
77 IntSize distance = boundingBox.differenceToPoint(touchPoint); in scoreTouchTarget()
95 IntPoint touchPoint = touchBox.center(); in findGoodTouchTargets() local
96 IntPoint contentsPoint = mainFrame->view()->windowToContents(touchPoint); in findGoodTouchTargets()
132 … targetData.score = scoreTouchTarget(touchPoint, touchPointPadding, targetData.windowBoundingBox); in findGoodTouchTargets()
DTouchAdjustment.cpp397 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, In… in snapTo() argument
406 if (bounds.contains(touchPoint)) { in snapTo()
407 adjustedPoint = touchPoint; in snapTo()
430 if (quad.containsPoint(touchPoint)) { in snapTo()
431 adjustedPoint = touchPoint; in snapTo()
/external/chromium_org/remoting/ios/ui/
Dscene_view.mm49 - (BOOL)convertTouchPointToMousePoint:(CGPoint)touchPoint
56 targetPoint:(CGPoint&)touchPoint;
275 - (BOOL)convertTouchPointToMousePoint:(CGPoint)touchPoint
277 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];