Searched defs:gray (Results 1 - 13 of 13) sorted by relevance

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Filter/src/com/sun/hotspot/igv/filter/
H A Dhelper.js63 var gray = Color.gray; variable
/openjdk7/jdk/test/java/awt/Graphics/
H A DTextAAHintsTest.java37 String gray = "This text should be gray scale anti-aliased"; field in class:TextAAHintsTest
72 g2d.drawString(gray, 10, 50);
76 g2d.drawString(gray, 10, 65);
81 g2d.drawString(gray, 10, 80);
/openjdk7/jdk/src/share/native/sun/awt/image/cvutils/
H A Dimg_fsgray.h32 * (or less) gray ramp. The error diffusion technique requires that the
62 int gray; member in struct:__anon680
90 egray = gep[0].gray; \
101 /* convert to gray value */ \
105 e2 += gep[1].gray; \
116 gep[1].gray = egray; \
122 DitherDist(gep, e1, e2, e3, egray, gray); \
130 gep[0].gray = egray; \
H A Dimg_colors.c255 int gray = -1; local
286 if (gray < 0 || cmap_r[gray] < cmap_r[r]) {
287 gray = r;
291 if (gray < 0) {
295 gray = 0;
355 pCmap->bestidx = gray;
357 t = Ltab[gray] - pCmap->L;
364 t = Utab[gray] - pCmap->U;
366 t = Vtab[gray]
[all...]
/openjdk7/jdk/src/share/native/sun/java2d/loops/
H A DIndex12Gray.c133 jint r, g, b, gray; local
135 gray = ComposeByteGrayFrom3ByteRgb(r, g, b);
136 return pRasInfo->invGrayTable[gray];
H A DIndex8Gray.c130 jint r, g, b, gray; local
132 gray = ComposeByteGrayFrom3ByteRgb(r, g, b);
133 return pRasInfo->invGrayTable[gray];
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DJPEGImageDecoder.java85 boolean gray, boolean hasalpha,
91 if (gray) {
84 sendHeaderInfo(int width, int height, boolean gray, boolean hasalpha, boolean multipass) argument
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/
H A DSheetDialog.java210 public void setGrayLevel(int gray) { argument
211 gray = gray * 255 / 100;
212 setBackground(new Color(0, 0, 0, gray));
/openjdk7/jdk/src/share/classes/java/awt/
H A DColor.java74 * The color light gray. In the default sRGB space.
79 * The color light gray. In the default sRGB space.
85 * The color gray. In the default sRGB space.
87 public final static Color gray = new Color(128, 128, 128); field in class:Color
90 * The color gray. In the default sRGB space.
93 public final static Color GRAY = gray;
96 * The color dark gray. In the default sRGB space.
101 * The color dark gray. In the default sRGB space.
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaUtils.java94 int getGreyFor(final int gray) {
95 return gray * 75 / 100;
103 int getGreyFor(final int gray) {
104 return 255 - ((255 - gray) * 65 / 100);
126 final int gray = getGreyFor((int)((0.30 * red + 0.59 * green + 0.11 * blue) / 3));
128 return (rgb & 0xff000000) | (grayTransform(red, gray) << 16) | (grayTransform(green, gray) << 8) | (grayTransform(blue, gray) << 0);
131 private static int grayTransform(final int color, final int gray) { argument
132 int result = color - gray;
138 getGreyFor(final int gray) argument
[all...]
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.c196 Pixel gray; local
207 gray = adata->AwtColorMatch(192, 192, 192, adata);
211 XtSetArg(args[argc], XmNbackground, gray); argc++;
223 XmNbackground, gray,
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngrtran.c1043 png_fixed(png_ptr, red, "rgb to gray red coefficient"),
1044 png_fixed(png_ptr, green, "rgb to gray green coefficient"));
1227 png_ptr->background.gray *= (png_uint_16)0xff;
1229 = png_ptr->background.blue = png_ptr->background.gray;
1232 png_ptr->trans_color.gray *= (png_uint_16)0xff;
1234 = png_ptr->trans_color.blue = png_ptr->trans_color.gray;
1239 png_ptr->background.gray *= (png_uint_16)0x55;
1241 = png_ptr->background.blue = png_ptr->background.gray;
1244 png_ptr->trans_color.gray *= (png_uint_16)0x55;
1246 = png_ptr->trans_color.blue = png_ptr->trans_color.gray;
4580 png_uint_16 gray = (png_uint_16)(trans_color ? trans_color->gray : 0); local
[all...]
H A Dpng.h576 png_uint_16 gray; /* for use in grayscale files */ member in struct:png_color_16_struct
587 png_byte gray; /* for use in grayscale files */ member in struct:png_color_8_struct

Completed in 405 milliseconds