Home
last modified time | relevance | path

Searched refs:CubicBezier (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Dcubic_bezier_unittest.cc15 CubicBezier function(0.25, 0.0, 0.75, 1.0); in TEST()
40 CubicBezier basic_use(0.5, 1.0, 0.5, 1.0); in TEST()
43 CubicBezier overshoot(0.5, 2.0, 0.5, 2.0); in TEST()
46 CubicBezier undershoot(0.5, -1.0, 0.5, -1.0); in TEST()
52 CubicBezier function(0.5, -1.0, 0.5, 2.0); in TEST()
83 std::unique_ptr<CubicBezier> function( in TEST()
84 new CubicBezier(0.25, (1.0 / 3.0), 0.75, (2.0 / 3.0))); in TEST()
89 function.reset(new CubicBezier(0.25, -0.5, 0.75, (-1.0 / 6.0))); in TEST()
94 function.reset(new CubicBezier(0.25, 0.25, 0.75, 0.5)); in TEST()
99 function.reset(new CubicBezier(0.0, 1.0, 1.0, 0.0)); in TEST()
[all …]
Dcubic_bezier.cc16 CubicBezier::CubicBezier(double p1x, double p1y, double p2x, double p2y) { in CubicBezier() function in gfx::CubicBezier
22 CubicBezier::CubicBezier(const CubicBezier& other) = default;
24 void CubicBezier::InitCoefficients(double p1x, in InitCoefficients()
39 void CubicBezier::InitGradients(double p1x, in InitGradients()
78 void CubicBezier::InitRange(double p1y, double p2y) { in InitRange()
135 double CubicBezier::GetDefaultEpsilon() { in GetDefaultEpsilon()
139 double CubicBezier::SolveCurveX(double x, double epsilon) const { in SolveCurveX()
181 double CubicBezier::Solve(double x) const { in Solve()
185 double CubicBezier::SlopeWithEpsilon(double x, double epsilon) const { in SlopeWithEpsilon()
193 double CubicBezier::Slope(double x) const { in Slope()
[all …]
Dcubic_bezier.h13 class GFX_EXPORT CubicBezier {
15 CubicBezier(double p1x, double p1y, double p2x, double p2y);
16 CubicBezier(const CubicBezier& other);
91 DISALLOW_ASSIGN(CubicBezier);