Searched refs:fromRight (Results 1 – 2 of 2) sorted by relevance
146 final int fromRight = Math.abs(movementBounds.right - leftEdge); in snapRectToClosestEdge() local148 final int shortest = Math.min(Math.min(fromLeft, fromRight), Math.min(fromTop, fromBottom)); in snapRectToClosestEdge()153 } else if (shortest == fromRight) { in snapRectToClosestEdge()
533 final int fromRight = Math.abs(movementBounds.right - leftEdge); in snapToMovementBoundsEdge() local537 final int newLeft = fromLeft < fromRight in snapToMovementBoundsEdge()