Home | History | Annotate | Download | only in nav

Lines Matching full:bounds

757     CachedNode* node, IntRect* bounds)
768 IntRect test = *bounds;
773 *bounds = test;
1069 // GetGlobalBounds(node, &bounds, false);
1081 IntRect bounds;
1088 bounds = getAreaRect(area);
1089 originalAbsBounds = bounds;
1090 bounds.move(globalOffsetX, globalOffsetY);
1091 absBounds = bounds;
1109 bounds = absBounds;
1164 globalOffsetY, &bounds, clip, &cachedNode.mCursorRing) == false)
1166 absBounds = bounds;
1167 cachedNode.setBounds(bounds);
1168 if (bounds.width() < MINIMUM_FOCUSABLE_WIDTH)
1170 if (bounds.height() < MINIMUM_FOCUSABLE_HEIGHT)
1237 bounds = absBounds;
1255 cachedNode.setBounds(bounds);
1256 cachedNode.mCursorRing.append(bounds);
1257 } else if (ConstructPartRects(node, bounds, &cachedNode.mBounds,
1261 IntRect clip = hasClip ? bounds : absBounds;
2802 DBG_NAV_LOGD("layer=%p [%d] bounds=(%d,%d,w=%d,h=%d)", aLayer,
2849 bool CacheBuilder::AddPartRect(IntRect& bounds, int x, int y,
2852 if (bounds.isEmpty())
2854 bounds.move(x, y);
2855 if (bounds.right() <= 0 || bounds.bottom() <= 0)
2860 if (work->contains(bounds))
2862 if (bounds.contains(*work)) {
2863 *work = bounds;
2864 focusBounds->unite(bounds);
2867 if ((bounds.x() != work->x() || bounds.width() != work->width()) &&
2868 (bounds.y() != work->y() || bounds.height() != work->height()))
2871 test.unite(bounds);
2872 if (Area(test) > Area(*work) + Area(bounds))
2875 focusBounds->unite(bounds);
2880 result->append(bounds);
2882 *focusBounds = bounds;
2884 focusBounds->unite(bounds);
2888 bool CacheBuilder::ConstructPartRects(Node* node, const IntRect& bounds,
2936 IntRect bounds = test->getRect();
2937 if (AddPartRect(bounds, x, y, result, focusBounds) == false)
2943 IntRect bounds = renderer->absoluteBoundingBoxRect(); // x, y fixup done by AddPartRect
2944 int left = bounds.x() + ((RenderBox*)renderer)->paddingLeft()
2946 int top = bounds.y() + ((RenderBox*)renderer)->paddingTop()
2948 int right = bounds.right() - ((RenderBox*)renderer)->paddingRight()
2950 int bottom = bounds.bottom() - ((RenderBox*)renderer)->paddingBottom()
2954 bounds = IntRect(left, top, right - left, bottom - top);
2955 if (AddPartRect(bounds, x, y, result, focusBounds) == false)
2972 if (bounds.width() < MINIMUM_FOCUSABLE_WIDTH)
2974 if (bounds.height() < MINIMUM_FOCUSABLE_HEIGHT)
2976 result->append(bounds);
2977 *focusBounds = bounds;
3004 IntRect bounds = textBox->selectionRect((int) pt.x(), (int) pt.y(),
3006 bounds.intersect(clipBounds);
3007 if (bounds.isEmpty())
3014 if (AddPartRect(bounds, x, y, result, focusBounds) == false)