Searched refs:curRect (Results 1 – 1 of 1) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | SpatialNavigation.cpp | 48 static bool areRectsMoreThanFullScreenApart(FocusDirection, const LayoutRect& curRect, const Layout… 95 static RectsAlignment alignmentForRects(FocusDirection direction, const LayoutRect& curRect, const … in alignmentForRects() argument 98 if (areRectsMoreThanFullScreenApart(direction, curRect, targetRect, viewSize)) in alignmentForRects() 101 if (areRectsFullyAligned(direction, curRect, targetRect)) in alignmentForRects() 104 if (areRectsPartiallyAligned(direction, curRect, targetRect)) in alignmentForRects() 238 static bool areRectsMoreThanFullScreenApart(FocusDirection direction, const LayoutRect& curRect, co… in areRectsMoreThanFullScreenApart() argument 240 ASSERT(isRectInDirection(direction, curRect, targetRect)); in areRectsMoreThanFullScreenApart() 244 return curRect.x() - targetRect.maxX() > viewSize.width(); in areRectsMoreThanFullScreenApart() 246 return targetRect.x() - curRect.maxX() > viewSize.width(); in areRectsMoreThanFullScreenApart() 248 return curRect.y() - targetRect.maxY() > viewSize.height(); in areRectsMoreThanFullScreenApart() [all …]
|