Home | History | Annotate | Download | only in rendering

Lines Matching refs:exposeRect

59 LayoutRect ScrollAlignment::getRectToExpose(const LayoutRect& visibleRect, const LayoutRect& exposeRect, const ScrollAlignment& alignX, const ScrollAlignment& alignY)
63 LayoutRect exposeRectX(exposeRect.x(), visibleRect.y(), exposeRect.width(), visibleRect.height());
65 if (intersectWidth == exposeRect.width() || intersectWidth >= MIN_INTERSECT_FOR_REVEAL) {
84 // (1) exposeRect to the right of and smaller than visibleRect
85 // (2) exposeRect to the left of and larger than visibleRect
86 if ((exposeRect.maxX() > visibleRect.maxX() && exposeRect.width() < visibleRect.width())
87 || (exposeRect.maxX() < visibleRect.maxX() && exposeRect.width() > visibleRect.width())) {
97 x = exposeRect.maxX() - visibleRect.width();
99 x = exposeRect.x() + (exposeRect.width() - visibleRect.width()) / 2;
101 x = exposeRect.x();
105 LayoutRect exposeRectY(visibleRect.x(), exposeRect.y(), visibleRect.width(), exposeRect.height());
107 if (intersectHeight == exposeRect.height()) {
124 // (1) exposeRect below and smaller than visibleRect
125 // (2) exposeRect above and larger than visibleRect
126 if ((exposeRect.maxY() > visibleRect.maxY() && exposeRect.height() < visibleRect.height())
127 || (exposeRect.maxY() < visibleRect.maxY() && exposeRect.height() > visibleRect.height())) {
137 y = exposeRect.maxY() - visibleRect.height();
139 y = exposeRect.y() + (exposeRect.height() - visibleRect.height()) / 2;
141 y = exposeRect.y();