Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp330 float zoomableIntersectionQuotient(const IntPoint& touchHotspot, const IntRect& touchArea, const Su… in zoomableIntersectionQuotient() argument
341 intersection.intersect(touchArea); in zoomableIntersectionQuotient()
397 bool snapTo(const SubtargetGeometry& geom, const IntPoint& touchPoint, const IntRect& touchArea, In… in snapTo() argument
410 if (bounds.intersects(touchArea)) { in snapTo()
411 bounds.intersect(touchArea); in snapTo()
438 adjustPointToRect(center, touchArea); in snapTo()
447 …oint, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, SubtargetGeomet… in findNodeWithLowestDistanceMetric() argument
457 float distanceMetric = distanceFunction(touchHotspot, touchArea, *it); in findNodeWithLowestDistanceMetric()
459 if (snapTo(*it, touchHotspot, touchArea, adjustedPoint)) { in findNodeWithLowestDistanceMetric()
466 if (snapTo(*it, touchHotspot, touchArea, adjustedPoint)) { in findNodeWithLowestDistanceMetric()
[all …]
DTouchAdjustment.h33 …de, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHea…
34 …de, IntPoint& targetPoint, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHea…
35 …Node, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, const WillBeHea…