Searched defs:startT (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DQuadraticBounds.cpp11 double leftMostT(const Quadratic& quad, double startT, double endT) { argument
14 && startT <= leftT && leftT <= endT) {
18 xy_at_t(quad, startT, startPt.x, startPt.y);
21 return startPt.x <= endPt.x ? startT : endT;
H A DCubicBounds.cpp16 double leftMostT(const Cubic& cubic, double startT, double endT) { argument
22 if (startT > leftTs[index] || leftTs[index] > endT) {
38 xy_at_t(cubic, startT, pt[0].x, pt[0].y);
40 return pt[0].x <= pt[1].x ? startT : endT;
H A DQuadraticUtilities.cpp49 _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 DCubicUtilities.cpp380 _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 DEdgeWalker.cpp170 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, end
[all...]
H A DSimplify.cpp427 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, end
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
869 double startT = (*fSpans)[fStart].fT; local
[all...]
/external/skia/experimental/Intersection/
H A DQuadraticBounds.cpp11 double leftMostT(const Quadratic& quad, double startT, double endT) { argument
14 && startT <= leftT && leftT <= endT) {
18 xy_at_t(quad, startT, startPt.x, startPt.y);
21 return startPt.x <= endPt.x ? startT : endT;
H A DCubicBounds.cpp16 double leftMostT(const Cubic& cubic, double startT, double endT) { argument
22 if (startT > leftTs[index] || leftTs[index] > endT) {
38 xy_at_t(cubic, startT, pt[0].x, pt[0].y);
40 return pt[0].x <= pt[1].x ? startT : endT;
H A DQuadraticUtilities.cpp49 _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 DCubicUtilities.cpp380 _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 DEdgeWalker.cpp170 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, end
[all...]
H A DSimplify.cpp427 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, end
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
869 double startT = (*fSpans)[fStart].fT; local
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCurve.h103 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, end
[all...]
H A DSkPathOpsQuad.cpp50 SkDPoint SkDQuad::top(double startT, double endT) const { argument
51 SkDQuad sub = subDivide(startT, endT);
59 extremeT = startT + (endT - startT) * extremeT;
H A DSkOpContour.cpp62 double startT = *startTPtr; local
64 if (approximately_negative(endT - startT)) {
94 double startT = coincidence.fTs[0][0]; 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
113 if (startT > 0 || oEndT < 1
114 || thisOne.isMissing(startT, startP
[all...]
H A DSkPathOpsCubic.cpp371 SkDPoint SkDCubic::top(double startT, double endT) const { argument
372 SkDCubic sub = subDivide(startT, endT);
381 double t = startT + (endT - startT) * extremeTs[index];
/external/skia/src/pathops/
H A DSkPathOpsCurve.h103 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, end
[all...]
H A DSkPathOpsQuad.cpp50 SkDPoint SkDQuad::top(double startT, double endT) const { argument
51 SkDQuad sub = subDivide(startT, endT);
59 extremeT = startT + (endT - startT) * extremeT;
H A DSkOpContour.cpp79 double startT = coincidence.fTs[0][0]; 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
90 startT -= FLT_EPSILON;
91 SkASSERT(startT >= 0);
94 SkASSERT(!approximately_negative(endT - startT));
104 // make sure startT and endT have t entries
105 if (startT > 0 || oEndT < 1
106 || thisOne.isMissing(startT, startP
[all...]
H A DSkOpAngle.cpp1017 double startT = fSegment->t(fStart); local
1022 if (!::between(startT, testTs[index], limitT)) {
1026 testTs[testCount++] = startT;
1042 // OPTIMIZE: could avoid call for t == startT, endT
H A DSkPathOpsCubic.cpp371 SkDPoint SkDCubic::top(double startT, double endT) const { argument
372 SkDCubic sub = subDivide(startT, endT);
381 double t = startT + (endT - startT) * extremeTs[index];
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DScrollAnimatorNoneTest.cpp229 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);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
H A DScrollAnimatorNone.cpp179 double ScrollAnimatorNone::PerAxisData::attackArea(Curve curve, double startT, double endT) argument
181 double startValue = curveIntegralAt(curve, startT);
186 double ScrollAnimatorNone::PerAxisData::releaseArea(Curve curve, double startT, double endT) argument
189 double endValue = curveIntegralAt(curve, 1 - startT);

Completed in 1983 milliseconds