Searched refs:transparency (Results 26 - 50 of 51) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/awt/image/
H A DColorModel.java164 int transparency = Transparency.TRANSLUCENT; field in class:ColorModel
254 * premultiplied with the alpha value. The transparency type is
294 * multiplied by the alpha sample. The <code>transparency</code>
312 * @param transparency what alpha values can be represented by this
319 * transparency is not a valid value.
328 int transparency,
344 if (transparency < Transparency.OPAQUE ||
345 transparency > Transparency.TRANSLUCENT)
347 throw new IllegalArgumentException("Unknown transparency: "+
348 transparency);
325 ColorModel(int pixel_bits, int[] bits, ColorSpace cspace, boolean hasAlpha, boolean isAlphaPremultiplied, int transparency, int transferType) argument
[all...]
H A DPackedColorModel.java105 * to have been multiplied by the alpha sample. The transparency,
148 transparency = Transparency.BITMASK;
166 * The transparency, <code>trans</code>, specifies what alpha values
218 transparency = Transparency.BITMASK;
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...]
/openjdk7/jdk/src/windows/classes/sun/java2d/d3d/
H A DD3DVolatileSurfaceManager.java61 int transparency = vImg.getTransparency();
65 (transparency == Transparency.OPAQUE) ||
66 (transparency == Transparency.TRANSLUCENT &&
/openjdk7/jdk/src/solaris/classes/sun/java2d/x11/
H A DX11SurfaceData.java428 int transparency)
431 getSurfaceType(gc, transparency, true),
432 cm, drawable, transparency);
514 int transparency)
516 return getSurfaceType(gc, transparency, false);
520 int transparency,
523 boolean transparent = (transparency == Transparency.BITMASK);
756 int transparency; field in class:X11SurfaceData.X11PixmapSurfaceData
762 long drawable, int transparency)
768 this.transparency
424 createData(X11GraphicsConfig gc, int width, int height, ColorModel cm, Image image, long drawable, int transparency) argument
513 getSurfaceType(X11GraphicsConfig gc, int transparency) argument
519 getSurfaceType(X11GraphicsConfig gc, int transparency, boolean pixmapSurface) argument
758 X11PixmapSurfaceData(X11GraphicsConfig gc, int width, int height, Image image, SurfaceType sType, ColorModel cm, long drawable, int transparency) argument
[all...]
/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
/openjdk7/jdk/test/java/awt/GraphicsDevice/
H A DCloneConfigsTest.java97 public ColorModel getColorModel(int transparency) { argument
/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 &&
H A DImageUtil.java118 * <code>SampleModel</code>s, the output will use alpha transparency
185 int transparency = hasAlpha ?
192 transparency,
882 int transparency = useAlpha ?
897 transparency,
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPlatformEmbeddedFrame.java120 int transparency = peer.isTranslucent() ? Transparency.TRANSLUCENT : Transparency.OPAQUE;
121 im = peer.getGraphicsConfiguration().createCompatibleImage(r.width, r.height, transparency);
H A DCPlatformView.java126 int transparency = (isOpaque() ? Transparency.OPAQUE : Transparency.TRANSLUCENT);
127 im = getGraphicsConfiguration().createCompatibleImage(r.width, r.height, transparency);
/openjdk7/jdk/src/macosx/classes/sun/awt/
H A DCGraphicsConfig.java66 public ColorModel getColorModel(int transparency) { argument
/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/share/native/sun/awt/image/
H A Dawt_parseImage.h147 int transparency; member in struct:__anon675
/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/share/native/sun/awt/image/cvutils/
H A DREADME92 <img_alpha.h> Produce 1-bit transparency masks from alpha
115 Specifies the base type for transparency mask manipulation.
120 Create a transparency mask buffer and return a handle to it.
126 transparency values where there is no data yet.
156 set to 0 represent transparency, then this operation is typically
260 an 8-bit output image with an associated transparency mask (if needed)
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageTypeSpecifier.java245 int transparency =
259 transparency,
613 int transparency =
627 transparency,
/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/solaris/classes/sun/awt/
H A DX11GraphicsConfig.java221 * supports the specified transparency.
223 public ColorModel getColorModel(int transparency) { argument
224 switch (transparency) {
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DGTKEngine.java592 int transparency =
597 int[] bands = BAND_OFFSETS[transparency - 1];
601 ColorModel cm = COLOR_MODELS[transparency - 1];
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWComponentPeer.java540 public ColorModel getColorModel(int transparency) { argument
541 // return WToolkit.config.getColorModel(transparency);
544 return gc.getColorModel(transparency);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DImageSurfaceData.m117 static JNF_MEMBER_CACHE(jm_transparency, jc_IndexColorModel, "transparency", "I");
1869 jint transparency = JNFGetIntField(env, icm, jm_transparency);
1871 if (transparency == java_awt_Transparency_BITMASK)
1884 if (transparency == java_awt_Transparency_BITMASK)
1907 else //if ((transparency == java_awt_Transparency_OPAQUE) || (transparency == java_awt_Transparency_TRANSLUCENT))
1912 if ((transparency == java_awt_Transparency_OPAQUE))
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A DCHANGES206 Fixed 256-color transparency bug (Greg Roelofs)
2605 change in version 1.2.41beta08 caused transparency to be handled wrong
3415 expanding an indexed image, always expand to RGBA if transparency is
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXWindow.java338 public ColorModel getColorModel(int transparency) { argument
339 return graphicsConfig.getColorModel (transparency);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGMetadata.java84 * presence or absence of an alpha channel to the transparency
1555 // This must take any transparency node into account as well, as
1557 // a transparency node is dealt with here, set a flag to indicate
1558 // this to the transparency processor below. If we discover that
1885 private boolean wantAlpha(Node transparency) { argument
1887 Node alpha = transparency.getFirstChild(); // Alpha must be first if present
2066 // transparency, so process it here only if there was no Chroma node

Completed in 91 milliseconds

123