Home
last modified time | relevance | path

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

/external/skqp/src/pathops/
DSkPathOpsCubic.cpp36 double calcDist = calcPos - axisIntercept; in binarySearch() local
46 SkDebugf("t=%1.9g calc=%1.9g dist=%1.9g step=%1.9g less=%1.9g\n", t, calcPos, calcDist, in binarySearch()
51 if (calcDist > 0 ? calcDist > lessDist : calcDist < lessDist) { in binarySearch()
64 if (calcDist > 0 ? calcDist <= moreDist : calcDist >= moreDist) { in binarySearch()
72 calcDist = calcPos - axisIntercept; in binarySearch()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp37 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/skqp/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()
/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()