Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int panDeltaX1 = Math.max(0, mLeft - r.left);
- int panDeltaX2 = Math.min(0, mRight - r.right);
- int panDeltaY1 = Math.max(0, mTop - r.top);
- int panDeltaY2 = Math.min(0, mBottom - r.bottom);
Add Comment
Please, Sign In to add comment