Searched refs:PaintType (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/test/sun/java2d/DirectX/TransformedPaintTest/
H A DTransformedPaintTest.java58 private static enum PaintType { enum in class:TransformedPaintTest
68 private static final int R_HEIGHT = PaintType.values().length * CELL_SIZE;
70 private Paint createPaint(PaintType type, int startx, int starty,
99 g.setPaint(createPaint(PaintType.LINEAR_GRADIENT, 0, 0, w, h));
107 private void renderLine(PaintType type, Graphics2D g,
129 int paintTypes = PaintType.values().length;
133 for (PaintType type : PaintType.values()) {
/openjdk7/jdk/src/share/classes/sun/swing/plaf/synth/
H A DPaint9Painter.java40 public enum PaintType { enum in class:Paint9Painter
130 PaintType type, int mask) {
144 PaintType type = (PaintType)args[argIndex++];
152 Insets dInsets, PaintType type, int componentMask) {
165 if (type == PaintType.CENTER) {
170 else if (type == PaintType.TILE) {
214 boolean stretch = (type == PaintType.PAINT9_STRETCH);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DImageScalingHelper.java39 enum PaintType { enum in class:ImageScalingHelper
104 Insets dInsets, PaintType paintType, int mask) {
117 if (paintType == PaintType.CENTER) {
121 } else if (paintType == PaintType.TILE) {
164 boolean stretch = (paintType == PaintType.PAINT9_STRETCH);
H A DLoweredBorder.java118 ImageScalingHelper.PaintType.PAINT9_STRETCH,
191 ImageScalingHelper.PaintType.PAINT9_STRETCH,
H A DAbstractRegionPainter.java646 ImageScalingHelper.PaintType.PAINT9_STRETCH, ImageScalingHelper.PAINT_ALL);
/openjdk7/jdk/test/sun/java2d/OpenGL/
H A DGradientPaints.java85 private static enum PaintType {BASIC, LINEAR, RADIAL}; enum in class:GradientPaints
106 makePaint(PaintType.RADIAL, CycleMethod.REPEAT,
123 for (PaintType paintType : PaintType.values()) {
144 paintType == PaintType.RADIAL ?
160 private Paint makePaint(PaintType paintType,
/openjdk7/jdk/test/java/awt/MultipleGradientPaint/
H A DMultiGradientTest.java86 private static enum PaintType {BASIC, LINEAR, RADIAL}; enum in class:MultiGradientTest
90 private PaintType paintType = PaintType.LINEAR;
368 paintType = (PaintType)cmbPaint.getSelectedItem();
/openjdk7/jdk/src/share/classes/javax/swing/plaf/synth/
H A DImagePainter.java129 Paint9Painter.PaintType type;
131 type = Paint9Painter.PaintType.CENTER;
134 type = Paint9Painter.PaintType.PAINT9_STRETCH;
137 type = Paint9Painter.PaintType.PAINT9_TILE;

Completed in 71 milliseconds