Searched defs:transparency (Results 1 - 25 of 36) sorted by relevance

12

/openjdk7/jdk/test/java/awt/GraphicsDevice/
H A DCloneConfigsTest.java97 public ColorModel getColorModel(int transparency) { argument
/openjdk7/jdk/src/share/classes/sun/java2d/opengl/
H A DOGLGraphicsConfig.java43 SurfaceData createManagedSurface(int w, int h, int transparency); argument
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);
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/hw/
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
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
/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 DComponentColorModel.java225 * multiplied by the alpha sample. The <CODE>transparency</CODE>
227 * The acceptable <code>transparency</code> values are
245 * @param transparency Specifies what alpha values can be represented
271 int transparency,
275 colorSpace, hasAlpha, isAlphaPremultiplied, transparency,
318 * multiplied by the alpha sample. The <CODE>transparency</CODE>
320 * The acceptable <code>transparency</code> values are
329 * @param transparency Specifies what alpha values can be represented
349 int transparency,
352 transparency, transferTyp
267 ComponentColorModel(ColorSpace colorSpace, int[] bits, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
346 ComponentColorModel(ColorSpace colorSpace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
[all...]
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/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/test/sun/java2d/pipe/hw/RSLAPITest/
H A DRSLAPITest.java191 int transparency, int type)
197 agc.createCompatibleVolatileImage(w, h, transparency, type);
190 testVICreation(AccelGraphicsConfig agc, int cap, int transparency, int type) argument
/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/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) {
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DBufferedImageGraphicsConfig.java115 * supports the specified transparency.
117 public ColorModel getColorModel(int transparency) { argument
119 if (model.getTransparency() == transparency) {
122 switch (transparency) {
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...]
/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/macosx/classes/sun/awt/
H A DCGraphicsConfig.java66 public ColorModel getColorModel(int transparency) { argument
/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/com/sun/imageio/plugins/common/
H A DPaletteBuilder.java67 protected int transparency; field in class:PaletteBuilder
190 this.transparency =
198 return new Color(argb, transparency != Transparency.OPAQUE);
202 if (transparency != Transparency.OPAQUE &&
241 * If transparency of given image is not opaque we assume all
244 if (transparency != Transparency.OPAQUE &&
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dswing_GTKEngine.c309 jint transparency; local
312 transparency = gtk2_copy_image(buffer, width, height);
315 return transparency;
/openjdk7/jdk/src/windows/classes/sun/awt/
H A DWin32GraphicsConfig.java160 * supports the specified transparency.
162 public ColorModel getColorModel(int transparency) { argument
163 switch (transparency) {
/openjdk7/jdk/src/macosx/classes/sun/java2d/opengl/
H A DCGLGraphicsConfig.java124 public SurfaceData createManagedSurface(int w, int h, int transparency) { argument
126 getColorModel(transparency),
206 public ColorModel getColorModel(int transparency) { argument
207 switch (transparency) {
445 int transparency, int type)
448 transparency == Transparency.BITMASK)
458 boolean isOpaque = transparency == Transparency.OPAQUE;
465 transparency, type);
444 createCompatibleVolatileImage(int width, int height, int transparency, int type) argument

Completed in 2054 milliseconds

12