/external/skia/src/pathops/ |
H A D | SkOpAngle.cpp | 1018 double endT = fSegment->t(fEnd); local 1019 double limitT = endT; 1027 testTs[testCount++] = endT; 1042 // OPTIMIZE: could avoid call for t == startT, endT
|
H A D | SkOpContour.cpp | 80 double endT = coincidence.fTs[0][1]; local 82 if ((cancelers = startSwapped = startT > endT)) { 83 SkTSwap(startT, endT); 85 if (startT == endT) { // if one is very large the smaller may have collapsed to nothing 86 if (endT <= 1 - FLT_EPSILON) { 87 endT += FLT_EPSILON; 88 SkASSERT(endT <= 1); 94 SkASSERT(!approximately_negative(endT - startT)); 104 // make sure startT and endT have t entries 111 if (oStartT > 0 || endT < [all...] |
H A D | SkPathOpsCommon.cpp | 77 double endT = current->t(endIndex); local 78 double newMid = (testHit - baseT) / (endT - baseT); 88 baseT + mid * (endT - baseT), midXY.fX, midXY.fY, 89 baseT + newMid * (endT - baseT), newXY.fX, newXY.fY, 90 endT, current->xAtT(endIndex), current->yAtT(endIndex)); 119 double endT = current->t(endIndex); local 120 *bestHit = baseT + mid * (endT - baseT);
|
H A D | SkPathOpsCurve.h | 103 static SkPoint quad_top(const SkPoint a[3], double startT, double endT) { argument 106 SkDPoint topPt = quad.top(startT, endT); 110 static SkPoint cubic_top(const SkPoint a[4], double startT, double endT) { argument 113 SkDPoint topPt = cubic.top(startT, endT); 124 static bool line_is_vertical(const SkPoint a[2], double startT, double endT) { argument 127 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; 131 static bool quad_is_vertical(const SkPoint a[3], double startT, double endT) { argument 134 SkDQuad dst = quad.subDivide(startT, endT); 138 static bool cubic_is_vertical(const SkPoint a[4], double startT, double endT) { argument 141 SkDCubic dst = cubic.subDivide(startT, endT); [all...] |
/external/skia/experimental/Intersection/ |
H A D | CubicBounds.cpp | 16 double leftMostT(const Cubic& cubic, double startT, double endT) { argument 22 if (startT > leftTs[index] || leftTs[index] > endT) { 39 xy_at_t(cubic, endT, pt[1].x, pt[1].y); 40 return pt[0].x <= pt[1].x ? startT : endT;
|
H A D | CubicUtilities.cpp | 380 _Point top(const Cubic& cubic, double startT, double endT) { argument 382 sub_divide(cubic, startT, endT, sub); 392 double t = startT + (endT - startT) * extremeTs[index];
|
H A D | EdgeWalker.cpp | 170 static void LineSubDivide(const SkPoint a[2], double startT, double endT, argument 174 sub_divide(aLine, startT, endT, dst); 181 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, argument 186 sub_divide(aQuad, startT, endT, dst); 195 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, argument 200 sub_divide(aCubic, startT, endT, dst); 211 static void QuadSubBounds(const SkPoint a[3], double startT, double endT, argument 214 QuadSubDivide(a, startT, endT, dst); 222 static void CubicSubBounds(const SkPoint a[4], double startT, double endT, argument 225 CubicSubDivide(a, startT, endT, ds [all...] |
H A D | QuadraticBounds.cpp | 11 double leftMostT(const Quadratic& quad, double startT, double endT) { argument 14 && startT <= leftT && leftT <= endT) { 20 xy_at_t(quad, endT, endPt.x, endPt.y); 21 return startPt.x <= endPt.x ? startT : endT;
|
H A D | QuadraticUtilities.cpp | 49 _Point top(const Quadratic& quad, double startT, double endT) { argument 51 sub_divide(quad, startT, endT, sub); 59 extremeT = startT + (endT - startT) * extremeT;
|
H A D | Simplify.cpp | 427 static void LineSubDivide(const SkPoint a[2], double startT, double endT, argument 431 sub_divide(aLine, startT, endT, dst); 438 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, argument 442 sub_divide(aQuad, startT, endT, dst); 451 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, argument 455 sub_divide(aCubic, startT, endT, dst); 474 static void LineSubDivideHD(const SkPoint a[2], double startT, double endT, _Line& dst) { argument 476 sub_divide(aLine, startT, endT, dst); 479 static void QuadSubDivideHD(const SkPoint a[3], double startT, double endT, Quadratic& dst) { argument 481 sub_divide(aQuad, startT, endT, ds 484 CubicSubDivideHD(const SkPoint a[4], double startT, double endT, Cubic& dst) argument 489 QuadTop(const SkPoint a[3], double startT, double endT) argument 495 CubicTop(const SkPoint a[3], double startT, double endT) argument 509 QuadSubBounds(const SkPoint a[3], double startT, double endT, SkRect& bounds) argument 520 CubicSubBounds(const SkPoint a[4], double startT, double endT, SkRect& bounds) argument 572 LineLeftMost(const SkPoint a[2], double startT, double endT) argument 580 QuadLeftMost(const SkPoint a[3], double startT, double endT) argument 585 CubicLeftMost(const SkPoint a[4], double startT, double endT) argument 625 LineVertical(const SkPoint a[2], double startT, double endT) argument 633 QuadVertical(const SkPoint a[3], double startT, double endT) argument 639 CubicVertical(const SkPoint a[4], double startT, double endT) argument 870 double endT = (*fSpans)[fEnd].fT; local [all...] |
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | CubicBounds.cpp | 16 double leftMostT(const Cubic& cubic, double startT, double endT) { argument 22 if (startT > leftTs[index] || leftTs[index] > endT) { 39 xy_at_t(cubic, endT, pt[1].x, pt[1].y); 40 return pt[0].x <= pt[1].x ? startT : endT;
|
H A D | CubicUtilities.cpp | 380 _Point top(const Cubic& cubic, double startT, double endT) { argument 382 sub_divide(cubic, startT, endT, sub); 392 double t = startT + (endT - startT) * extremeTs[index];
|
H A D | EdgeWalker.cpp | 170 static void LineSubDivide(const SkPoint a[2], double startT, double endT, argument 174 sub_divide(aLine, startT, endT, dst); 181 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, argument 186 sub_divide(aQuad, startT, endT, dst); 195 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, argument 200 sub_divide(aCubic, startT, endT, dst); 211 static void QuadSubBounds(const SkPoint a[3], double startT, double endT, argument 214 QuadSubDivide(a, startT, endT, dst); 222 static void CubicSubBounds(const SkPoint a[4], double startT, double endT, argument 225 CubicSubDivide(a, startT, endT, ds [all...] |
H A D | QuadraticBounds.cpp | 11 double leftMostT(const Quadratic& quad, double startT, double endT) { argument 14 && startT <= leftT && leftT <= endT) { 20 xy_at_t(quad, endT, endPt.x, endPt.y); 21 return startPt.x <= endPt.x ? startT : endT;
|
H A D | QuadraticUtilities.cpp | 49 _Point top(const Quadratic& quad, double startT, double endT) { argument 51 sub_divide(quad, startT, endT, sub); 59 extremeT = startT + (endT - startT) * extremeT;
|
H A D | Simplify.cpp | 427 static void LineSubDivide(const SkPoint a[2], double startT, double endT, argument 431 sub_divide(aLine, startT, endT, dst); 438 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, argument 442 sub_divide(aQuad, startT, endT, dst); 451 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, argument 455 sub_divide(aCubic, startT, endT, dst); 474 static void LineSubDivideHD(const SkPoint a[2], double startT, double endT, _Line& dst) { argument 476 sub_divide(aLine, startT, endT, dst); 479 static void QuadSubDivideHD(const SkPoint a[3], double startT, double endT, Quadratic& dst) { argument 481 sub_divide(aQuad, startT, endT, ds 484 CubicSubDivideHD(const SkPoint a[4], double startT, double endT, Cubic& dst) argument 489 QuadTop(const SkPoint a[3], double startT, double endT) argument 495 CubicTop(const SkPoint a[3], double startT, double endT) argument 509 QuadSubBounds(const SkPoint a[3], double startT, double endT, SkRect& bounds) argument 520 CubicSubBounds(const SkPoint a[4], double startT, double endT, SkRect& bounds) argument 572 LineLeftMost(const SkPoint a[2], double startT, double endT) argument 580 QuadLeftMost(const SkPoint a[3], double startT, double endT) argument 585 CubicLeftMost(const SkPoint a[4], double startT, double endT) argument 625 LineVertical(const SkPoint a[2], double startT, double endT) argument 633 QuadVertical(const SkPoint a[3], double startT, double endT) argument 639 CubicVertical(const SkPoint a[4], double startT, double endT) argument 870 double endT = (*fSpans)[fEnd].fT; local [all...] |
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkOpContour.cpp | 63 double endT = *endTPtr; local 64 if (approximately_negative(endT - startT)) { 65 if (endT <= 1 - FLT_EPSILON) { 95 double endT = coincidence.fTs[0][1]; local 97 if ((cancelers = startSwapped = startT > endT)) { 98 SkTSwap(startT, endT); 100 bump_out_close_span(&startT, &endT); 101 SkASSERT(!approximately_negative(endT - startT)); 112 // make sure startT and endT have t entries 119 if (oStartT > 0 || endT < [all...] |
H A D | SkPathOpsCommon.cpp | 77 double endT = current->t(endIndex); local 78 double newMid = (testHit - baseT) / (endT - baseT); 88 baseT + mid * (endT - baseT), midXY.fX, midXY.fY, 89 baseT + newMid * (endT - baseT), newXY.fX, newXY.fY, 90 endT, current->xAtT(endIndex), current->yAtT(endIndex)); 119 double endT = current->t(endIndex); local 120 *bestHit = baseT + mid * (endT - baseT);
|
H A D | SkPathOpsCurve.h | 103 static SkPoint quad_top(const SkPoint a[3], double startT, double endT) { argument 106 SkDPoint topPt = quad.top(startT, endT); 110 static SkPoint cubic_top(const SkPoint a[4], double startT, double endT) { argument 113 SkDPoint topPt = cubic.top(startT, endT); 124 static bool line_is_vertical(const SkPoint a[2], double startT, double endT) { argument 127 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; 131 static bool quad_is_vertical(const SkPoint a[3], double startT, double endT) { argument 134 SkDQuad dst = quad.subDivide(startT, endT); 138 static bool cubic_is_vertical(const SkPoint a[4], double startT, double endT) { argument 141 SkDCubic dst = cubic.subDivide(startT, endT); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/scroll/ |
H A D | ScrollAnimatorNone.cpp | 179 double ScrollAnimatorNone::PerAxisData::attackArea(Curve curve, double startT, double endT) argument 182 double endValue = curveIntegralAt(curve, endT); 186 double ScrollAnimatorNone::PerAxisData::releaseArea(Curve curve, double startT, double endT) argument 188 double startValue = curveIntegralAt(curve, 1 - endT);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | ScrollAnimatorNoneTest.cpp | 229 double attackArea(ScrollAnimatorNone::Curve, double startT, double endT); 230 double releaseArea(ScrollAnimatorNone::Curve, double startT, double endT); 328 double ScrollAnimatorNoneTest::attackArea(ScrollAnimatorNone::Curve curve, double startT, double endT) argument 330 return ScrollAnimatorNone::PerAxisData::attackArea(curve, startT, endT); 333 double ScrollAnimatorNoneTest::releaseArea(ScrollAnimatorNone::Curve curve, double startT, double endT) argument 335 return ScrollAnimatorNone::PerAxisData::releaseArea(curve, startT, endT);
|