/external/skia/bench/ |
H A D | FSRectBench.cpp | 32 fRects[i].fLeft = -kMinOffset - SkScalarMul(rand.nextUScalar1(), kOffsetRange);
|
/external/skia/samplecode/ |
H A D | SampleBitmapRect.cpp | 64 bounce(&pt->fX, &vec->fX, limit.fLeft, limit.fRight); 188 bounce(&fSrcR.fLeft, &fDX, fLimitR.fLeft, fLimitR.fRight - width); 189 fSrcR.fRight = fSrcR.fLeft + width;
|
/external/skia/src/animator/ |
H A D | SkHitTest.cpp | 38 if (bBounds.fLeft == (int16_t)0x8000U)
|
/external/skia/src/core/ |
H A D | SkBlitter_Sprite.cpp | 23 fLeft = left;
|
H A D | SkMask.cpp | 84 addr += (x - fBounds.fLeft) << maskFormatToShift(fFormat);
|
H A D | SkScan_Antihair.cpp | 376 if (istart >= clip->fRight || istop <= clip->fLeft) { 379 if (istart < clip->fLeft) { 380 fstart += slope * (clip->fLeft - istart); 381 istart = clip->fLeft; 487 if (left >= clip->fRight || right <= clip->fLeft) { 490 if (clip->fLeft <= left && clip->fRight >= right) { 606 pts[0].set(rect.fLeft, rect.fTop); 609 pts[3].set(rect.fLeft, rect.fBottom); 693 antifilldot8(SkFixedToFDot8(xr.fLeft), SkFixedToFDot8(xr.fTop), 923 FDot8 outerL = SkScalarToFDot8(r.fLeft [all...] |
H A D | SkSpriteBlitter_ARGB32.cpp | 40 const uint32_t* SK_RESTRICT src = fSource->getAddr32(x - fLeft, 128 const uint32_t* SK_RESTRICT src = fSource->getAddr32(x - fLeft, 175 const SkPMColor16* SK_RESTRICT src = fSource->getAddr16(x - fLeft, 222 const SkPMColor16* SK_RESTRICT src = fSource->getAddr16(x - fLeft, 251 const SkPMColor16* SK_RESTRICT src = fSource->getAddr16(x - fLeft,
|
H A D | SkScalerContext.cpp | 32 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 54 fLeft = 0; 144 glyph->fLeft = 0; 161 glyph->fLeft = mask.fBounds.fLeft; 175 glyph->fLeft = ir.fLeft; 184 glyph->fLeft -= 1; 216 glyph->fLeft [all...] |
H A D | SkRRect.cpp | 207 fRadii[i].fX = clamp_radius_check_predicates(fRadii[i].fX, rect.fLeft, rect.fRight); 226 if (x < fRect.fLeft + fRadii[kUpperLeft_Corner].fX && 230 canonicalPt.set(x - (fRect.fLeft + fRadii[kUpperLeft_Corner].fX), 233 } else if (x < fRect.fLeft + fRadii[kLowerLeft_Corner].fX && 237 canonicalPt.set(x - (fRect.fLeft + fRadii[kLowerLeft_Corner].fX), 293 return this->checkCornerContainment(rect.fLeft, rect.fTop) && 296 this->checkCornerContainment(rect.fLeft, rect.fBottom); 589 validate_radius_check_predicates(fRadii[i].fX, fRect.fLeft, fRect.fRight);
|
H A D | SkScan_Path.cpp | 311 fFirstX = clip.fLeft << shift; 427 blitter->blitRect(rect.fLeft << shiftEdgesUp, 490 tmp.fLeft = cr.fLeft; 503 tmp.fLeft = cr.fLeft; 535 if (fClipRect->fLeft > ir.fLeft || fClipRect->fRight < ir.fRight) {
|
H A D | SkSpriteBlitterTemplate.h | 20 int srcX = x - fLeft;
|
/external/skia/tools/ |
H A D | pinspect.cpp | 44 pic->cullRect().fLeft, pic->cullRect().fTop,
|
/external/skia/src/effects/ |
H A D | SkGpuBlurUtils.cpp | 25 rect->fLeft = SkScalarMul(rect->fLeft, xScale); 114 upperSrcRect.fLeft = srcRect.right() - rad; 115 upperDstRect.fLeft = dstRect.right() - rad; 204 dstRect.offset(-dstRect.fLeft, -dstRect.fTop); 266 clearRect = SkIRect::MakeXYWH(srcIRect.fLeft, srcIRect.fBottom, 284 clearRect = SkIRect::MakeXYWH(srcIRect.fLeft, srcIRect.fBottom,
|
H A D | SkOffsetImageFilter.cpp | 56 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft), 62 offset->fX = bounds.fLeft;
|
H A D | SkTileImageFilter.cpp | 77 canvas.translate(-dstRect.fLeft, -dstRect.fTop); 80 offset->fX = dstIRect.fLeft;
|
/external/pdfium/core/src/fpdfdoc/ |
H A D | doc_ap.cpp | 720 FX_FLOAT fLeft = rect.left; local 732 sAppStream << fLeft << " " << fBottom << " " << fRight - fLeft << " " << fTop - fBottom << " re\n"; 733 sAppStream << fLeft + fWidth << " " << fBottom + fWidth << " " 734 << fRight - fLeft - fWidth * 2 << " " << fTop - fBottom - fWidth * 2 << " re\n"; 743 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 << " m\n"; 744 sAppStream << fLeft + fWidth / 2 << " " << fTop - fWidth / 2 << " l\n"; 747 sAppStream << fLeft + fWidth / 2 << " " << fBottom + fWidth / 2 << " l S\n"; 755 sAppStream << fLeft + fHalfWidth << " " << fBottom + fHalfWidth << " m\n"; 756 sAppStream << fLeft [all...] |
/external/skia/src/gpu/ |
H A D | GrLayerHoister.cpp | 243 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); 262 initialCTM.preTranslate(bound.fLeft, bound.fTop); 300 const SkIPoint filterOffset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); 307 SkASSERT(0 == layer->rect().fLeft && 0 == layer->rect().fTop); 332 const SkIPoint offset = SkIPoint::Make(layer->srcIR().fLeft, layer->srcIR().fTop); 341 SkASSERT(0 == layer->rect().fLeft && 0 == layer->rect().fTop);
|
/external/skia/include/gpu/ |
H A D | GrClip.h | 39 fClip.fIRect.fLeft = SkScalarRoundToInt(rect.fLeft);
|
/external/skia/src/gpu/effects/ |
H A D | GrTextureDomain.h | 64 texelRect.fLeft * wInv, 78 (texelRect.fLeft + inset) * wInv,
|
/external/skia/tests/ |
H A D | PathOpsTightBoundsTest.cpp | 94 bitsWritten.fLeft = SkTMin(bitsWritten.fLeft, x);
|
/external/skia/gm/ |
H A D | alphagradients.cpp | 28 SkPoint pts[] = { { r.fLeft, r.fTop }, { r.fRight, r.fBottom } };
|
H A D | filterfastbounds.cpp | 53 path.moveTo(r.fLeft, r.fTop); 54 path.lineTo(r.fLeft, r.fBottom); 62 SkPoint pts0[2] = { { r.fLeft, r.fTop }, { r.fRight, r.fBottom } }; 63 SkPoint pts1[2] = { { r.fLeft, r.fBottom }, { r.fRight, r.fTop } };
|
H A D | hittestpath.cpp | 24 for (SkScalar x = r.fLeft + SK_ScalarHalf - MARGIN; x < r.fRight + MARGIN; x += SK_Scalar1) {
|
/external/skia/src/gpu/gl/ |
H A D | GrGLRenderTarget.cpp | 36 fViewport.fLeft = 0;
|
/external/skia/src/utils/ |
H A D | SkDashPath.cpp | 123 if (maxX < bounds.fLeft || minX > bounds.fRight) { 131 if (minX < bounds.fLeft) { 132 minX = bounds.fLeft - SkScalarMod(bounds.fLeft - minX,
|