Home
last modified time | relevance | path

Searched refs:startT (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/third_party/skia/src/core/
DSkPathMeasure.cpp271 SkScalar startT, SkScalar stopT, SkPath* dst) { in seg_to() argument
272 SkASSERT(startT >= 0 && startT <= SK_Scalar1); in seg_to()
274 SkASSERT(startT <= stopT); in seg_to()
276 if (startT == stopT) { in seg_to()
292 if (0 == startT) { in seg_to()
300 SkChopQuadAt(pts, tmp0, startT); in seg_to()
304 SkChopQuadAt(&tmp0[2], tmp1, SkScalarDiv(stopT - startT, in seg_to()
305 SK_Scalar1 - startT)); in seg_to()
311 if (0 == startT) { in seg_to()
319 SkChopCubicAt(pts, tmp0, startT); in seg_to()
[all …]
/external/skia/src/core/
DSkPathMeasure.cpp271 SkScalar startT, SkScalar stopT, SkPath* dst) { in seg_to() argument
272 SkASSERT(startT >= 0 && startT <= SK_Scalar1); in seg_to()
274 SkASSERT(startT <= stopT); in seg_to()
276 if (startT == stopT) { in seg_to()
292 if (0 == startT) { in seg_to()
300 SkChopQuadAt(pts, tmp0, startT); in seg_to()
304 SkChopQuadAt(&tmp0[2], tmp1, SkScalarDiv(stopT - startT, in seg_to()
305 SK_Scalar1 - startT)); in seg_to()
311 if (0 == startT) { in seg_to()
319 SkChopCubicAt(pts, tmp0, startT); in seg_to()
[all …]
/external/skia/src/pathops/
DSkOpContour.cpp79 double startT = coincidence.fTs[0][0]; in addCoincidentPoints() local
82 if ((cancelers = startSwapped = startT > endT)) { in addCoincidentPoints()
83 SkTSwap(startT, endT); in addCoincidentPoints()
85 if (startT == endT) { // if one is very large the smaller may have collapsed to nothing in addCoincidentPoints()
90 startT -= FLT_EPSILON; in addCoincidentPoints()
91 SkASSERT(startT >= 0); in addCoincidentPoints()
94 SkASSERT(!approximately_negative(endT - startT)); in addCoincidentPoints()
105 if (startT > 0 || oEndT < 1 in addCoincidentPoints()
106 || thisOne.isMissing(startT, startPt) || other.isMissing(oEndT, startPt)) { in addCoincidentPoints()
107 thisOne.addTPair(startT, &other, oEndT, true, startPt, in addCoincidentPoints()
[all …]
DSkPathOpsCurve.h103 static SkPoint quad_top(const SkPoint a[3], double startT, double endT) { in quad_top() argument
106 SkDPoint topPt = quad.top(startT, endT); in quad_top()
110 static SkPoint cubic_top(const SkPoint a[4], double startT, double endT) { in cubic_top() argument
113 SkDPoint topPt = cubic.top(startT, endT); in cubic_top()
124 static bool line_is_vertical(const SkPoint a[2], double startT, double endT) { in line_is_vertical() argument
127 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; in line_is_vertical()
131 static bool quad_is_vertical(const SkPoint a[3], double startT, double endT) { in quad_is_vertical() argument
134 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical()
138 static bool cubic_is_vertical(const SkPoint a[4], double startT, double endT) { in cubic_is_vertical() argument
141 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
DSkPathOpsQuad.cpp50 SkDPoint SkDQuad::top(double startT, double endT) const { in top() argument
51 SkDQuad sub = subDivide(startT, endT); in top()
59 extremeT = startT + (endT - startT) * extremeT; in top()
/external/chromium_org/third_party/skia/src/pathops/
DSkOpContour.cpp79 double startT = coincidence.fTs[0][0]; in addCoincidentPoints() local
82 if ((cancelers = startSwapped = startT > endT)) { in addCoincidentPoints()
83 SkTSwap(startT, endT); in addCoincidentPoints()
85 if (startT == endT) { // if one is very large the smaller may have collapsed to nothing in addCoincidentPoints()
90 startT -= FLT_EPSILON; in addCoincidentPoints()
91 SkASSERT(startT >= 0); in addCoincidentPoints()
94 SkASSERT(!approximately_negative(endT - startT)); in addCoincidentPoints()
105 if (startT > 0 || oEndT < 1 in addCoincidentPoints()
106 || thisOne.isMissing(startT, startPt) || other.isMissing(oEndT, startPt)) { in addCoincidentPoints()
107 thisOne.addTPair(startT, &other, oEndT, true, startPt, in addCoincidentPoints()
[all …]
DSkPathOpsCurve.h103 static SkPoint quad_top(const SkPoint a[3], double startT, double endT) { in quad_top() argument
106 SkDPoint topPt = quad.top(startT, endT); in quad_top()
110 static SkPoint cubic_top(const SkPoint a[4], double startT, double endT) { in cubic_top() argument
113 SkDPoint topPt = cubic.top(startT, endT); in cubic_top()
124 static bool line_is_vertical(const SkPoint a[2], double startT, double endT) { in line_is_vertical() argument
127 SkDPoint dst[2] = { line.ptAtT(startT), line.ptAtT(endT) }; in line_is_vertical()
131 static bool quad_is_vertical(const SkPoint a[3], double startT, double endT) { in quad_is_vertical() argument
134 SkDQuad dst = quad.subDivide(startT, endT); in quad_is_vertical()
138 static bool cubic_is_vertical(const SkPoint a[4], double startT, double endT) { in cubic_is_vertical() argument
141 SkDCubic dst = cubic.subDivide(startT, endT); in cubic_is_vertical()
DSkPathOpsQuad.cpp50 SkDPoint SkDQuad::top(double startT, double endT) const { in top() argument
51 SkDQuad sub = subDivide(startT, endT); in top()
59 extremeT = startT + (endT - startT) * extremeT; in top()
/external/chromium_org/third_party/skia/experimental/Intersection/
DQuadraticBounds.cpp11 double leftMostT(const Quadratic& quad, double startT, double endT) { in leftMostT() argument
14 && startT <= leftT && leftT <= endT) { in leftMostT()
18 xy_at_t(quad, startT, startPt.x, startPt.y); in leftMostT()
21 return startPt.x <= endPt.x ? startT : endT; in leftMostT()
DCubicBounds.cpp16 double leftMostT(const Cubic& cubic, double startT, double endT) { in leftMostT() argument
22 if (startT > leftTs[index] || leftTs[index] > endT) { in leftMostT()
38 xy_at_t(cubic, startT, pt[0].x, pt[0].y); in leftMostT()
40 return pt[0].x <= pt[1].x ? startT : endT; in leftMostT()
DCurveIntersection.h70 double leftMostT(const Cubic& , double startT, double endT);
71 double leftMostT(const _Line& , double startT, double endT);
72 double leftMostT(const Quadratic& , double startT, double endT);
DSimplify.cpp427 static void LineSubDivide(const SkPoint a[2], double startT, double endT, in LineSubDivide() argument
431 sub_divide(aLine, startT, endT, dst); in LineSubDivide()
438 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, in QuadSubDivide() argument
442 sub_divide(aQuad, startT, endT, dst); in QuadSubDivide()
451 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, in CubicSubDivide() argument
455 sub_divide(aCubic, startT, endT, dst); in CubicSubDivide()
474 static void LineSubDivideHD(const SkPoint a[2], double startT, double endT, _Line& dst) { in LineSubDivideHD() argument
476 sub_divide(aLine, startT, endT, dst); in LineSubDivideHD()
479 static void QuadSubDivideHD(const SkPoint a[3], double startT, double endT, Quadratic& dst) { in QuadSubDivideHD() argument
481 sub_divide(aQuad, startT, endT, dst); in QuadSubDivideHD()
[all …]
DQuadraticUtilities.cpp49 _Point top(const Quadratic& quad, double startT, double endT) { in top() argument
51 sub_divide(quad, startT, endT, sub); in top()
59 extremeT = startT + (endT - startT) * extremeT; in top()
DQuadraticUtilities.h43 _Point top(const Quadratic& , double startT, double endT);
DCubicUtilities.cpp380 _Point top(const Cubic& cubic, double startT, double endT) { in top() argument
382 sub_divide(cubic, startT, endT, sub); in top()
392 double t = startT + (endT - startT) * extremeTs[index]; in top()
/external/skia/experimental/Intersection/
DQuadraticBounds.cpp11 double leftMostT(const Quadratic& quad, double startT, double endT) { in leftMostT() argument
14 && startT <= leftT && leftT <= endT) { in leftMostT()
18 xy_at_t(quad, startT, startPt.x, startPt.y); in leftMostT()
21 return startPt.x <= endPt.x ? startT : endT; in leftMostT()
DCubicBounds.cpp16 double leftMostT(const Cubic& cubic, double startT, double endT) { in leftMostT() argument
22 if (startT > leftTs[index] || leftTs[index] > endT) { in leftMostT()
38 xy_at_t(cubic, startT, pt[0].x, pt[0].y); in leftMostT()
40 return pt[0].x <= pt[1].x ? startT : endT; in leftMostT()
DCurveIntersection.h70 double leftMostT(const Cubic& , double startT, double endT);
71 double leftMostT(const _Line& , double startT, double endT);
72 double leftMostT(const Quadratic& , double startT, double endT);
DSimplify.cpp427 static void LineSubDivide(const SkPoint a[2], double startT, double endT, in LineSubDivide() argument
431 sub_divide(aLine, startT, endT, dst); in LineSubDivide()
438 static void QuadSubDivide(const SkPoint a[3], double startT, double endT, in QuadSubDivide() argument
442 sub_divide(aQuad, startT, endT, dst); in QuadSubDivide()
451 static void CubicSubDivide(const SkPoint a[4], double startT, double endT, in CubicSubDivide() argument
455 sub_divide(aCubic, startT, endT, dst); in CubicSubDivide()
474 static void LineSubDivideHD(const SkPoint a[2], double startT, double endT, _Line& dst) { in LineSubDivideHD() argument
476 sub_divide(aLine, startT, endT, dst); in LineSubDivideHD()
479 static void QuadSubDivideHD(const SkPoint a[3], double startT, double endT, Quadratic& dst) { in QuadSubDivideHD() argument
481 sub_divide(aQuad, startT, endT, dst); in QuadSubDivideHD()
[all …]
DQuadraticUtilities.cpp49 _Point top(const Quadratic& quad, double startT, double endT) { in top() argument
51 sub_divide(quad, startT, endT, sub); in top()
59 extremeT = startT + (endT - startT) * extremeT; in top()
DQuadraticUtilities.h43 _Point top(const Quadratic& , double startT, double endT);
DCubicUtilities.cpp380 _Point top(const Cubic& cubic, double startT, double endT) { in top() argument
382 sub_divide(cubic, startT, endT, sub); in top()
392 double t = startT + (endT - startT) * extremeTs[index]; in top()
DCubicUtilities.h40 _Point top(const Cubic& , double startT, double endT);
/external/chromium_org/third_party/WebKit/Source/platform/scroll/
DScrollAnimatorNone.h111 static double attackArea(Curve, double startT, double endT);
112 static double releaseArea(Curve, double startT, double endT);
DScrollAnimatorNone.cpp181 double ScrollAnimatorNone::PerAxisData::attackArea(Curve curve, double startT, double endT) in attackArea() argument
183 double startValue = curveIntegralAt(curve, startT); in attackArea()
188 double ScrollAnimatorNone::PerAxisData::releaseArea(Curve curve, double startT, double endT) in releaseArea() argument
191 double endValue = curveIntegralAt(curve, 1 - startT); in releaseArea()

12