Lines Matching refs:distance
351 * Fudge-factor opportunity: how to calculate distance given major and minor
427 * @return The distance from the edge furthest in the given direction
451 * @return The distance along the major axis w.r.t the direction from the
476 * Find the distance on the minor axis w.r.t the direction to the nearest
481 * @return The distance.
487 // the distance between the center verticals
493 // the distance between the center horizontals
537 int distance = Integer.MAX_VALUE;
541 distance = x - touchableBounds.right + 1;
544 distance = touchableBounds.left;
547 distance = y - touchableBounds.bottom + 1;
550 distance = touchableBounds.top;
554 if (distance < edgeSlop) {
558 (!touchableBounds.contains(closestBounds) && distance < minDistance)) {
559 minDistance = distance;
564 deltas[0] = -distance;
567 deltas[0] = distance;
570 deltas[1] = -distance;
573 deltas[1] = distance;