Lines Matching defs:rect
41 const WebCore::IntRect& rect) const
43 DBG_NAV_LOGV("node=%p [%d] rect=(%d,%d,w=%d,h=%d) view=(%d,%d,w=%d,h=%d)"
45 node, node->index(), rect.x(), rect.y(), rect.width(), rect.height(),
54 return rect;
58 return rect;
63 return cachedLayer->adjustBounds(rootLayer, rect);
65 return rect;
372 const CachedNode* CachedFrame::findBestAt(const WebCore::IntRect& rect,
379 int rectWidth = rect.width();
380 WebCore::IntPoint center = WebCore::IntPoint(rect.x() + (rectWidth >> 1),
381 rect.y() + (rect.height() >> 1));
396 if (testRect.intersects(rect)) {
400 " rect=(%d,%d,w=%d,h=%d)", test->index(),
401 testRect.intersects(rect) ? "true" : "false",
404 rect.x(), rect.y(), rect.width(), rect.height());
440 WebCore::IntRect both = rect;
472 const CachedNode* frameResult = frame->findBestAt(rect, best, inside,
498 const CachedNode* CachedFrame::findBestHitAt(const WebCore::IntRect& rect,
504 const CachedNode* frameResult = frame->findBestHitAt(rect,
514 if (testRect.intersects(rect) == false)
523 DBG_NAV_LOGD("candidate %d rect=(%d,%d,r=%d,b=%d)"
525 test->index(), rect.x(), rect.y(), rect.maxX(), rect.maxY(),
532 if (cursorRect.intersects(rect)) {
534 intersection.intersect(rect);
541 testRect.intersect(rect);
627 WebCore::IntRect rect = test->ring(this, part);
628 bestData->setMouseBounds(rect);
629 bestData->setNodeBounds(rect);
958 const WebCore::IntRect& rect) const
960 DBG_NAV_LOGD("node=%p [%d] rect=(%d,%d,w=%d,h=%d)",
961 node, node->index(), rect.x(), rect.y(), rect.width(), rect.height());
963 return layer(node)->localBounds(mRoot->rootLayer(), rect);
965 return rect;