Home
last modified time | relevance | path

Searched refs:neg2RootQ (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicUtilities.cpp131 double neg2RootQ = -2 * sqrt(Q); in cubicRootsValidT()
133 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsValidT()
137 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsValidT()
141 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsValidT()
241 double neg2RootQ = -2 * sqrt(Q); in cubicRootsReal() local
243 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsReal()
246 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsReal()
250 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsReal()
/external/skia/experimental/Intersection/
DCubicUtilities.cpp131 double neg2RootQ = -2 * sqrt(Q); in cubicRootsValidT()
133 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsValidT()
137 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsValidT()
141 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsValidT()
241 double neg2RootQ = -2 * sqrt(Q); in cubicRootsReal() local
243 r = neg2RootQ * cos(theta / 3) - adiv3; in cubicRootsReal()
246 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in cubicRootsReal()
250 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in cubicRootsReal()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp258 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local
260 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
263 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
267 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsCubic.cpp258 double neg2RootQ = -2 * sqrt(Q); in RootsReal() local
260 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
263 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
267 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
/external/chromium_org/third_party/skia/src/core/
DSkGeometry.cpp764 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local
766 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
770 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
774 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
/external/skia/src/core/
DSkGeometry.cpp764 SkScalar neg2RootQ = -2 * SkScalarSqrt(Q); in solve_cubic_poly() local
766 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
770 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
774 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()