Searched refs:transparency (Results 1 - 25 of 51) sorted by relevance

123

/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DSurfaceDataProxy.java56 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 DD3DGraphicsConfig.java69 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument
71 getColorModel(transparency),
92 public ColorModel getColorModel(int transparency) { argument
93 switch (transparency) {
276 int transparency, int type)
279 transparency == Transparency.BITMASK)
283 boolean isOpaque = transparency == Transparency.OPAQUE;
296 transparency, type);
275 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLSurfaceDataProxy.java55 int transparency; field in class:OGLSurfaceDataProxy
57 public OGLSurfaceDataProxy(OGLGraphicsConfig oglgc, int transparency) { argument
59 this.transparency = transparency;
68 cachedData = oglgc.createManagedSurface(w, h, transparency);
80 (bgColor == null || transparency == Transparency.OPAQUE);
H A DOGLGraphicsConfig.java43 SurfaceData createManagedSurface(int w, int h, int transparency); argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRSurfaceDataProxy.java52 int transparency; field in class:XRSurfaceDataProxy
68 public XRSurfaceDataProxy(XRGraphicsConfig x11gc, int transparency) { argument
70 this.transparency = transparency;
77 return (bgColor == null || transparency == Transparency.TRANSLUCENT);
81 return transparency;
H A DXRUtils.java137 * Java2D transparency requirement.
139 public static int getPictureFormatForTransparency(int transparency) { argument
140 switch (transparency) {
153 public static SurfaceType getXRSurfaceTypeForTransparency(int transparency) { argument
154 if (transparency == Transparency.OPAQUE) {
H A DXRSurfaceData.java227 int transparency) {
228 int depth = transparency > Transparency.OPAQUE ? 32 : 24;
238 (gc, width, height, image, getSurfaceType(gc, transparency),
239 cm, drawable, transparency,
240 XRUtils.getPictureFormatForTransparency(transparency), depth);
244 SurfaceType sType, ColorModel cm, int depth, int transparency)
358 * transparency requirement.
361 int transparency) {
364 switch (transparency) {
582 int transparency; field in class:XRSurfaceData.XRPixmapSurfaceData
223 createData(XRGraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency) argument
243 XRSurfaceData(X11ComponentPeer peer, XRGraphicsConfig gc, SurfaceType sType, ColorModel cm, int depth, int transparency) argument
360 getSurfaceType(XRGraphicsConfig gc, int transparency) argument
584 XRPixmapSurfaceData(XRGraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency, int pictFormat, int depth) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DGraphicsConfiguration.java157 * 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 DMultipleGradientPaint.java82 /** 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;
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/
H A DAccelTypedVolatileImage.java46 * @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
H A DAccelGraphicsConfig.java39 * 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
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DSunVolatileImage.java68 int transparency, ImageCapabilities caps,
76 if (!(transparency == Transparency.OPAQUE ||
77 transparency == Transparency.BITMASK ||
78 transparency == Transparency.TRANSLUCENT))
80 throw new IllegalArgumentException("Unknown transparency type:" +
81 transparency);
83 this.transparency = transparency;
114 int width, int height, int transparency,
117 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
113 SunVolatileImage(GraphicsConfiguration graphicsConfig, int width, int height, int transparency, ImageCapabilities caps) argument
[all...]
H A DBufferedImageGraphicsConfig.java115 * supports the specified transparency.
117 public ColorModel getColorModel(int transparency) { argument
119 if (model.getTransparency() == transparency) {
122 switch (transparency) {
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DVolatileImage.java320 * 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</code>.
340 return transparency;
H A DIndexColorModel.java57 * <a name="transparency">
58 * The transparency of an <code>IndexColorModel</code> object is
62 * The transparency value is <code>Transparency.OPAQUE</code>
78 * a transparency value of <code>Transparency.OPAQUE</code>,
83 * For any other transparency value,
151 * to this constructor, the transparency value is always
188 * The transparency value may be <code>Transparency.OPAQUE</code> or
190 * specified in the <a href="#transparency">class description</a> above.
226 * The transparency value may be any of <code>Transparency.OPAQUE</code>,
230 * in the <a href="#transparency">clas
734 setTransparency(int transparency) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterGraphicsConfig.java95 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...]
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/
H A DDestinations.java149 int transparency; field in class:Destinations.CompatImg
183 public CompatImg(int transparency) { argument
185 ShortNames[transparency],
186 ShortDescriptions[transparency],
188 this.transparency = transparency;
192 return ModifierNames[transparency];
200 if (transparency == 0) {
203 env.setTestImage(gc.createCompatibleImage(w, h, transparency));
/openjdk7/jdk/src/share/classes/sun/print/
H A DPrinterGraphicsConfig.java76 * supports the specified transparency.
78 public ColorModel getColorModel(int transparency) { argument
79 switch (transparency) {
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLVolatileSurfaceManager.java60 int transparency = vImg.getTransparency();
63 (transparency == Transparency.OPAQUE) ||
64 ((transparency == Transparency.TRANSLUCENT) &&
/openjdk7/jdk/src/windows/classes/sun/java2d/opengl/
H A DWGLVolatileSurfaceManager.java59 int transparency = vImg.getTransparency();
62 (transparency == Transparency.OPAQUE) ||
63 ((transparency == Transparency.TRANSLUCENT) &&
H A DWGLGraphicsConfig.java103 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument
105 getColorModel(transparency),
245 public ColorModel getColorModel(int transparency) { argument
246 switch (transparency) {
425 int transparency, int type)
428 transparency == Transparency.BITMASK)
438 boolean isOpaque = transparency == Transparency.OPAQUE;
445 transparency, type);
424 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/opengl/
H A DGLXVolatileSurfaceManager.java59 int transparency = vImg.getTransparency();
62 (transparency == Transparency.OPAQUE) ||
63 ((transparency == Transparency.TRANSLUCENT) &&
H A DGLXGraphicsConfig.java96 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument
98 getColorModel(transparency),
198 public ColorModel getColorModel(int transparency) { argument
199 switch (transparency) {
400 int transparency, int type)
403 transparency == Transparency.BITMASK)
413 boolean isOpaque = transparency == Transparency.OPAQUE;
420 transparency, type);
399 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11SurfaceDataProxy.java61 int transparency = cm.getTransparency();
63 if (transparency == Transparency.OPAQUE) {
65 } else if (transparency == Transparency.BITMASK) {
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/
H A DImageTests.java257 int transparency)
263 (transparency != Transparency.OPAQUE));
265 (transparency == Transparency.TRANSLUCENT));
304 int transparency; field in class:ImageTests.CompatImg
306 public CompatImg(int transparency) { argument
308 Destinations.CompatImg.ShortNames[transparency],
309 Destinations.CompatImg.LongDescriptions[transparency],
310 transparency);
311 this.transparency = transparency;
256 TriStateImageType(Group parent, String nodename, String desc, int transparency) argument
438 int transparency; field in class:ImageTests.DrawableImage
441 DrawableImage(TriStateImageType parent, int transparency, boolean possible) argument
[all...]

Completed in 62 milliseconds

123