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

/external/chromium_org/third_party/WebKit/Source/core/page/
H A DSpatialNavigation.cpp540 void entryAndExitPointsForDirection(FocusType type, const LayoutRect& startingRect, const LayoutRect& potentialRect, LayoutPoint& exitPoint, LayoutPoint& entryPoint) argument
545 if (potentialRect.maxX() < startingRect.x())
546 entryPoint.setX(potentialRect.maxX());
552 if (potentialRect.maxY() < startingRect.y())
553 entryPoint.setY(potentialRect.maxY());
559 if (potentialRect.x() > startingRect.maxX())
560 entryPoint.setX(potentialRect.x());
566 if (potentialRect.y() > startingRect.maxY())
567 entryPoint.setY(potentialRect.y());
578 if (below(startingRect, potentialRect)) {
[all...]

Completed in 159 milliseconds