Home
last modified time | relevance | path

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

/external/skia/src/pathops/
DSkPathOpsCubic.cpp36 double calcDist = calcPos - axisIntercept; in binarySearch() local
47 SkDebugf("t=%1.9g calc=%1.9g dist=%1.9g step=%1.9g less=%1.9g\n", t, calcPos, calcDist, in binarySearch()
52 if (calcDist > 0 ? calcDist > lessDist : calcDist < lessDist) { in binarySearch()
65 if (calcDist > 0 ? calcDist <= moreDist : calcDist >= moreDist) { in binarySearch()
73 calcDist = calcPos - axisIntercept; in binarySearch()
/external/skia/tests/
DPathOpsCubicLineIntersectionIdeas.cpp65 double calcDist = calcX * calcX + calcY * calcY; in binary_search() local
81 if (calcDist > lessDist) { in binary_search()
89 if (calcDist <= moreDist) { in binary_search()