Home
last modified time | relevance | path

Searched refs:touchRect (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp341 float hybridDistanceFunction(const IntPoint& touchHotspot, const IntRect& touchRect, const Subtarge… in hybridDistanceFunction() argument
348 float radiusSquared = 0.25f * (touchRect.size().diagonalLengthSquared()); in hybridDistanceFunction()
351 int maxOverlapWidth = std::min(touchRect.width(), rect.width()); in hybridDistanceFunction()
352 int maxOverlapHeight = std::min(touchRect.height(), rect.height()); in hybridDistanceFunction()
354 rect.intersect(touchRect); in hybridDistanceFunction()
DEventHandler.cpp2706 IntRect touchRect(touchCenter - touchRadius, touchRadius + touchRadius); in bestClickableNodeForTouchPoint() local
2717 …bool success = findBestClickableCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<… in bestClickableNodeForTouchPoint()
2728 IntRect touchRect(touchCenter - touchRadius, touchRadius + touchRadius); in bestContextMenuNodeForTouchPoint() local
2734 …return findBestContextMenuCandidate(targetNode, targetPoint, touchCenter, touchRect, Vector<RefPtr… in bestContextMenuNodeForTouchPoint()
2742 IntRect touchRect(touchCenter - touchRadius, touchRadius + touchRadius); in bestZoomableAreaForTouchPoint() local
2748 …return findBestZoomableArea(targetNode, targetArea, touchCenter, touchRect, Vector<RefPtr<Node> >(… in bestZoomableAreaForTouchPoint()