Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsCubic.cpp464 double adiv3 = a / 3; in RootsReal() local
472 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
475 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
479 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
493 r = A - adiv3; in RootsReal()
496 r = -A / 2 - adiv3; in RootsReal()
/external/skia/src/core/
DSkGeometry.cpp704 SkScalar adiv3 = a / 3; in solve_cubic_poly() local
714 r = neg2RootQ * SkScalarCos(theta/3) - adiv3; in solve_cubic_poly()
718 r = neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
722 r = neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3; in solve_cubic_poly()
743 r = A - adiv3; in solve_cubic_poly()