/external/skqp/src/core/ |
SkRect.cpp | 19 if (fLeft >= fRight || fTop >= fBottom) { 22 if (left < fLeft) fLeft = left; 34 quad[0].set(fLeft, fTop); 37 quad[3].set(fLeft, fBottom); 97 CHECK_INTERSECT(left, top, right, bottom, fLeft, fTop, fRight, fBottom); 103 return this->intersect(r.fLeft, r.fTop, r.fRight, r.fBottom); 107 CHECK_INTERSECT(a.fLeft, a.fTop, a.fRight, a.fBottom, b.fLeft, b.fTop, b.fRight, b.fBottom); 119 if (fLeft >= fRight || fTop >= fBottom) [all...] |
SkLineClipper.cpp | 86 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 103 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 104 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 140 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight)) { 143 if (tmp[0].fX != tmp[1].fX || tmp[0].fX < clip.fLeft || tmp[0].fX > clip.fRight) { 148 if (tmp[index0].fX < clip.fLeft) { 149 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft)); 229 if (tmp[index1].fX <= clip.fLeft) { // wholly to the lef [all...] |
SkGlyph.cpp | 18 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 29 fLeft = 0; 94 fLeft = from.fLeft;
|
SkBlitter.cpp | 77 SkScalar partialL = bounds.fLeft + 1 - rect.fLeft; 89 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); 92 this->blitAntiRect(bounds.fLeft, bounds.fTop + 1, bounds.width() - 2, bounds.height() - 2, 100 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); 123 int leftOverClip = clip.fLeft - antiRect.fX; 136 rectX = clip.fLeft; 163 // Note that deltas->left()/right() may be different than clip.fLeft/fRight because in 167 SkIRect rowIR = SkIRect::MakeLTRB(SkTMin(clip.fLeft, deltas->left()), y, 184 int lastX = clip.fLeft; // init x to clip.fLef [all...] |
SkLatticeIter.cpp | 35 latticeBounds.fLeft == lattice.fXDivs[0]); 42 return valid_divs(lattice.fXDivs, lattice.fXCount, latticeBounds.fLeft, latticeBounds.fRight) 133 bool xIsScalable = (xCount > 0 && src.fLeft == xDivs[0]); 149 int xCountScalable = count_scalable_pixels(xDivs, xCount, xIsScalable, src.fLeft, src.fRight); 157 src.fLeft, src.fRight, dst.fLeft, dst.fRight, xIsScalable); 222 fSrcX[1] = SkIntToScalar(c.fLeft); 231 fDstX[0] = dst.fLeft; 232 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft); [all...] |
/external/pdfium/xfa/fwl/theme/ |
cfwl_widgettp.cpp | 186 float fLeft = 193 path.MoveTo(CFX_PointF(fLeft, fTop + 1)); 194 path.LineTo(CFX_PointF(fLeft + 4, fTop + 5)); 195 path.LineTo(CFX_PointF(fLeft + 8, fTop + 1)); 196 path.LineTo(CFX_PointF(fLeft + 7, fTop)); 197 path.LineTo(CFX_PointF(fLeft + 4, fTop + 3)); 198 path.LineTo(CFX_PointF(fLeft + 1, fTop)); 202 path.MoveTo(CFX_PointF(fLeft, fTop + 4)); 203 path.LineTo(CFX_PointF(fLeft + 4, fTop)); 204 path.LineTo(CFX_PointF(fLeft + 8, fTop + 4)) [all...] |
/external/skia/bench/ |
RTreeBench.cpp | 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 100 out.fLeft = SkIntToScalar(index % GRID_WIDTH); 102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 108 out.fLeft = SkIntToScalar(index / GRID_WIDTH); 110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 117 out.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 119 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
|
/external/skia/src/android/ |
SkBitmapRegionDecoderPriv.h | 38 int left = SkTMax(0, subset->fLeft); 42 *outX = left - subset->fLeft;
|
/external/skia/src/gpu/effects/ |
GrOvalEffect.cpp | 23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), 28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
|
/external/skqp/bench/ |
RTreeBench.cpp | 84 query.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 86 query.fRight = query.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/2); 100 out.fLeft = SkIntToScalar(index % GRID_WIDTH); 102 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 108 out.fLeft = SkIntToScalar(index / GRID_WIDTH); 110 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/3); 117 out.fLeft = rand.nextRangeF(0, GENERATE_EXTENTS); 119 out.fRight = out.fLeft + 1 + rand.nextRangeF(0, GENERATE_EXTENTS/5);
|
/external/skqp/src/android/ |
SkBitmapRegionDecoderPriv.h | 38 int left = SkTMax(0, subset->fLeft); 42 *outX = left - subset->fLeft;
|
/external/skqp/src/gpu/effects/ |
GrOvalEffect.cpp | 23 return GrCircleEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + w), 28 return GrEllipseEffect::Make(edgeType, SkPoint::Make(oval.fLeft + w, oval.fTop + h),
|
/external/skia/tests/ |
GrOpListFlushTest.cpp | 56 srcRect.fLeft = i; 57 srcRect.fRight = srcRect.fLeft + 1; 62 dstRect.fLeft = i+1; 63 dstRect.fRight = dstRect.fLeft + 1;
|
BlitMaskClip.cpp | 25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); 28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); 63 for (int left = b.fLeft; left < b.fRight; left++) {
|
/external/skqp/tests/ |
GrOpListFlushTest.cpp | 56 srcRect.fLeft = i; 57 srcRect.fRight = srcRect.fLeft + 1; 62 dstRect.fLeft = i+1; 63 dstRect.fRight = dstRect.fLeft + 1;
|
BlitMaskClip.cpp | 25 REPORTER_ASSERT(fReporter, x >= fBounds.fLeft && x < fBounds.fRight); 28 REPORTER_ASSERT(fReporter, right > fBounds.fLeft && right <= fBounds.fRight); 63 for (int left = b.fLeft; left < b.fRight; left++) {
|
/external/skia/src/core/ |
SkLineClipper.cpp | 86 return outer.fLeft <= inner.fLeft && outer.fTop <= inner.fTop && 103 if (nestedLT(bounds.fRight, clip.fLeft, bounds.width()) || 104 nestedLT(clip.fRight, bounds.fLeft, bounds.width()) || 140 if ((tmp[index1].fX <= clip.fLeft || tmp[index0].fX >= clip.fRight)) { 143 if (tmp[0].fX != tmp[1].fX || tmp[0].fX < clip.fLeft || tmp[0].fX > clip.fRight) { 148 if (tmp[index0].fX < clip.fLeft) { 149 tmp[index0].set(clip.fLeft, sect_with_vertical(src, clip.fLeft)); 229 if (tmp[index1].fX <= clip.fLeft) { // wholly to the lef [all...] |
SkGlyph.cpp | 18 mask->fBounds.set(fLeft, fTop, fLeft + fWidth, fTop + fHeight); 29 fLeft = 0; 94 fLeft = from.fLeft;
|
SkBlitter.cpp | 78 SkScalar partialL = bounds.fLeft + 1 - rect.fLeft; 90 this->blitAntiH(bounds.fLeft, bounds.fTop, alphas, runs); 93 this->blitAntiRect(bounds.fLeft, bounds.fTop + 1, bounds.width() - 2, bounds.height() - 2, 101 this->blitAntiH(bounds.fLeft, bounds.fBottom - 1, alphas, runs); 124 int leftOverClip = clip.fLeft - antiRect.fX; 137 rectX = clip.fLeft; 164 // Note that deltas->left()/right() may be different than clip.fLeft/fRight because in 168 SkIRect rowIR = SkIRect::MakeLTRB(SkTMin(clip.fLeft, deltas->left()), y, 185 int lastX = clip.fLeft; // init x to clip.fLef [all...] |
SkLatticeIter.cpp | 35 latticeBounds.fLeft == lattice.fXDivs[0]); 42 return valid_divs(lattice.fXDivs, lattice.fXCount, latticeBounds.fLeft, latticeBounds.fRight) 133 bool xIsScalable = (xCount > 0 && src.fLeft == xDivs[0]); 149 int xCountScalable = count_scalable_pixels(xDivs, xCount, xIsScalable, src.fLeft, src.fRight); 157 src.fLeft, src.fRight, dst.fLeft, dst.fRight, xIsScalable); 222 fSrcX[1] = SkIntToScalar(c.fLeft); 231 fDstX[0] = dst.fLeft; 232 fDstX[1] = dst.fLeft + SkIntToScalar(c.fLeft); [all...] |
SkScan.h | 110 xr->fLeft = SkIntToFixed(src.fLeft); 121 xr->fLeft = SkScalarToFixed(src.fLeft); 130 dst->fLeft = SkFixedRoundToInt(xr.fLeft); 140 dst->fLeft = SkFixedFloorToInt(xr.fLeft);
|
/external/skia/src/gpu/ |
GrGlyph.h | 46 return GrIRect16::MakeXYWH(glyph.fLeft, 67 SkIntToScalar(fBounds.fLeft) + origin.x(), 76 SkIntToScalar(fBounds.fLeft) * textScale + origin.x(), 82 (SkIntToScalar(fBounds.fLeft) + SK_DistanceFieldInset) * textScale + origin.x(),
|
/external/skqp/src/gpu/ |
GrGlyph.h | 46 return GrIRect16::MakeXYWH(glyph.fLeft, 67 SkIntToScalar(fBounds.fLeft) + origin.x(), 76 SkIntToScalar(fBounds.fLeft) * textScale + origin.x(), 82 (SkIntToScalar(fBounds.fLeft) + SK_DistanceFieldInset) * textScale + origin.x(),
|
/external/skia/samplecode/ |
SampleLayerMask.cpp | 43 bounds.offset(-bounds.fLeft, -bounds.fTop); 47 canvas->drawBitmap(mask, r.fLeft, r.fTop, &paint);
|
/external/skia/src/pathops/ |
SkIntersectionHelper.h | 51 return bounds().fLeft; 94 return bounds().fLeft;
|