/openjdk9/jdk/src/java.desktop/share/classes/sun/java2d/pipe/hw/ |
H A D | AccelGraphicsConfig.java | 39 * Returns a VolatileImage with specified width, height, transparency 52 * @param transparency the specified transparency mode 57 * @throws IllegalArgumentException if the transparency is not a valid value 63 int transparency, 62 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
|
H A D | AccelTypedVolatileImage.java | 46 * @param transparency type of {@link java.awt.Transparency transparency} 53 int width, int height, int transparency, 56 super(null, graphicsConfig, width, height, null, transparency, 52 AccelTypedVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, int accType) argument
|
/openjdk9/jdk/src/java.desktop/share/classes/sun/java2d/opengl/ |
H A D | OGLSurfaceDataProxy.java | 55 int transparency; field in class:OGLSurfaceDataProxy 57 public OGLSurfaceDataProxy(OGLGraphicsConfig oglgc, int transparency) { argument 59 this.transparency = transparency; 69 cachedData = oglgc.createManagedSurface(w, h, transparency); 84 (bgColor == null || transparency == Transparency.OPAQUE);
|
H A D | OGLGraphicsConfig.java | 43 SurfaceData createManagedSurface(int w, int h, int transparency); argument
|
/openjdk9/jdk/src/java.desktop/unix/classes/sun/java2d/xr/ |
H A D | XRSurfaceDataProxy.java | 52 int transparency; field in class:XRSurfaceDataProxy 72 public XRSurfaceDataProxy(XRGraphicsConfig x11gc, int transparency) { argument 74 this.transparency = transparency; 81 return (bgColor == null || transparency == Transparency.TRANSLUCENT); 85 return transparency;
|
H A D | XRUtils.java | 139 * Java2D transparency requirement. 141 public static int getPictureFormatForTransparency(int transparency) { argument 142 switch (transparency) { 155 public static SurfaceType getXRSurfaceTypeForTransparency(int transparency) { argument 156 if (transparency == Transparency.OPAQUE) {
|
H A D | XRSurfaceData.java | 247 int transparency, 255 transparency = Transparency.TRANSLUCENT; 257 depth = transparency > Transparency.OPAQUE ? 32 : 24; 269 (gc, width, height, image, getSurfaceType(gc, transparency), 270 cm, drawable, transparency, 271 XRUtils.getPictureFormatForTransparency(transparency), depth, isTexture); 275 SurfaceType sType, ColorModel cm, int depth, int transparency) 386 * transparency requirement. 389 int transparency) { 392 switch (transparency) { 243 createData(XRGraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency, boolean isTexture) argument 274 XRSurfaceData(X11ComponentPeer peer, XRGraphicsConfig gc, SurfaceType sType, ColorModel cm, int depth, int transparency) argument 388 getSurfaceType(XRGraphicsConfig gc, int transparency) argument 644 int transparency; field in class:XRSurfaceData.XRPixmapSurfaceData 647 XRPixmapSurfaceData(XRGraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency, int pictFormat, int depth, boolean isTexture) argument [all...] |
/openjdk9/jdk/src/java.desktop/windows/classes/sun/java2d/d3d/ |
H A D | D3DSurfaceDataProxy.java | 56 int transparency; field in class:D3DSurfaceDataProxy 58 public D3DSurfaceDataProxy(D3DGraphicsConfig d3dgc, int transparency) { argument 60 this.transparency = transparency; 73 cachedData = d3dgc.createManagedSurface(w, h, transparency); 91 return (bgColor == null || transparency == Transparency.OPAQUE);
|
H A D | D3DGraphicsConfig.java | 67 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument 69 getColorModel(transparency), 90 public ColorModel getColorModel(int transparency) { argument 91 switch (transparency) { 284 int transparency, int type) 287 transparency == Transparency.BITMASK) 291 boolean isOpaque = transparency == Transparency.OPAQUE; 304 transparency, type); 283 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
|
H A D | D3DVolatileSurfaceManager.java | 64 int transparency = vImg.getTransparency(); 68 (transparency == Transparency.OPAQUE) || 69 (transparency == Transparency.TRANSLUCENT &&
|
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/ |
H A D | GraphicsConfiguration.java | 157 * transparency and has a data layout and color model 165 * @param transparency the specified transparency mode 168 * and also supports the specified transparency. 169 * @throws IllegalArgumentException if the transparency is not a valid value 175 int transparency) 177 if (getColorModel().getTransparency() == transparency) { 181 ColorModel cm = getColorModel(transparency); 183 throw new IllegalArgumentException("Unknown transparency: " + 184 transparency); 174 createCompatibleImage(int width, int height, int transparency) argument 236 createCompatibleVolatileImage(int width, int height, int transparency) argument 304 createCompatibleVolatileImage(int width, int height, ImageCapabilities caps, int transparency) argument 339 getColorModel(int transparency) argument [all...] |
H A D | MultipleGradientPaint.java | 82 /** The transparency of this paint object. */ 83 final int transparency; field in class:MultipleGradientPaint 234 // determine transparency 239 this.transparency = opaque ? OPAQUE : TRANSLUCENT; 300 * Returns the transparency mode for this {@code Paint} object. 309 return transparency;
|
/openjdk9/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/ |
H A D | Destinations.java | 161 int transparency; field in class:Destinations.CompatImg 195 public CompatImg(int transparency) { argument 197 ShortNames[transparency], 198 ShortDescriptions[transparency], 200 this.transparency = transparency; 204 return ModifierNames[transparency]; 212 if (transparency == 0) { 215 env.setTestImage(gc.createCompatibleImage(w, h, transparency)); 221 private final int transparency; field in class:Destinations.VolatileImg 255 VolatileImg(final int transparency) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/image/ |
H A D | VolatileImage.java | 320 * The transparency value with which this image was created. 328 protected int transparency = TRANSLUCENT; field in class:VolatileImage 331 * Returns the transparency. Returns either OPAQUE, BITMASK, 333 * @return the transparency of this {@code VolatileImage}. 340 return transparency;
|
H A D | IndexColorModel.java | 58 * <a id="transparency"> 59 * The transparency of an {@code IndexColorModel} object is 63 * The transparency value is {@code Transparency.OPAQUE} 79 * a transparency value of {@code Transparency.OPAQUE}, 84 * For any other transparency value, 154 * to this constructor, the transparency value is always 191 * The transparency value may be {@code Transparency.OPAQUE} or 193 * specified in the <a href="#transparency">class description</a> above. 229 * The transparency value may be any of {@code Transparency.OPAQUE}, 233 * in the <a href="#transparency">clas 737 setTransparency(int transparency) argument [all...] |
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterGraphicsConfig.java | 95 public VolatileImage createCompatibleVolatileImage(int width, int height, int transparency) { argument 101 * transparency and has a data layout and color model 109 * @param transparency the specified transparency mode 112 * and also supports the specified transparency. 117 public BufferedImage createCompatibleImage(int width, int height, int transparency) { argument 135 * transparency. 136 * @param transparency the specified transparency mode 139 * specified transparency 141 getColorModel(int transparency) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/image/ |
H A D | SunVolatileImage.java | 68 int transparency, ImageCapabilities caps, 80 if (!(transparency == Transparency.OPAQUE || 81 transparency == Transparency.BITMASK || 82 transparency == Transparency.TRANSLUCENT)) 84 throw new IllegalArgumentException("Unknown transparency type:" + 85 transparency); 87 this.transparency = transparency; 118 int width, int height, int transparency, 121 this(null, graphicsConfig, width, height, null, transparency, 65 SunVolatileImage(Component comp, GraphicsConfiguration graphicsConfig, int width, int height, Object context, int transparency, ImageCapabilities caps, int accType) argument 117 SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps) argument [all...] |
H A D | BufferedImageGraphicsConfig.java | 135 * supports the specified transparency. 137 public ColorModel getColorModel(int transparency) { argument 139 if (model.getTransparency() == transparency) { 142 switch (transparency) {
|
/openjdk9/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/ |
H A D | ImageTests.java | 290 int transparency) 296 (transparency != Transparency.OPAQUE)); 298 (transparency == Transparency.TRANSLUCENT)); 326 private final int transparency; field in class:ImageTests.VolatileImg 332 public VolatileImg(int transparency) { argument 333 super(imgsrcroot, Destinations.VolatileImg.ShortNames[transparency], 334 Destinations.VolatileImg.LongDescriptions[transparency], 335 transparency); 336 this.transparency = transparency; 289 TriStateImageType(Group parent, String nodename, String desc, int transparency) argument 351 int transparency; field in class:ImageTests.CompatImg 353 CompatImg(int transparency) argument 485 int transparency; field in class:ImageTests.DrawableImage 488 DrawableImage(TriStateImageType parent, int transparency, boolean possible) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/sun/print/ |
H A D | PrinterGraphicsConfig.java | 76 * supports the specified transparency. 78 public ColorModel getColorModel(int transparency) { argument 79 switch (transparency) {
|
/openjdk9/jdk/src/java.desktop/macosx/classes/sun/java2d/opengl/ |
H A D | CGLGraphicsConfig.java | 120 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument 122 getColorModel(transparency), 208 public ColorModel getColorModel(int transparency) { argument 209 switch (transparency) { 313 final int transparency = peer.isTranslucent() ? Transparency.TRANSLUCENT 315 return new SunVolatileImage(this, w, h, transparency, null); 378 int transparency, 381 || transparency == Transparency.BITMASK 386 transparency, type); 377 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
|
/openjdk9/jdk/src/java.desktop/unix/classes/sun/java2d/x11/ |
H A D | X11SurfaceDataProxy.java | 61 int transparency = cm.getTransparency(); 63 if (transparency == Transparency.OPAQUE) { 65 } else if (transparency == Transparency.BITMASK) {
|
H A D | X11SurfaceData.java | 427 int transparency) 430 getSurfaceType(gc, transparency, true), 431 cm, drawable, transparency); 510 int transparency) 512 return getSurfaceType(gc, transparency, false); 517 int transparency, 520 boolean transparent = (transparency == Transparency.BITMASK); 753 int transparency; field in class:X11SurfaceData.X11PixmapSurfaceData 759 long drawable, int transparency) 765 this.transparency 423 createData(X11GraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency) argument 509 getSurfaceType(X11GraphicsConfig gc, int transparency) argument 516 getSurfaceType(X11GraphicsConfig gc, int transparency, boolean pixmapSurface) argument 755 X11PixmapSurfaceData(X11GraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency) argument [all...] |
/openjdk9/jdk/src/java.desktop/unix/classes/sun/java2d/opengl/ |
H A D | GLXGraphicsConfig.java | 93 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument 95 getColorModel(transparency), 195 public ColorModel getColorModel(int transparency) { argument 196 switch (transparency) { 397 int transparency, int type) 400 || transparency == Transparency.BITMASK 405 transparency, type); 396 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
|
/openjdk9/jdk/src/java.desktop/windows/classes/sun/java2d/opengl/ |
H A D | WGLGraphicsConfig.java | 100 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument 102 getColorModel(transparency), 225 public ColorModel getColorModel(int transparency) { argument 226 switch (transparency) { 409 int transparency, int type) 412 || transparency == Transparency.BITMASK 417 transparency, type); 408 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
|