Lines Matching refs:x2
122 int x2 = addWithoutOverflow(x, w);
123 if (x2 > cropX + cropW) {
124 x2 = cropX + cropW;
135 if (x1 >= x2 || y1 >= y2) {
138 consumer.setPixels(x1 - cropX, y1 - cropY, (x2 - x1), (y2 - y1),
162 int x2 = addWithoutOverflow(x, w);
163 if (x2 > cropX + cropW) {
164 x2 = cropX + cropW;
175 if (x1 >= x2 || y1 >= y2) {
178 consumer.setPixels(x1 - cropX, y1 - cropY, (x2 - x1), (y2 - y1),
185 int x2 = x + w;
186 if ( x > 0 && w > 0 && x2 < 0 ) {
187 x2 = Integer.MAX_VALUE;
188 } else if( x < 0 && w < 0 && x2 > 0 ) {
189 x2 = Integer.MIN_VALUE;
191 return x2;