Lines Matching refs:tx2
824 long tx2 = tx1; tx2 += this.width;
830 if (tx2 > rx2) tx2 = rx2;
832 tx2 -= tx1;
834 // tx2,ty2 will never overflow (they will never be
837 if (tx2 < Integer.MIN_VALUE) tx2 = Integer.MIN_VALUE;
839 return new Rectangle(tx1, ty1, (int) tx2, (int) ty2);
866 long tx2 = this.width;
868 if ((tx2 | ty2) < 0) {
884 tx2 += tx1;
892 if (tx2 < rx2) tx2 = rx2;
894 tx2 -= tx1;
896 // tx2,ty2 will never underflow since both original rectangles
899 if (tx2 > Integer.MAX_VALUE) tx2 = Integer.MAX_VALUE;
901 return new Rectangle(tx1, ty1, (int) tx2, (int) ty2);
1010 long tx2 = this.width;
1012 if ((tx2 | ty2) < 0) {
1022 tx2 += tx1;
1030 if (tx2 < rx2) tx2 = rx2;
1032 tx2 -= tx1;
1034 // tx2,ty2 will never underflow since both original
1037 if (tx2 > Integer.MAX_VALUE) tx2 = Integer.MAX_VALUE;
1039 reshape(tx1, ty1, (int) tx2, (int) ty2);