Searched refs:p1x (Results 1 - 9 of 9) sorted by path

/external/chromium_org/third_party/WebKit/Source/platform/animation/
H A DUnitBezier.h36 UnitBezier(double p1x, double p1y, double p2x, double p2y) argument
39 cx = 3.0 * p1x;
40 bx = 3.0 * (p2x - p1x) - cx;
63 if (p1x > 0)
64 m_startGradient = p1y / p1x;
72 else if (p2x == 1 && p1x < 1)
73 m_endGradient = (p1y - 1) / (p1x - 1);
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp656 float p1x, float p1y, float c1x, float c1y,
659 float dx = p2x - p1x;
671 float p1c1x = (p1x + c1x) * 0.5f;
689 p1x, p1y, p1c1x, p1c1y,
655 RecursiveCubicBezierVertices( float p1x, float p1y, float c1x, float c1y, float p2x, float p2y, float c2x, float c2y, float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) argument
H A DAndroidPathRenderer.h83 float p1x, float p1y,
/external/chromium_org/third_party/skia/src/core/
H A DSkGeometry.cpp1335 SkScalar p1x = fW * fPts[1].fX;
1337 SkScalar mx = (fPts[0].fX + 2 * p1x + fPts[2].fX) * scale * SK_ScalarHalf;
1341 dst[0].fPts[1].set((fPts[0].fX + p1x) * scale,
1346 dst[1].fPts[1].set((p1x + fPts[2].fX) * scale,
H A DSkPath.cpp2431 double p1x = SkScalarToDouble(p1.fX); local
2437 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) -
/external/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp656 float p1x, float p1y, float c1x, float c1y,
659 float dx = p2x - p1x;
671 float p1c1x = (p1x + c1x) * 0.5f;
689 p1x, p1y, p1c1x, p1c1y,
655 RecursiveCubicBezierVertices( float p1x, float p1y, float c1x, float c1y, float p2x, float p2y, float c2x, float c2y, float sqrInvScaleX, float sqrInvScaleY, SkTArray<Vertex, true>* outputVertices) argument
H A DAndroidPathRenderer.h83 float p1x, float p1y,
/external/skia/src/core/
H A DSkGeometry.cpp1335 SkScalar p1x = fW * fPts[1].fX;
1337 SkScalar mx = (fPts[0].fX + 2 * p1x + fPts[2].fX) * scale * SK_ScalarHalf;
1341 dst[0].fPts[1].set((fPts[0].fX + p1x) * scale,
1346 dst[1].fPts[1].set((p1x + fPts[2].fX) * scale,
H A DSkPath.cpp2470 double p1x = SkScalarToDouble(p1.fX); local
2476 cross = SkDoubleToScalar((p1x - p0x) * (p2y - p0y) -

Completed in 512 milliseconds