/external/skia/src/core/ |
SkRect.cpp | 26 if (fLeft >= fRight || fTop >= fBottom) 31 if (top < fTop) fTop = top; 41 if (fTop > fBottom) 42 SkTSwap<int32_t>(fTop, fBottom); 51 if (fTop > fBottom) 52 SkTSwap<SkScalar>(fTop, fBottom); 59 quad[0].set(fLeft, fTop); 60 quad[1].set(fRight, fTop); 110 fLeft < right && left < fRight && fTop < bottom && top < fBottom [all...] |
SkLineClipper.cpp | 35 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 54 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 55 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 73 if (tmp[index0].fY < clip.fTop) { 74 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 123 if (pts[index1].fY <= clip.fTop) { // we're above the clip 136 if (pts[index0].fY < clip.fTop) { 137 tmp[index0].set(sect_with_horizontal(pts, clip.fTop), clip.fTop) [all...] |
SkEdgeClipper.cpp | 21 return bounds.fTop >= clip.fBottom || bounds.fBottom <= clip.fTop; 88 if (pts[0].fY < clip.fTop) { 89 if (chopMonoQuadAtY(pts, clip.fTop, &t)) { 92 clamp_ge(tmp[2].fY, clip.fTop); 93 clamp_ge(tmp[3].fY, clip.fTop); 100 if (pts[i].fY < clip.fTop) { 101 pts[i].fY = clip.fTop; 133 if (pts[2].fY <= clip.fTop || pts[0].fY >= clip.fBottom) { 280 if (pts[0].fY < clip.fTop) { [all...] |
SkScan_Hairline.cpp | 71 clipR.set(SkIntToFDot6(bounds.fLeft), SkIntToFDot6(bounds.fTop), 140 SkScalarToFixed(rect.fTop) >> 16, 159 blitter->blitRect(r.fLeft, r.fTop, width, height); 163 blitter->blitH(r.fLeft, r.fTop, width); // top 164 blitter->blitRect(r.fLeft, r.fTop + 1, 1, height - 2); // left 165 blitter->blitRect(r.fRight - 1, r.fTop + 1, 1, height - 2); // right 332 outer.set( r.fLeft - radius, r.fTop - radius, 341 tmp.set(outer.fLeft, outer.fTop, outer.fRight, outer.fTop + diameter); 343 tmp.fTop = outer.fBottom - diameter [all...] |
SkSpriteBlitter.h | 50 int fLeft, fTop;
|
SkScan_AntiPath.cpp | 286 SkASSERT(iy >= fMask.fBounds.fTop && iy < fMask.fBounds.fBottom); 287 iy -= fMask.fBounds.fTop; // make it relative to 0 374 overflows_short_shift(ir.fTop, SHIFT) | 402 superRect.set( clipRect->fLeft << SHIFT, clipRect->fTop << SHIFT, 407 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); 414 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds().fTop); 415 sk_fill_path(path, superClipRect, &superBlit, ir.fTop, ir.fBottom, SHIFT, clip); 420 sk_fill_path(path, superClipRect, &superBlit, ir.fTop, ir.fBottom, SHIFT, clip) [all...] |
SkSpriteBlitter_ARGB32.cpp | 49 y - fTop); 137 y - fTop); 184 y - fTop); 231 y - fTop); 260 y - fTop);
|
SkRegion.cpp | 83 bounds->fTop = *runs++; 181 return this->setRect(r.fLeft, r.fTop, r.fRight, r.fBottom); 243 *itop = fBounds.fTop; 297 // SkDEBUGF(("setRuns: rect[%d %d %d %d]\n", fBounds.fLeft, fBounds.fTop, fBounds.fRight, fBounds.fBottom)); 340 runs[0] = bounds.fTop; 509 dst->setRect(fBounds.fLeft + dx, fBounds.fTop + dy, 739 fTop = (SkRegion::RunType)(top); // just a first guess, we might update this 756 fTop = (SkRegion::RunType)(bottom); // just update our bottom 767 fStartDst[0] = fTop; 778 SkRegion::RunType fTop; [all...] |
SkPath.cpp | 348 this->addRect(rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, dir); 402 this->moveTo(rect.fRight - rx, rect.fTop); 405 this->lineTo(rect.fLeft + rx, rect.fTop); // top 407 this->cubicTo(rect.fLeft + rx - sx, rect.fTop, 408 rect.fLeft, rect.fTop + ry - sy, 409 rect.fLeft, rect.fTop + ry); // top-left 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...] |
/external/skia/include/core/ |
SkRect.h | 28 int32_t fLeft, fTop, fRight, fBottom; 32 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 42 int height() const { return fBottom - fTop; } 53 return SkIsS16(fLeft) && SkIsS16(fTop) && 63 fTop = top; 73 fTop += dy; 88 fTop += dy; 100 (unsigned)(y - fTop) < (unsigned)(fBottom - fTop); 108 fLeft <= left && fTop <= top & [all...] |
SkScan.h | 88 xr->fTop = SkIntToFixed(src.fTop); 99 xr->fTop = SkScalarToFixed(src.fTop); 108 dst->fTop = SkFixedRound(xr.fTop); 118 dst->fTop = SkFixedFloor(xr.fTop);
|
/external/webkit/WebKit/android/nav/ |
SelectText.cpp | 112 mBestBounds.fLeft, mBestBounds.fTop, mBestBounds.fRight, 134 mBestBounds.fLeft, mBestBounds.fTop, 161 top() == mStart.fTop && bottom() == mStart.fBottom) || 163 top() == mEnd.fTop && bottom() == mEnd.fBottom)) { 170 if ((mLast.fTop < base() && mLast.fBottom >= base()) 171 || (mLastBase <= full.fBottom && mLastBase > full.fTop)) { 179 full.fLeft, full.fTop, full.fRight, full.fBottom); 230 mLast.fLeft, mLast.fTop, mLast.fRight, mLast.fBottom, 235 full.fLeft, full.fTop, full.fRight, full.fBottom, 245 rec.fGlyphID, full.fLeft, full.fTop, full.fRight, full.fBottom) [all...] |
CachedRoot.cpp | 154 " mType=%s", rect.fLeft, rect.fTop, rect.fRight, rect.fBottom, 164 mBounds.fTop >= rect.fTop && mBounds.fBottom <= rect.fBottom) || 165 (mBounds.fTop == rect.fTop && mBounds.fBottom == rect.fBottom && 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, 295 mBounder.mUnion.fTop = SkScalarFloor(upDown[0].fY) [all...] |
/external/skia/src/animator/ |
SkBoundable.cpp | 24 fBounds.fTop = 0; 40 rect->fTop = SkIntToScalar(fBounds.fTop);
|
SkDrawRectangle.cpp | 39 SK_MEMBER_ALIAS(top, fRect.fTop, Float), 66 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight), 108 fRect.fBottom = scalar + fRect.fTop; 147 SkScalarToFloat(fRect.fLeft), SkScalarToFloat(fRect.fTop), SkScalarToFloat(fRect.fRight),
|
SkDrawPoint.cpp | 51 rect->fTop = rect->fBottom = fPoint.fY;
|
/external/skia/src/views/ |
SkBorderView.cpp | 8 SkBorderView::SkBorderView() : fTop(SkIntToScalar(0)), fLeft(SkIntToScalar(0)), 66 evt.findScalar("topMargin", &fTop); 72 fMargin.set(fLeft, fTop, fRight, fBottom);
|
SkStackViewLayout.cpp | 109 crossStartM = fMargin.fTop; 110 crossLimit = -fMargin.fTop - fMargin.fBottom; 124 startM = fMargin.fTop; 251 child->setLoc(fMargin.fLeft, fMargin.fTop); 253 parent->height() - fMargin.fBottom - fMargin.fTop);
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 54 box.fTop = SkScalarDiv(viewBox[1], height); 57 if (box.fLeft == 0 && box.fTop == 0 && 66 if (box.fTop != 0) { 68 y.appendScalar(box.fTop);
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 80 if (!getColor(bitmap, src.fLeft, src.fTop, &c)) { 206 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop), 211 src.fTop = 0; 212 dst.fTop = bounds.fTop; 230 j <= numYDivs && src.fTop < bitmapHeight; 239 const int srcYSize = src.fBottom - src.fTop; 241 dst.fBottom = dst.fTop + calculateStretch(bounds.fBottom, dst.fTop, 247 dst.fBottom = dst.fTop + SkIntToScalar(srcYSize) [all...] |
NinePatch.cpp | 87 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop), 94 canvas->translate(bounds.fLeft, bounds.fTop); 98 bounds.fBottom = SkScalarDiv(bounds.fBottom-bounds.fTop, scale); 99 bounds.fLeft = bounds.fTop = 0; 102 SkScalarToFloat(bounds.fLeft), SkScalarToFloat(bounds.fTop),
|
/external/skia/include/views/ |
SkBorderView.h | 31 SkScalar getTop() const { return fTop; } 41 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 194 SkScalar vy = bounds.fTop; 236 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 243 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 250 s.fTop = srcY[y]; 252 d.fTop = dstY[y]; 279 yDivs[0] = margins.fTop;
|
SkCullPoints.cpp | 41 y0 < r.fTop && y1 < r.fTop || 68 quad[0].set(r.fLeft, r.fTop); 69 quad[1].set(r.fRight, r.fTop);
|
/external/webkit/WebKit/android/jni/ |
PictureSet.cpp | 80 area.getBounds().fLeft, area.getBounds().fTop, 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); 271 canvas->translate(pathBounds.fLeft, pathBounds.fTop); [all...] |