Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsCubic.cpp456 double adiv3 = a / 3; in RootsReal() local
464 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
467 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
471 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
485 r = A - adiv3; in RootsReal()
488 r = -A / 2 - adiv3; in RootsReal()
/external/skqp/src/pathops/
DSkPathOpsCubic.cpp454 double adiv3 = a / 3; in RootsReal() local
462 r = neg2RootQ * cos(theta / 3) - adiv3; in RootsReal()
465 r = neg2RootQ * cos((theta + 2 * PI) / 3) - adiv3; in RootsReal()
469 r = neg2RootQ * cos((theta - 2 * PI) / 3) - adiv3; in RootsReal()
483 r = A - adiv3; in RootsReal()
486 r = -A / 2 - adiv3; in RootsReal()
/external/skqp/src/core/
DSkGeometry.cpp768 SkScalar adiv3 = a / 3; in solve_cubic_poly() local
775 tValues[0] = SkScalarPin(neg2RootQ * SkScalarCos(theta/3) - adiv3, 0, 1); in solve_cubic_poly()
776 tValues[1] = SkScalarPin(neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3, 0, 1); in solve_cubic_poly()
777 tValues[2] = SkScalarPin(neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3, 0, 1); in solve_cubic_poly()
792 tValues[0] = SkScalarPin(A - adiv3, 0, 1); in solve_cubic_poly()
/external/skia/src/core/
DSkGeometry.cpp971 SkScalar adiv3 = a / 3; in solve_cubic_poly() local
978 tValues[0] = SkTPin(neg2RootQ * SkScalarCos(theta/3) - adiv3, 0.0f, 1.0f); in solve_cubic_poly()
979 tValues[1] = SkTPin(neg2RootQ * SkScalarCos((theta + 2*SK_ScalarPI)/3) - adiv3, 0.0f, 1.0f); in solve_cubic_poly()
980 tValues[2] = SkTPin(neg2RootQ * SkScalarCos((theta - 2*SK_ScalarPI)/3) - adiv3, 0.0f, 1.0f); in solve_cubic_poly()
995 tValues[0] = SkTPin(A - adiv3, 0.0f, 1.0f); in solve_cubic_poly()