Home
last modified time | relevance | path

Searched refs:adiv3 (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/pathops/
DSkPathOpsCubic.cpp418 double adiv3 = a / 3; in RootsReal() local
425 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
428 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
432 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
446 r = A - adiv3; in RootsReal()
449 r = -A / 2 - adiv3; in RootsReal()
/external/skia/src/core/
DSkGeometry.cpp740 SkScalar adiv3 = a / 3; in solve_cubic_poly() local
749 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
753 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
757 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
778 r = A - adiv3; in solve_cubic_poly()