Lines Matching defs:newBounds
665 public void checkIfOnNewScreen(Rectangle newBounds) {
674 int area = newBounds.width * newBounds.height;
687 if (newBounds.intersects(screenBounds)) {
688 horizAmt = Math.min(newBounds.x + newBounds.width,
690 Math.max(newBounds.x, screenBounds.x);
691 vertAmt = Math.min(newBounds.y + newBounds.height,
693 Math.max(newBounds.y, screenBounds.y);