Searched refs:tileSize (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalUtils.java306 int tileSize = Math.min(IMAGE_SIZE, w - counter);
307 g.drawImage(image, counter, 0, counter + tileSize, h,
308 0, 0, tileSize, h, null);
313 int tileSize = Math.min(IMAGE_SIZE, h - counter);
314 g.drawImage(image, 0, counter, w, counter + tileSize,
315 0, 0, w, tileSize, null);
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java2495 private static int getTileIndex(int p, int tileGridOffset, int tileSize) { argument
2498 p += 1 - tileSize; // force round to -infinity (ceiling)
2500 return p/tileSize;

Completed in 38 milliseconds