Home | History | Annotate | Download | only in nav

Lines Matching refs:rect

181 #define TOUCH_SLOP 10 // additional distance from character rect when hit
417 virtual bool onIRectGlyph(const SkIRect& rect,
421 * centerX = (rect.L + rect.R) / 2
424 int dx = rect.fLeft + rect.fRight - (mFocusX << 1);
433 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom());
491 virtual bool onIRectGlyph(const SkIRect& rect,
494 int dx = mLeft ? mFocusX - rect.fRight : rect.fLeft - mFocusX;
496 if (mLeft ? mFocusX <= rect.fLeft : mFocusX >= rect.fRight) {
499 rect.fLeft, rect.fRight, mFocusX, dx, dy);
513 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom());
553 virtual bool onIRect(const SkIRect& rect)
557 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom());
577 virtual bool onIRect(const SkIRect& rect)
580 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom());
797 virtual bool onIRect(const SkIRect& rect) {
799 full.set(rect.fLeft, top(), rect.fRight, bottom());
932 virtual bool onIRectGlyph(const SkIRect& rect,
936 full.set(rect.fLeft, top(), rect.fRight, bottom());
1019 virtual void drawRect(const SkRect& rect, const SkPaint& paint) {
1522 const SkIRect& rect = m_hitTopLeft ? m_selStart : m_selEnd;
1523 return (rect.fTop + rect.fBottom) >> 1;