/external/skia/experimental/Intersection/ |
H A D | CubicLineSegments.cpp | 12 void hodograph(const Cubic& cubic, Quadratic& hodo) { 22 void secondHodograph(const Cubic& cubic, _Line& hodo2) { 30 double subDivisions(const Cubic& cubic) {
|
H A D | CubicToQuadratics.cpp | 24 Cubic defined by: P1/2 - anchor points, C1/C2 control points 57 static double calcTDiv(const Cubic& cubic, double precision, double start) { 59 Cubic sub; 60 const Cubic* cPtr; 68 const Cubic& c = *cPtr; 80 void demote_cubic_to_quad(const Cubic& cubic, Quadratic& quad) { 93 int cubic_to_quadratics(const Cubic& cubic, double precision, SkTDArray<Quadratic>& quadratics) { 101 Cubic part; 116 static bool addSimpleTs(const Cubic& cubic, double precision, SkTDArray<double>& ts) { 128 static void addTs(const Cubic [all...] |
H A D | LineCubicIntersection_Test.cpp | 14 Cubic cubic; 26 const Cubic& cubic = lineCubicTests[index].cubic; 28 Cubic reduce1;
|
H A D | LineParameters.h | 24 void cubicEndPoints(const Cubic& pts) { 28 void cubicEndPoints(const Cubic& pts, int s, int e) { 67 void cubicDistanceY(const Cubic& pts, Cubic& distance) const { 83 double controlPtDistance(const Cubic& pts, int index) const {
|
H A D | CubicReduceOrder_Test.cpp | 15 Cubic reduce; 48 const Cubic& cubic = pointDegenerates[index]; 56 const Cubic& cubic = notPointDegenerates[index]; 64 const Cubic& cubic = lines[index]; 72 const Cubic& cubic = notLines[index]; 80 const Cubic& cubic = modEpsilonLines[index]; 88 const Cubic& cubic = lessEpsilonLines[index]; 96 const Cubic& cubic = negEpsilonLines[index]; 105 Cubic cubic; 115 Cubic cubi [all...] |
H A D | CubicReduceOrder.cpp | 22 static int coincident_line(const Cubic& cubic, Cubic& reduction) { 27 static int vertical_line(const Cubic& cubic, ReduceOrder_Styles reduceStyle, Cubic& reduction) { 50 static int horizontal_line(const Cubic& cubic, ReduceOrder_Styles reduceStyle, Cubic& reduction) { 74 static int check_quadratic(const Cubic& cubic, Cubic& reduction) { 94 static int check_linear(const Cubic& cubic, ReduceOrder_Styles reduceStyle, 95 int minX, int maxX, int minY, int maxY, Cubic [all...] |
H A D | CubicToQuadratics_Test.cpp | 8 static void test(const Cubic* cubics, const char* name, int firstTest, size_t testCount) { 11 const Cubic& cubic = cubics[index]; 25 Cubic cubic; 36 static void testC(const Cubic* cubics, const char* name, int firstTest, size_t testCount) { 40 const Cubic& cubic = cubics[index]; 59 static void testC(const Cubic(* cubics)[2], const char* name, int firstTest, size_t testCount) { 63 const Cubic& cubic = cubics[index][idx2]; 131 static Cubic locals[] = { 159 const Cubic& cubic = locals[x]; 189 Cubic sample [all...] |
H A D | CubicBezierClip.cpp | 13 bool bezier_clip(const Cubic& cubic1, const Cubic& cubic2, double& minT, double& maxT) { 53 Cubic distance2y; // points with X of (0, 1/3, 2/3, 1)
|
H A D | CubicBounds.cpp | 16 double leftMostT(const Cubic& cubic, double startT, double endT) { 43 void _Rect::setBounds(const Cubic& cubic) { 61 void _Rect::setRawBounds(const Cubic& cubic) {
|
H A D | ConvexHull.cpp | 22 int convex_hull(const Cubic& cubic, char order[4]) { 46 Cubic rotPath; 82 Cubic midPath; 106 bool convex_x_hull(const Cubic& cubic, char connectTo0[2], char connectTo3[2]) {
|
H A D | TestUtilities.cpp | 12 void quad_to_cubic(const Quadratic& quad, Cubic& cubic) { 21 static bool tiny(const Cubic& cubic) { 42 void find_tight_bounds(const Cubic& cubic, _Rect& bounds) { 59 bool controls_inside(const Cubic& cubic) {
|
H A D | CubicConvexHull.cpp | 19 CubicIntersections(const Cubic& c1, const Cubic& c2, Intersections& i) 52 Cubic smaller, larger; 56 Cubic smallResult; 59 Cubic largeResult; 155 const Cubic& cubic1; 156 const Cubic& cubic2; 162 bool intersect(const Cubic& c1, const Cubic& c2, Intersections& i) {
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | LineParameters.h | 24 void cubicEndPoints(const Cubic& pts) { 28 void cubicEndPoints(const Cubic& pts, int s, int e) { 67 void cubicDistanceY(const Cubic& pts, Cubic& distance) const { 83 double controlPtDistance(const Cubic& pts, int index) const {
|
H A D | CubicReduceOrder_Test.cpp | 15 Cubic reduce; 48 const Cubic& cubic = pointDegenerates[index]; 56 const Cubic& cubic = notPointDegenerates[index]; 64 const Cubic& cubic = lines[index]; 72 const Cubic& cubic = notLines[index]; 80 const Cubic& cubic = modEpsilonLines[index]; 88 const Cubic& cubic = lessEpsilonLines[index]; 96 const Cubic& cubic = negEpsilonLines[index]; 105 Cubic cubic; 115 Cubic cubi [all...] |
H A D | CubicReduceOrder.cpp | 22 static int coincident_line(const Cubic& cubic, Cubic& reduction) { 27 static int vertical_line(const Cubic& cubic, ReduceOrder_Styles reduceStyle, Cubic& reduction) { 50 static int horizontal_line(const Cubic& cubic, ReduceOrder_Styles reduceStyle, Cubic& reduction) { 74 static int check_quadratic(const Cubic& cubic, Cubic& reduction) { 94 static int check_linear(const Cubic& cubic, ReduceOrder_Styles reduceStyle, 95 int minX, int maxX, int minY, int maxY, Cubic [all...] |
H A D | CubicToQuadratics_Test.cpp | 8 static void test(const Cubic* cubics, const char* name, int firstTest, size_t testCount) { 11 const Cubic& cubic = cubics[index]; 25 Cubic cubic; 36 static void testC(const Cubic* cubics, const char* name, int firstTest, size_t testCount) { 40 const Cubic& cubic = cubics[index]; 59 static void testC(const Cubic(* cubics)[2], const char* name, int firstTest, size_t testCount) { 63 const Cubic& cubic = cubics[index][idx2]; 131 static Cubic locals[] = { 159 const Cubic& cubic = locals[x]; 189 Cubic sample [all...] |
H A D | CubicBezierClip.cpp | 13 bool bezier_clip(const Cubic& cubic1, const Cubic& cubic2, double& minT, double& maxT) { 53 Cubic distance2y; // points with X of (0, 1/3, 2/3, 1)
|
H A D | CubicBounds.cpp | 16 double leftMostT(const Cubic& cubic, double startT, double endT) { 43 void _Rect::setBounds(const Cubic& cubic) { 61 void _Rect::setRawBounds(const Cubic& cubic) {
|
H A D | ConvexHull.cpp | 22 int convex_hull(const Cubic& cubic, char order[4]) { 46 Cubic rotPath; 82 Cubic midPath; 106 bool convex_x_hull(const Cubic& cubic, char connectTo0[2], char connectTo3[2]) {
|
H A D | TestUtilities.cpp | 12 void quad_to_cubic(const Quadratic& quad, Cubic& cubic) { 21 static bool tiny(const Cubic& cubic) { 42 void find_tight_bounds(const Cubic& cubic, _Rect& bounds) { 59 bool controls_inside(const Cubic& cubic) {
|
H A D | CubicConvexHull.cpp | 19 CubicIntersections(const Cubic& c1, const Cubic& c2, Intersections& i) 52 Cubic smaller, larger; 56 Cubic smallResult; 59 Cubic largeResult; 155 const Cubic& cubic1; 156 const Cubic& cubic2; 162 bool intersect(const Cubic& c1, const Cubic& c2, Intersections& i) {
|
H A D | CubicParameterization_Test.cpp | 31 Cubic whole, first, second, mid; 56 const Cubic cubics[] = {
|
H A D | LineCubicIntersection.cpp | 83 LineCubicIntersections(const Cubic& c, const _Line& l, Intersections& i) 93 Cubic r; 254 const Cubic& cubic; 259 int horizontalIntersect(const Cubic& cubic, double left, double right, double y, 276 int horizontalIntersect(const Cubic& cubic, double left, double right, double y, 282 int verticalIntersect(const Cubic& cubic, double top, double bottom, double x, 288 int intersect(const Cubic& cubic, const _Line& line, Intersections& i) { 293 int intersectRay(const Cubic& cubic, const _Line& line, Intersections& i) {
|
H A D | LineParameteters_Test.cpp | 12 const Cubic tests[] = { 45 const Cubic& cubic = tests[index];
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | ScrollAnimatorNoneTest.cpp | 435 curveTest(ScrollAnimatorNone::Cubic); 453 EXPECT_LT(t, coastCurve(ScrollAnimatorNone::Cubic, t)); 454 EXPECT_LT(coastCurve(ScrollAnimatorNone::Quadratic, t), coastCurve(ScrollAnimatorNone::Cubic, t)); 456 EXPECT_LT(coastCurve(ScrollAnimatorNone::Cubic, t), coastCurve(ScrollAnimatorNone::Quartic, t)); 512 ScrollAnimatorNone::Parameters parameters(true, 7 * kTickTime, 0, ScrollAnimatorNone::Cubic, 3 * kTickTime, ScrollAnimatorNone::Cubic, 3 * kTickTime, ScrollAnimatorNone::Linear, 0); 532 ScrollAnimatorNone::Parameters parameters(true, 7 * kTickTime, 0, ScrollAnimatorNone::Cubic, 3 * kTickTime, ScrollAnimatorNone::Cubic, 3 * kTickTime, ScrollAnimatorNone::Linear, 0); 615 ScrollAnimatorNone::Parameters parameters(true, 7 * kTickTime, 0, ScrollAnimatorNone::Cubic, 3 * kTickTime, ScrollAnimatorNone::Cubic, [all...] |