/external/skia/gpu/include/ |
GrRect.h | 28 int16_t fLeft, fTop, fRight, fBottom; 31 int height() const { return fBottom - fTop; } 33 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 37 fTop = SkToS16(r.fTop);
|
/external/skia/src/core/ |
SkRect.cpp | 26 if (fLeft >= fRight || fTop >= fBottom) { 30 if (top < fTop) fTop = top; 40 if (fTop > fBottom) { 41 SkTSwap<int32_t>(fTop, fBottom); 49 SkScalarIsFinite(fTop) && 58 if (fTop > fBottom) { 59 SkTSwap<SkScalar>(fTop, fBottom); 66 quad[0].set(fLeft, fTop); 67 quad[1].set(fRight, fTop); [all...] |
SkRegion_rects.cpp | 13 SkRegion::RunType fTop; 41 edges[0].fTop = r.fTop; 46 edges[1].fTop = r.fTop; 70 SkRegion::RunType fTop; 78 fTop = top; 96 if (edge->fTop > currY) { 97 nextY = SkMin32(nextY, edge->fTop); 105 if (edge->fTop > currY) [all...] |
SkLineClipper.cpp | 57 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 76 nestedLT(bounds.fBottom, clip.fTop, bounds.height()) || 77 nestedLT(clip.fBottom, bounds.fTop, bounds.height())) { 95 if (tmp[index0].fY < clip.fTop) { 96 tmp[index0].set(sect_with_horizontal(src, clip.fTop), clip.fTop); 158 if (pts[index1].fY <= clip.fTop) { // we're above the clip 171 if (pts[index0].fY < clip.fTop) { 172 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...] |
SkSpriteBlitter.h | 50 int fLeft, fTop;
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
ScrollableLayerAndroid.cpp | 18 if (newX == scrollBounds.fLeft && newY == scrollBounds.fTop) 21 setPosition(m_scrollLimits.fLeft - newX, m_scrollLimits.fTop - newY); 29 out->fTop = m_scrollLimits.fTop - pos.fY; 54 int y = m_scrollLimits.fTop; 55 if (transformedRect.fTop < m_scrollLimits.fTop) 56 y = transformedRect.fTop;
|
GLExtras.cpp | 82 if (srcRect.fRight <= srcRect.fLeft || srcRect.fBottom <= srcRect.fTop) { 86 XLOG("drawQuad [%fx%f, %f, %f]", srcRect.fLeft, srcRect.fTop, 101 r.set(ir.fLeft, ir.fTop, ir.fRight, ir.fBottom); 129 line.fTop = r.fTop - borderWidth; 145 r.set(line.fLeft, line.fTop, line.fRight, line.fBottom); 151 startRect.set(line.fLeft, line.fTop, line.fRight, line.fBottom); 187 if (rect.intersect(viewport.fLeft, viewport.fTop, 192 XLOG("Quick rejecting [%dx%d, %d, %d", rect.fLeft, rect.fTop,
|
TiledPage.cpp | 240 int firstTileY = tileBounds.fTop; 275 m_expandedTileBounds.fTop = firstTileY; 308 for (int y = tileBounds.fTop; y < tileBounds.fBottom; y++) { 316 for (int y = tileBounds.fTop; y < tileBounds.fBottom; y++) { 346 actualTileBounds.fTop -= m_glWebViewState->expandedTileBoundsY(); 351 actualTileBounds.fTop = std::max(0, actualTileBounds.fTop); 360 rect.fTop = tile.y() * tileHeight; 362 rect.fBottom = rect.fTop + tileHeight;
|
/external/skia/include/core/ |
SkRect.h | 28 int32_t fLeft, fTop, fRight, fBottom; 62 bool isEmpty() const { return fLeft >= fRight || fTop >= fBottom; } 72 int height() const { return fBottom - fTop; } 83 return SkIsS16(fLeft) && SkIsS16(fTop) && 93 fTop = top; 104 fTop = y; 113 fLeft = fTop = SK_MinS32; 122 fLeft = fTop = SK_MaxS32; 131 fTop += dy; 146 fTop += dy [all...] |
SkScan.h | 93 xr->fTop = SkIntToFixed(src.fTop); 104 xr->fTop = SkScalarToFixed(src.fTop); 113 dst->fTop = SkFixedRound(xr.fTop); 123 dst->fTop = SkFixedFloor(xr.fTop);
|
SkMask.h | 86 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; 97 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; 109 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); 121 x - fBounds.fLeft + (y - fBounds.fTop) * rowWordsLCD();
|
/external/skia/include/views/ |
SkBorderView.h | 31 SkScalar getTop() const { return fTop; } 41 SkScalar fLeft, fRight, fTop, fBottom; //margin on each side
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
FloatRectSkia.cpp | 39 : m_location(r.fLeft, r.fTop)
|
IntRectSkia.cpp | 52 : m_location(r.fLeft, r.fTop)
|
/external/skia/src/animator/ |
SkBoundable.cpp | 24 fBounds.fTop = 0; 40 rect->fTop = SkIntToScalar(fBounds.fTop);
|
SkDrawPoint.cpp | 51 rect->fTop = rect->fBottom = fPoint.fY;
|
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),
|
/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...] |
/external/webkit/Source/WebKit/android/nav/ |
SelectText.cpp | 397 localRgn.translate(-mArea.fLeft, -mArea.fTop, &localRgn); 399 localRgn.getBounds().fLeft, localRgn.getBounds().fTop, 404 DBG_NAV_LOGD("[%d] rect=(%d,%d,%d,%d)", index, rect.fLeft, rect.fTop, 418 if (mY < rect.fTop) { 462 if (bounds.fTop != mLast.fTop || bounds.fBottom != mLast.fBottom 505 , mFocusY(y - area.fTop) 514 *base = mBestBase + mArea.fTop; 515 mBestBounds.offset(mArea.fLeft, mArea.fTop); 517 mBestBounds.fLeft, mBestBounds.fTop, mBestBounds.fRight, [all...] |
/external/skia/src/views/ |
SkBorderView.cpp | 10 fTop(SkIntToScalar(0)), 68 evt.findScalar("topMargin", &fTop); 74 fMargin.set(fLeft, fTop, fRight, fBottom);
|
/external/skia/src/svg/ |
SkSVGSVG.cpp | 56 box.fTop = SkScalarDiv(viewBox[1], height); 59 if (box.fLeft == 0 && box.fTop == 0 && 68 if (box.fTop != 0) { 70 y.appendScalar(box.fTop);
|
/external/skia/samplecode/ |
SampleLayerMask.cpp | 37 bounds.offset(-bounds.fLeft, -bounds.fTop); 41 canvas->drawBitmap(mask, r.fLeft, r.fTop, &paint);
|
SampleStrokeText.cpp | 35 path.offset(-bounds.fLeft, -bounds.fTop); 36 bounds.offset(-bounds.fLeft, -bounds.fTop); 81 path.offset(-bounds.fLeft, -bounds.fTop); 82 bounds.offset(-bounds.fLeft, -bounds.fTop);
|
/external/skia/src/utils/ |
SkNinePatch.cpp | 218 SkScalar vy = bounds.fTop; 260 0, margins.fTop, bitmap.height() - margins.fBottom, bitmap.height() 267 dst.fTop, dst.fTop + SkIntToScalar(margins.fTop), 278 dstY[1] = dstY[0] + (dstY[3] - dstY[0]) * SkIntToScalar(margins.fTop) / 279 (SkIntToScalar(margins.fTop) + SkIntToScalar(margins.fBottom)); 286 s.fTop = srcY[y]; 288 d.fTop = dstY[y]; 315 yDivs[0] = margins.fTop; [all...] |