/external/skia/src/core/ |
SkLineClipper.cpp | 29 return SkScalarAve(src[0].fX, src[1].fX); 34 double X0 = src[0].fX; 36 double X1 = src[1].fX; 45 return src[0].fX + SkScalarMulDiv(Y - src[0].fY, src[1].fX - src[0].fX, 53 SkScalar dx = src[1].fX - src[0].fX; 60 double X0 = src[0].fX; [all...] |
SkRRect.cpp | 59 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { 64 fRadii[i].fX = 0; 88 if (fRadii[0].fX + fRadii[1].fX > rect.width()) { 90 SkScalarDiv(rect.width(), fRadii[0].fX + fRadii[1].fX)); 96 if (fRadii[2].fX + fRadii[3].fX > rect.width()) { 98 SkScalarDiv(rect.width(), fRadii[2].fX + fRadii[3].fX)); [all...] |
/external/chromium_org/third_party/skia/src/animator/ |
SkDrawPoint.cpp | 18 SK_MEMBER_ALIAS(x, fPoint.fX, Float), 29 SK_MEMBER_ALIAS(x, fPoint.fX, Float), 42 rect->fLeft = rect->fRight = fPoint.fX;
|
SkParseSVGPath.cpp | 25 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); 42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); 47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); 48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)) [all...] |
/external/skia/src/animator/ |
SkDrawPoint.cpp | 18 SK_MEMBER_ALIAS(x, fPoint.fX, Float), 29 SK_MEMBER_ALIAS(x, fPoint.fX, Float), 42 rect->fLeft = rect->fRight = fPoint.fX;
|
SkParseSVGPath.cpp | 25 dest.set(SkScalarAve(a.fX, b.fX),SkScalarAve(a.fY, b.fY)); 41 m.set(SkScalarHalf(3*j.fX - c.fX), SkScalarHalf(3*j.fY - c.fY)); 42 n.set(SkScalarHalf(3*o.fX -q.fX), SkScalarHalf(3*o.fY - q.fY)); 47 m.set(SkScalarHalf(3*p.fX - c.fX), SkScalarHalf(3*p.fY - c.fY)); 48 n.set(SkScalarHalf(3*l.fX -p2.fX),SkScalarHalf(3*l.fY -p2.fY)) [all...] |
/external/chromium_org/third_party/skia/src/effects/ |
SkCornerPathEffect.cpp | 22 step->set(b.fX - a.fX, b.fY - a.fY); 76 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 80 dst->lineTo(pts[1].fX - step.fX, pts[1].fY - step.fY); 107 if (firstStep.fX || firstStep.fY) { 108 dst->quadTo(lastCorner.fX, lastCorner.fY, 109 lastCorner.fX + firstStep.fX [all...] |
/external/skia/src/effects/ |
SkCornerPathEffect.cpp | 22 step->set(b.fX - a.fX, b.fY - a.fY); 76 dst->quadTo(pts[0].fX, pts[0].fY, pts[0].fX + step.fX, 80 dst->lineTo(pts[1].fX - step.fX, pts[1].fY - step.fY); 107 if (firstStep.fX || firstStep.fY) { 108 dst->quadTo(lastCorner.fX, lastCorner.fY, 109 lastCorner.fX + firstStep.fX [all...] |
/external/skia/tests/ |
PathOpsLineIntersectionTest.cpp | 100 double left = SkTMin(line1[0].fX, line1[1].fX); 101 double right = SkTMax(line1[0].fX, line1[1].fX); 103 ts.horizontal(line2, left, right, line1[0].fY, line1[0].fX != left); 107 double left = SkTMin(line2[0].fX, line2[1].fX); 108 double right = SkTMax(line2[0].fX, line2[1].fX); 110 ts.horizontal(line1, left, right, line2[0].fY, line2[0].fX != left) [all...] |
PathOpsDPointTest.cpp | 42 p.fX = p.fY = 0; 43 REPORTER_ASSERT(reporter, p.fX == 0 && p.fY == 0); 45 REPORTER_ASSERT(reporter, pt.distanceSquared(p) == pt.fX * pt.fX + pt.fY * pt.fY); 47 sqrt(pt.fX * pt.fX + pt.fY * pt.fY)));
|
/external/chromium_org/third_party/skia/src/core/ |
SkRRect.cpp | 59 if (fRadii[i].fX <= 0 || fRadii[i].fY <= 0) { 64 fRadii[i].fX = 0; 88 if (fRadii[0].fX + fRadii[1].fX > rect.width()) { 90 SkScalarDiv(rect.width(), fRadii[0].fX + fRadii[1].fX)); 96 if (fRadii[2].fX + fRadii[3].fX > rect.width()) { 98 SkScalarDiv(rect.width(), fRadii[2].fX + fRadii[3].fX)); [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
GrPlotMgr.h | 35 sk_bzero(fBusy, fDim.fX * fDim.fY); 41 for (int x = 0; x < fDim.fX; x++) { 54 SkASSERT((unsigned)x < (unsigned)fDim.fX); 56 return fBusy[y * fDim.fX + x] != 0; 60 SkASSERT((unsigned)x < (unsigned)fDim.fX); 62 fBusy[y * fDim.fX + x] = false;
|
GrRectanizer_skyline.cpp | 28 seg->fX = 0; 45 int fX; 76 bestX = fSkyline[i].fX; 85 loc->fX = bestX; 92 loc->fX = 0; 98 int x = fSkyline[skylineIndex].fX; 122 newSegment.fX = x; 127 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); 132 SkASSERT(fSkyline[i-1].fX <= fSkyline[i].fX); [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsRect.h | 16 if (fLeft > pt.fX) { 17 fLeft = pt.fX; 22 if (fRight < pt.fX) { 23 fRight = pt.fX; 31 return approximately_between(fLeft, pt.fX, fRight) 44 fLeft = fRight = pt.fX;
|
SkDLineIntersection.cpp | 15 double axLen = a[1].fX - a[0].fX; 17 double bxLen = b[1].fX - b[0].fX; 21 double term1 = a[1].fX * a[0].fY - a[1].fY * a[0].fX; 22 double term2 = b[1].fX * b[0].fY - b[1].fY * b[0].fX; 24 p.fX = (term1 * bxLen - axLen * term2) / denom; 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX [all...] |
SkPathOpsDebug.h | 115 #define CUBIC_DEBUG_DATA(c) c[0].fX, c[0].fY, c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY 116 #define QUAD_DEBUG_DATA(q) q[0].fX, q[0].fY, q[1].fX, q[1].fY, q[2].fX, q[2].fY 117 #define LINE_DEBUG_DATA(l) l[0].fX, l[0].fY, l[1].fX, l[1].fY 118 #define PT_DEBUG_DATA(i, n) i.pt(n).fX, i.pt(n).f [all...] |
SkPathOpsQuad.cpp | 53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { 61 if (topPt.fY > test.fY || (topPt.fY == test.fY && topPt.fX > test.fX)) { 151 cubic[1].fX = (cubic[0].fX + cubic[2].fX * 2) / 3; 153 cubic[2].fX = (cubic[3].fX + cubic[2].fX * 2) / 3 [all...] |
/external/skia/src/gpu/ |
GrPlotMgr.h | 35 sk_bzero(fBusy, fDim.fX * fDim.fY); 41 for (int x = 0; x < fDim.fX; x++) { 54 SkASSERT((unsigned)x < (unsigned)fDim.fX); 56 return fBusy[y * fDim.fX + x] != 0; 60 SkASSERT((unsigned)x < (unsigned)fDim.fX); 62 fBusy[y * fDim.fX + x] = false;
|
GrRectanizer_skyline.cpp | 28 seg->fX = 0; 45 int fX; 76 bestX = fSkyline[i].fX; 85 loc->fX = bestX; 92 loc->fX = 0; 98 int x = fSkyline[skylineIndex].fX; 122 newSegment.fX = x; 127 SkASSERT(newSegment.fX + newSegment.fWidth <= this->width()); 132 SkASSERT(fSkyline[i-1].fX <= fSkyline[i].fX); [all...] |
/external/skia/src/pathops/ |
SkPathOpsRect.h | 16 if (fLeft > pt.fX) { 17 fLeft = pt.fX; 22 if (fRight < pt.fX) { 23 fRight = pt.fX; 31 return approximately_between(fLeft, pt.fX, fRight) 44 fLeft = fRight = pt.fX;
|
SkDLineIntersection.cpp | 15 double axLen = a[1].fX - a[0].fX; 17 double bxLen = b[1].fX - b[0].fX; 21 double term1 = a[1].fX * a[0].fY - a[1].fY * a[0].fX; 22 double term2 = b[1].fX * b[0].fY - b[1].fY * b[0].fX; 24 p.fX = (term1 * bxLen - axLen * term2) / denom; 75 double denom = bLen.fY * aLen.fX - aLen.fY * bLen.fX [all...] |
SkPathOpsDebug.h | 115 #define CUBIC_DEBUG_DATA(c) c[0].fX, c[0].fY, c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY 116 #define QUAD_DEBUG_DATA(q) q[0].fX, q[0].fY, q[1].fX, q[1].fY, q[2].fX, q[2].fY 117 #define LINE_DEBUG_DATA(l) l[0].fX, l[0].fY, l[1].fX, l[1].fY 118 #define PT_DEBUG_DATA(i, n) i.pt(n).fX, i.pt(n).f [all...] |
SkPathOpsQuad.cpp | 53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { 61 if (topPt.fY > test.fY || (topPt.fY == test.fY && topPt.fX > test.fX)) { 151 cubic[1].fX = (cubic[0].fX + cubic[2].fX * 2) / 3; 153 cubic[2].fX = (cubic[3].fX + cubic[2].fX * 2) / 3 [all...] |
/external/chromium_org/third_party/skia/include/effects/ |
SkLightingImageFilter.h | 19 : fX(x), fY(y), fZ(z) {} 21 return SkScalarMul(fX, other.fX) 26 return fX > fY ? (fX > fZ ? fX : fZ) : (fY > fZ ? fY : fZ); 31 fX = SkScalarMul(fX, scale); 36 return SkPoint3(SkScalarMul(fX, scalar), 41 return SkPoint3(fX - other.fX, fY - other.fY, fZ - other.fZ) [all...] |
/external/skia/include/effects/ |
SkLightingImageFilter.h | 19 : fX(x), fY(y), fZ(z) {} 21 return SkScalarMul(fX, other.fX) 26 return fX > fY ? (fX > fZ ? fX : fZ) : (fY > fZ ? fY : fZ); 31 fX = SkScalarMul(fX, scale); 36 return SkPoint3(SkScalarMul(fX, scalar), 41 return SkPoint3(fX - other.fX, fY - other.fY, fZ - other.fZ) [all...] |