/openjdk7/jdk/src/share/native/sun/awt/splashscreen/ |
H A D | splashscreen_gfx_impl.h | 89 src and dst alpha is ignored 90 the algorithm: src*alpha+dst*(1-alpha)=(src-dst)*alpha+dst, rb and g are done separately 93 blendRGB(rgbquad_t dst, rgbquad_t src, rgbquad_t alpha) argument 95 const rgbquad_t a = alpha; 96 const rgbquad_t a1 = 0xFF - alpha; 105 /* scales rgb quad by alpha. basically similar to what's above. src alpha is retained. 106 used for premultiplying alpha 115 rgbquad_t alpha = src >> QUAD_ALPHA_SHIFT; local [all...] |
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/tests/ |
H A D | GraphicsTests.java | 71 static Color makeAlphaColor(Color opaque, int alpha) { argument 76 alpha); 207 "Render with an \"extra alpha\" of 0.125",
|
H A D | RenderTests.java | 158 "Set the alpha of the paint to 0.125", 341 private Color[] makeGradientColors(int numColors, boolean alpha) { argument 346 ret[i] = alpha ? makeAlphaColor(colors[i], 32) : colors[i]; 351 private LinearGradientPaint makeLinear(int numColors, boolean alpha) { argument 357 Color[] colors = makeGradientColors(numColors, alpha); 364 private RadialGradientPaint makeRadial(int numColors, boolean alpha) { argument 370 Color[] colors = makeGradientColors(numColors, alpha); 376 private TexturePaint makeTexturePaint(int size, boolean alpha) { argument 379 alpha ? BufferedImage.TYPE_INT_ARGB : BufferedImage.TYPE_INT_RGB; 381 Color[] colors = makeGradientColors(4, alpha); [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/pipe/ |
H A D | SpanClipRenderer.c | 67 fill(jbyte *alpha, jint offset, jint tsize, argument 70 alpha += offset + y * tsize + x; 74 *alpha++ = value; 76 alpha += tsize; 126 jbyte *alpha; local 143 JNU_ThrowArrayIndexOutOfBoundsException(env, "alpha tile array"); 146 alpha = (*env)->GetPrimitiveArrayCritical(env, alphaTile, 0); 148 fill(alpha, offset, tsize, 0, 0, w, h, (jbyte) 0xff); 150 (*env)->ReleasePrimitiveArrayCritical(env, alphaTile, alpha, 0); 166 jbyte *alpha; local [all...] |
/openjdk7/jdk/src/solaris/classes/sun/awt/ |
H A D | UNIXToolkit.java | 226 int rowStride, int bps, int channels, boolean alpha) { 236 (alpha ? BAND_OFFSETS_ALPHA : BAND_OFFSETS), null); 238 ColorSpace.getInstance(ColorSpace.CS_sRGB), alpha, false, 225 loadIconCallback(byte[] data, int width, int height, int rowStride, int bps, int channels, boolean alpha) argument
|
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/ |
H A D | CWrapper.java | 65 public static native void setAlphaValue(long window, float alpha); argument
|
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/ |
H A D | mlib_ImageZoom.h | 80 mlib_s32 alpha; member in struct:mlib_work_image
|
/openjdk7/jdk/src/share/native/sun/java2d/opengl/ |
H A D | OGLBufImgOps.c | 48 * the extra alpha value. 98 // modulate with gl_Color in order to apply extra alpha 284 * which contains the extra alpha value. 319 // modulate with gl_Color in order to apply extra alpha 467 * the current OpenGL color, which contains the extra alpha value. 469 * The lookup step requires 3 texture accesses (or 4, when alpha is included), 530 // (placeholder for alpha store code) 534 // modulate with gl_Color in order to apply extra alpha 570 char *alpha; local 580 // when numComps is 1 or 3, the alpha i [all...] |
/openjdk7/jdk/src/share/classes/java/awt/ |
H A D | Color.java | 37 * {@link ColorSpace}. Every color has an implicit alpha value of 1.0 or 38 * an explicit one provided in the constructor. The alpha value 41 * An alpha value of 1.0 or 255 means that the color is completely 42 * opaque and an alpha value of 0 or 0.0 means that the color is 44 * When constructing a <code>Color</code> with an explicit alpha or 45 * getting the color/alpha components of a <code>Color</code>, the color 46 * components are never premultiplied by the alpha component. 214 * <code>float</code> components (no alpha). 226 * <code>float</code> components (no alpha). 237 * The alpha valu 517 Color(ColorSpace cspace, float components[], float alpha) argument [all...] |
/openjdk7/jdk/src/windows/native/sun/java2d/d3d/ |
H A D | D3DShaderGen.c | 194 // modulate with current color in order to apply extra alpha 258 // modulate with current color in order to apply extra alpha 317 // (placeholder for alpha store code) 321 // modulate with current color in order to apply extra alpha 336 char *alpha; local 346 // when numComps is 1 or 3, the alpha is not looked up in the table; 347 // just keep the alpha from the source fragment 348 alpha = "result.a = srcColor.a;"; 350 // when numComps is 4, the alpha is looked up in the table, just 352 alpha [all...] |
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/ |
H A D | cmssm.c | 65 // alpha = Hab 68 #define SECTORS 16 // number of divisions in alpha and theta 74 cmsFloat64Number alpha; member in struct:__anon839 90 cmsSpherical p; // Keep also alpha & theta of maximum 160 sp ->alpha = sp ->theta = 0; 164 sp ->alpha = _cmsAtan2(a, b); 179 sin_alpha = sin((M_PI * sp ->alpha) / 180.0); 180 cos_alpha = cos((M_PI * sp ->alpha) / 180.0); 197 void QuantizeToSector(const cmsSpherical* sp, int* alpha, int* theta) argument 199 *alpha 354 int alpha, theta; local 468 FindNearSectors(cmsGDB* gbd, int alpha, int theta, cmsGDBPoint* Close[]) argument 502 InterpolateMissingSector(cmsGDB* gbd, int alpha, int theta) argument 580 int alpha, theta; local [all...] |
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/ |
H A D | concurrentMarkSweepGeneration.cpp | 354 CMSStats::CMSStats(ConcurrentMarkSweepGeneration* cms_gen, unsigned int alpha): argument 357 assert(alpha <= 100, "bad value"); 358 _saved_alpha = alpha;
|
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/ |
H A D | XRBackendNative.java | 91 short blue, short alpha, 97 short blue, short alpha, 147 (short)color.blue, (short)color.alpha, 157 renderColors[i * 4 + 0] = (short) c.alpha; 234 (short) color.blue, (short) color.alpha, 89 renderRectangle(int dst, byte op, short red, short green, short blue, short alpha, int x, int y, int width, int height) argument 95 XRenderRectanglesNative(int dst, byte op, short red, short green, short blue, short alpha, int[] rects, int rectCnt) argument
|
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/ |
H A D | XRBackendNative.c | 377 jshort red, jshort green, jshort blue, jshort alpha, 380 color.alpha = alpha; 391 jshort red, jshort green, jshort blue, jshort alpha, 399 color.alpha = alpha; 485 colors[i].alpha = pixels[i*4 + 0]; 555 colors[i].alpha = pixels[i*4 + 0]; 375 Java_sun_java2d_xr_XRBackendNative_renderRectangle(JNIEnv *env, jobject this, jint dst, jbyte op, jshort red, jshort green, jshort blue, jshort alpha, jint x, jint y, jint width, jint height) argument 389 Java_sun_java2d_xr_XRBackendNative_XRenderRectanglesNative(JNIEnv *env, jclass xsd, jint dst, jbyte op, jshort red, jshort green, jshort blue, jshort alpha, jintArray rectArray, jint rectCnt) argument
|
/openjdk7/jdk/src/windows/classes/sun/awt/windows/ |
H A D | WComponentPeer.java | 242 int alpha); 240 createPrintedPixels(int srcX, int srcY, int srcW, int srcH, int alpha) argument
|
/openjdk7/jdk/src/share/native/sun/awt/libpng/ |
H A D | png.h | 533 * Use the alternative algorithm for compositing alpha samples that 588 png_byte alpha; /* for alpha channel files */ member in struct:png_color_8_struct 603 png_uint_16 alpha; member in struct:png_sPLT_entry_struct 610 /* When the depth of the sPLT palette is 8 bits, the color and alpha samples 1122 /* Expand data to 24-bit RGB, or 8-bit grayscale, with alpha if available. */ 1163 /* How the alpha channel is interpreted - this affects how the color channels of 1164 * a PNG file are returned when an alpha channel, or tRNS chunk in a palette 1169 * with the alpha samples. 1171 * The default is to return data according to the PNG specification: the alpha [all...] |
/openjdk7/jdk/src/solaris/native/sun/awt/ |
H A D | gtk2_interface.c | 872 * only, which don't support alpha. When we retrieve the image back from 888 * 2.8), and Cairo supports alpha. With it we could also get rid of the 890 * 4) For now we draw to two different pixmaps and restore alpha channel by 947 * pixmaps and decodes color and alpha components. Pixbufs are RGB without 948 * alpha, destination buffer is ABGR. 976 int alpha = 0xff + r2 - r1; local 978 switch (alpha) { 995 r = 0xff * r2 / alpha; 996 g = 0xff * *black++ / alpha; 997 b = 0xff * *black++ / alpha; [all...] |
/openjdk7/jdk/src/windows/native/sun/windows/ |
H A D | awt_Component.cpp | 131 jint alpha; member in struct:CreatePrintedPixelsStruct 1940 retValue = (LRESULT)CreatePrintedPixels(loc, size, cpps->alpha); 4587 void AwtComponent::FillAlpha(void *bitmapBits, SIZE &size, BYTE alpha) argument 4597 ((BYTE*)(dest++))[3] = alpha; 4602 jintArray AwtComponent::CreatePrintedPixels(SIZE &loc, SIZE &size, int alpha) { argument 4630 // WM_PRINT does not fill the alpha-channel of the ARGB bitmap 4633 FillAlpha(bitmapBits, size, alpha); 6815 jobject self, jint srcX, jint srcY, jint srcW, jint srcH, jint alpha) 6827 cpps->alpha = alpha; 6814 Java_sun_awt_windows_WComponentPeer_createPrintedPixels(JNIEnv* env, jobject self, jint srcX, jint srcY, jint srcW, jint srcH, jint alpha) argument [all...] |