/external/skia/include/core/ |
SkRect.h | 28 int32_t fLeft, fTop, fRight, fBottom; 32 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 37 int width() const { return fRight - fLeft; } 54 SkIsS16(fRight) && SkIsS16(fBottom); 64 fRight = right; 74 fRight += dx; 89 fRight -= dx; 99 return (unsigned)(x - fLeft) < (unsigned)(fRight - fLeft) && 109 fRight >= right && fBottom >= bottom; 117 fRight >= r.fRight && fBottom >= r.fBottom [all...] |
SkScan.h | 89 xr->fRight = SkIntToFixed(src.fRight); 100 xr->fRight = SkScalarToFixed(src.fRight); 109 dst->fRight = SkFixedRound(xr.fRight); 119 dst->fRight = SkFixedCeil(xr.fRight);
|
/external/skia/src/core/ |
SkRect.cpp | 26 if (fLeft >= fRight || fTop >= fBottom) 32 if (right > fRight) fRight = right; 39 if (fLeft > fRight) 40 SkTSwap<int32_t>(fLeft, fRight); 49 if (fLeft > fRight) 50 SkTSwap<SkScalar>(fLeft, fRight); 60 quad[1].set(fRight, fTop); 61 quad[2].set(fRight, fBottom); 110 fLeft < right && left < fRight && fTop < bottom && top < fBottom [all...] |
SkLineClipper.cpp | 36 outer.fRight >= inner.fRight && outer.fBottom >= inner.fBottom; 52 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 53 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 89 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight) && 98 if (tmp[index1].fX > clip.fRight) { 99 tmp[index1].set(clip.fRight, sect_with_vertical(src, clip.fRight)); 165 } else if (tmp[index0].fX >= clip.fRight) { // wholly to the right 166 tmp[0].fX = tmp[1].fX = clip.fRight; [all...] |
SkBlitBWMaskTemplate.h | 36 SkASSERT(clip.fRight <= srcMask.fBounds.fRight); 52 if (cx == maskLeft && clip.fRight == srcMask.fBounds.fRight) 69 int rite_edge = clip.fRight - maskLeft;
|
SkEdgeClipper.cpp | 153 if (pts[0].fX >= clip.fRight) { // wholly to the right 154 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); 179 if (pts[2].fX > clip.fRight) { 180 if (chopMonoQuadAtX(pts, clip.fRight, &t)) { 182 clamp_le(tmp[1].fX, clip.fRight); 183 clamp_le(tmp[2].fX, clip.fRight); 185 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse); 189 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); 347 if (pts[0].fX >= clip.fRight) { // wholly to the right 348 this->appendVLine(clip.fRight, pts[0].fY, pts[3].fY, reverse) [all...] |
SkScan_Hairline.cpp | 72 SkIntToFDot6(bounds.fRight), SkIntToFDot6(bounds.fBottom)); 79 ptsR.fRight += SK_FDot61; 141 (SkScalarToFixed(rect.fRight) >> 16) + 1, 165 blitter->blitRect(r.fRight - 1, r.fTop + 1, 1, height - 2); // right 333 r.fRight + radius, r.fBottom + radius); 341 tmp.set(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + diameter); 349 tmp.fLeft = outer.fRight - diameter; 350 tmp.fRight = outer.fRight;
|
SkPath.cpp | 348 this->addRect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, dir); 402 this->moveTo(rect.fRight - rx, rect.fTop); 417 this->lineTo(rect.fRight - rx, rect.fBottom); // bottom 419 this->cubicTo(rect.fRight - rx + sx, rect.fBottom, 420 rect.fRight, rect.fBottom - ry + sy, 421 rect.fRight, rect.fBottom - ry); // bot-right 423 this->lineTo(rect.fRight, rect.fTop + ry); 425 this->cubicTo(rect.fRight, rect.fTop + ry - sy, 426 rect.fRight - rx + sx, rect.fTop, 427 rect.fRight - rx, rect.fTop); // top-righ [all...] |
SkRegion.cpp | 98 bounds->fRight = rite; 181 return this->setRect(r.fLeft, r.fTop, r.fRight, r.fBottom); 297 // SkDEBUGF(("setRuns: rect[%d %d %d %d]\n", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom)); 343 runs[3] = bounds.fRight; 510 fBounds.fRight + dx, fBounds.fBottom + dy); 1077 SkASSERT(rite <= bounds.fRight); 1091 SkASSERT(fBounds.fLeft == 0 && fBounds.fTop == 0 && fBounds.fRight == 0 && fBounds.fBottom == 0); 1128 SkDebugf(" rgn: [%d %d %d %d]", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom); [all...] |
SkScan_AntiPath.cpp | 63 const int right = SkMax32(ir.fRight, clip.getBounds().fRight); 299 SkASSERT(ix >= fMask.fBounds.fLeft && ix < fMask.fBounds.fRight); 373 overflows_short_shift(ir.fRight, SHIFT) | 403 clipRect->fRight << SHIFT, clipRect->fBottom << SHIFT);
|
/external/skia/include/views/ |
SkBorderView.h | 30 SkScalar getRight() const { return fRight; } 41 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 55 box.fRight = SkScalarDiv(viewBox[2], width); 58 box.fRight == SK_Scalar1 && box.fBottom == SK_Scalar1) 71 if (box.fRight != SK_Scalar1) { 73 x.appendScalar(box.fRight);
|
/external/skia/src/animator/ |
SkBoundable.cpp | 25 fBounds.fRight = 0; 41 rect->fRight = SkIntToScalar(fBounds.fRight);
|
SkDrawPoint.cpp | 50 rect->fLeft = rect->fRight = fPoint.fX;
|
SkDrawRectangle.cpp | 38 SK_MEMBER_ALIAS(right, fRect.fRight, Float), 66 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), 114 fRect.fRight = scalar + fRect.fLeft; 147 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 260 src.fRight = bitmapWidth; 261 dst.fRight = bounds.fRight; 263 src.fRight = chunk.xDivs[i]; 265 dst.fRight = dstRights[i]; 267 const int srcXSize = src.fRight - src.fLeft; 269 dst.fRight = dst.fLeft + calculateStretch(bounds.fRight, dst.fLeft, 275 dst.fRight = dst.fLeft + SkIntToScalar(srcXSize); 278 dstRights[i] = dst.fRight; [all...] |
NinePatch.cpp | 88 SkScalarToFloat(bounds.fRight), SkScalarToFloat(bounds.fBottom)); 97 bounds.fRight = SkScalarDiv(bounds.fRight-bounds.fLeft, scale); 103 SkScalarToFloat(bounds.fRight), SkScalarToFloat(bounds.fBottom),
|
/external/webkit/WebKit/android/nav/ |
SelectText.cpp | 412 mBestBounds.fLeft, mBestBounds.fTop, mBestBounds.fRight, 424 int dx = rect.fLeft + rect.fRight - (mFocusX << 1); 433 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 437 mBestBounds.fRight, mBestBounds.fBottom, distance >> 2); 494 int dx = mLeft ? mFocusX - rect.fRight : rect.fLeft - mFocusX; 496 if (mLeft ? mFocusX <= rect.fLeft : mFocusX >= rect.fRight) { 498 DBG_NAV_LOGD("EdgeCheck fLeft=%d fRight=%d mFocusX=%d dx=%d dy=%d", 499 rect.fLeft, rect.fRight, mFocusX, dx, dy); 513 mBestBounds.set(rect.fLeft, top(), rect.fRight, bottom()); 517 mBestBounds.fRight, mBestBounds.fBottom, distance) [all...] |
CachedRoot.cpp | 154 " mType=%s", rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, 163 (mBounds.fLeft == rect.fLeft && mBounds.fRight == rect.fRight && 166 mBounds.fLeft >= rect.fLeft && mBounds.fRight <= rect.fRight))) { 171 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, 172 mAllDrawnIn.fLeft, mAllDrawnIn.fTop, mAllDrawnIn.fRight, 200 rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, 201 drawnOver.fLeft, drawnOver.fTop, drawnOver.fRight, drawnOver.fBottom, 376 && mPartial.fRight + SLOP >= rect.fLef [all...] |
/external/skia/src/views/ |
SkBorderView.cpp | 9 fRight(SkIntToScalar(0)), fBottom(SkIntToScalar(0)) 65 evt.findScalar("rightMargin", &fRight); 72 fMargin.set(fLeft, fTop, fRight, fBottom);
|
SkProgressView.cpp | 84 r.fRight = r.fLeft + SkScalarMul(r.width(), SkFixedToScalar(percent)); 93 r.fLeft = r.fRight; 94 r.fRight = this->width() - SK_Scalar1;
|
/external/skia/src/utils/ |
SkCullPoints.cpp | 40 x0 > r.fRight && x1 > r.fRight || 69 quad[1].set(r.fRight, r.fTop); 70 quad[2].set(r.fRight, r.fBottom);
|
SkNinePatch.cpp | 73 verts->set(bounds.fRight, vy); verts++; 233 0, margins.fLeft, bitmap.width() - margins.fRight, bitmap.width() 240 dst.fRight - SkIntToScalar(margins.fRight), dst.fRight 256 s.fRight = srcX[x+1]; 258 d.fRight = dstX[x+1]; 278 xDivs[1] = bitmap.width() - margins.fRight;
|
/external/webkit/WebKit/android/plugins/ |
SkANP.cpp | 47 dst->right = src.fRight; 55 dst->right = SkScalarToFloat(src.fRight);
|
/external/webkit/WebKit/android/jni/ |
PictureSet.cpp | 81 area.getBounds().fRight, area.getBounds().fBottom, picture, 123 a.fLeft, a.fTop, a.fRight, a.fBottom, 124 d.fLeft, d.fTop, d.fRight, d.fBottom, 125 i.fLeft, i.fTop, i.fRight, i.fBottom, 126 v.fLeft, v.fTop, v.fRight, v.fBottom); 237 " irect={%d,%d,%d,%d}", b.fLeft, b.fTop, b.fRight, b.fBottom, 238 irect.fLeft, irect.fTop, irect.fRight, irect.fBottom); 254 b.fLeft, b.fTop, b.fRight, b.fBottom, 255 irect.fLeft, irect.fTop, irect.fRight, irect.fBottom); 290 x < area.getBounds().fRight; x += 0x40) [all...] |