Searched refs:xDiff (Results 1 – 3 of 3) sorted by relevance
208 float xDiff = aX - bX; in DistanceL2() local210 return Round((float)sqrt(xDiff * xDiff + yDiff * yDiff)); in DistanceL2()
194 SkScalar xDiff = click->fPrev.fX - click->fCurr.fX; in onClick() local196 fTexX += xDiff * fTexScale; in onClick()
1306 double xDiff = a.x - b.x; in distanceBtwPoints() local1309 return std::sqrt((xDiff * xDiff) + (yDiff * yDiff)); in distanceBtwPoints()