Searched refs:yIntercept (Results 1 – 3 of 3) sorted by relevance
130 final float yIntercept = y - slope * x; // rearrange line equation for yIntercept in getEdgeIntersect() local140 vertPoint.y = findY(slope, yIntercept, vertPoint.x); in getEdgeIntersect()145 horizPoint.x = findX(slope, yIntercept, horizPoint.y); in getEdgeIntersect()194 private int findY(float slope, float yIntercept, float x) { in findY() argument195 return (int) ((slope * x) + yIntercept); in findY()198 private int findX(float slope, float yIntercept, float y) { in findX() argument199 return (int) ((y - yIntercept) / slope); in findX()
246 final float yIntercept = rawY - slope * rawX; in isFastFlingTowardsDismissTarget() local248 bottomOfScreenInterceptX = (mStack.getHeight() - yIntercept) / slope; in isFastFlingTowardsDismissTarget()
485 final float yIntercept = pipBounds.top - slope * pipBounds.left; in getDismissEndPoint() local487 final float x = (bottomBound - yIntercept) / slope; in getDismissEndPoint()