Searched defs:rgb (Results 51 - 55 of 55) sorted by relevance

123

/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java655 public int filterRGB(int x, int y, int rgb) { argument
656 // Assume all rgb values are shades of gray
657 double grayLevel = 2 * (rgb & 0xff) / 255.0;
671 return ((rgb & 0xff000000) +
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWComponentPeer.java651 public native void _setForeground(int rgb); argument
652 public native void _setBackground(int rgb); argument
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dawt_ImagingLib.c2845 int *rgb; local
2854 rgb = (int *) (*env)->GetPrimitiveArrayCritical(env, cmP->jrgb, NULL);
2859 if (rgb == NULL || dataP == NULL) {
2861 if (rgb) {
2862 (*env)->ReleasePrimitiveArrayCritical(env, cmP->jrgb, rgb,
2880 *mP++ = rgb[*cP];
2894 *mP++ = rgb[*sP];
2906 rgb, JNI_ABORT);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_MToolkit.c2310 int32_t rgb = 0; local
2312 rgb |= ((color->red >> 8) << 16);
2313 rgb |= ((color->green >> 8) << 8);
2314 rgb |= ((color->blue >> 8) << 0);
2316 return rgb;
3069 * Fill systemColor array with new rgb values
3075 uint32_t rgb = colorToRGB(&colorsPtr[j++]); local
3078 printf("SystemColor[%d] = %x\n", i, rgb);
3080 rgbColors[i] = (rgb | 0xFF000000);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Component.cpp119 jint rgb; member in struct:SetColorStruct
5755 jint rgb = scs->rgb; local
5764 c->SetColor(PALETTERGB((rgb>>16)&0xff,
5765 (rgb>>8)&0xff,
5766 (rgb)&0xff));
5781 jint rgb = scs->rgb; local
5790 c->SetBackgroundColor(PALETTERGB((rgb>>16)&0xff,
5791 (rgb>>
6589 Java_sun_awt_windows_WComponentPeer__1setForeground(JNIEnv *env, jobject self, jint rgb) argument
6612 Java_sun_awt_windows_WComponentPeer__1setBackground(JNIEnv *env, jobject self, jint rgb) argument
[all...]

Completed in 76 milliseconds

123