Home | History | Annotate | Download | only in nav

Lines Matching full:bounds

315     virtual int saveLayer(const SkRect* bounds, const SkPaint* paint,
317 int depth = SkCanvas::saveLayer(bounds, paint, flags);
401 /* Record the outer bounds of the lines of text that intersect the
445 SkIRect mBounds; // reference bounds
446 SkIRect mPartial; // accumulated text bounds, per line
533 /* Record the outer bounds of the lines of text that was 'hit' by the
568 SkIRect mPartial; // accumulated text bounds, per line
694 if (best->bounds().intersects(mHistory->mPriorBounds) == false &&
748 const WebCore::IntRect& bounds) const
752 RingCheck ringCheck(rings, bounds.location());
755 bitmap.setConfig(SkBitmap::kARGB_8888_Config, bounds.width(),
756 bounds.height());
758 checker.translate(SkIntToScalar(-bounds.x()), SkIntToScalar(-bounds.y()));
760 DBG_NAV_LOGD("bounds=(%d,%d,r=%d,b=%d) success=%s",
761 bounds.x(), bounds.y(), bounds.right(), bounds.bottom(),
803 const WebCore::IntRect& bounds = mHistory->mNavBounds;
804 return WebCore::IntPoint(bounds.x() + (bounds.width() >> 1),
805 bounds.y() + (bounds.height() >> 1));
843 DBG_NAV_LOGD("x=%d (%s)", node->bounds(frame).x(),
845 return node->bounds(frame).x();
995 mHistory->mPriorBounds = mHistory->mNavBounds; // bounds always advances, even if new node is ultimately NULL
996 bestData->setMouseBounds(bestData->bounds());
1001 mHistory->mNavBounds = bestData->bounds();
1096 const WebCore::IntRect& nodeBounds = bestNode->bounds(frame);
1097 WebCore::IntRect bounds = nodeBounds;
1098 bounds.intersect(mScrolledBounds);
1099 int leftMargin = bounds.x() == nodeBounds.x() ? kMargin : 0;
1100 int topMargin = bounds.y() == nodeBounds.y() ? kMargin : 0;
1101 int rightMargin = bounds.right() == nodeBounds.right() ? kMargin : 0;
1102 int bottomMargin = bounds.bottom() == nodeBounds.bottom() ? kMargin : 0;
1107 SkScalar offsetX = SkIntToScalar(leftMargin - bounds.x());
1108 SkScalar offsetY = SkIntToScalar(topMargin - bounds.y());
1129 leftMargin + bounds.width(), topMargin + bounds.height());
1170 kMargin - bounds.x(), kMargin - bounds.y());
1177 // if partially occluded, modify the bounds so that the mouse click has a better x,y
1199 best->setMouseBounds(WebCore::IntRect(bounds.x() + base.fLeft - kMargin,
1200 bounds.y() + base.fTop - kMargin, base.width(), base.height()));
1353 mFocusBounds = node->bounds(frame);
1363 WebCore::IntRect bounds = WebCore::IntRect(0, 0, 0, 0);
1365 bounds = focus->bounds(focusFrame);
1366 DBG_NAV_LOGD("new focus %d (nodePointer=%p) bounds={%d,%d,%d,%d}",
1368 focus ? focus->nodePointer() : NULL, bounds.x(), bounds.y(),
1369 bounds.width(), bounds.height());
1378 WebCore::IntRect bounds;
1380 bounds = cursor->bounds(cursorFrame);
1381 DBG_NAV_LOGD("old cursor %d (nodePointer=%p) bounds={%d,%d,%d,%d}",
1383 cursor ? cursor->nodePointer() : NULL, bounds.x(), bounds.y(),
1384 bounds.width(), bounds.height());
1399 bounds = WebCore::IntRect(0, 0, 0, 0);
1401 bounds = cursor->bounds(cursorFrame);
1402 DBG_NAV_LOGD("new cursor %d (nodePointer=%p) bounds={%d,%d,%d,%d}",
1404 cursor ? cursor->nodePointer() : NULL, bounds.x(), bounds.y(),
1405 bounds.width(), bounds.height());
1413 mCursorBounds = mCursor->bounds(this);