Guest User

Untitled

a guest
Jul 18th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. int panDeltaX1 = Math.max(0, mLeft - r.left);
  2. int panDeltaX2 = Math.min(0, mRight - r.right);
  3.  
  4. int panDeltaY1 = Math.max(0, mTop - r.top);
  5. int panDeltaY2 = Math.min(0, mBottom - r.bottom);
Add Comment
Please, Sign In to add comment