Searched refs:distanceFunction (Results 1 - 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DTouchAdjustment.cpp435 bool findNodeWithLowestDistanceMetric(Node*& targetNode, IntPoint& targetPoint, IntRect& targetArea, const IntPoint& touchHotspot, const IntRect& touchArea, SubtargetGeometryList& subtargets, DistanceFunction distanceFunction) argument
445 float distanceMetric = distanceFunction(touchHotspot, touchArea, *it);

Completed in 46 milliseconds