Searched refs:color (Results 1 - 25 of 269) sorted by relevance

1234567891011

/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/scripts/
H A Dtextcolor.js43 * When selected, this menu changes the "selected text" color.
48 var color = application.editor.selectedTextColor;
49 color = colorDialog("Selected Text Color", color);
50 application.editor.selectedTextColor = color;
/openjdk7/jdk/src/solaris/native/sun/java2d/loops/
H A Dmlib_v_ImageClear.c29 * mlib_ImageClear - Clear an image to a specific color.
33 * const mlib_s32 *color);
37 * color Pointer to the color that the image is set to.
44 * Clear an image to a specific color.
72 const mlib_s32 *color)
82 mlib_v_ImageClear_BIT_1(img, color);
86 mlib_v_ImageClear_BIT_2(img, color);
90 mlib_v_ImageClear_BIT_3(img, color);
94 mlib_v_ImageClear_BIT_4(img, color);
71 __mlib_ImageClear(mlib_image *img, const mlib_s32 *color) argument
[all...]
H A Dmlib_v_ImageClear_f.h38 const mlib_s32 *color);
41 const mlib_s32 *color);
44 const mlib_s32 *color);
47 const mlib_s32 *color);
50 const mlib_s32 *color);
53 const mlib_s32 *color);
56 const mlib_s32 *color);
59 const mlib_s32 *color);
62 const mlib_s32 *color);
65 const mlib_s32 *color);
[all...]
/openjdk7/jdk/src/macosx/native/com/apple/laf/
H A DAquaNativeResources.m41 NSColor* color = nil;
43 color = [NSColor lightGrayColor];//[AWTColor getMagicBackgroundColor];
44 if (color) CFRetain(color); // GC
46 return ptr_to_jlong(color);
/openjdk7/jdk/test/javax/swing/JColorChooser/
H A DTest4193384.java27 * @summary Tests the color conversions and the preview panel foreground color
52 Color color = colors[i];
55 Color.RGBtoHSB(color.getRed(), color.getGreen(), color.getBlue(), hsb);
56 if (!color.equals(Color.getHSBColor(hsb[0], hsb[1], hsb[2]))) {
57 throw new Error("color conversion is failed");
60 if (!color.equals(new JColorChooser(color)
[all...]
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_Brush.cpp30 AwtBrush::AwtBrush(COLORREF color) { argument
36 SetColor(color);
37 HBRUSH brush = ::CreateSolidBrush(color);
45 brush = ::CreateSolidBrush(color);
56 AwtBrush* AwtBrush::Get(COLORREF color) { argument
61 reinterpret_cast<void*>(static_cast<INT_PTR>(color))));
63 obj = new AwtBrush(color);
65 static_cast<INT_PTR>(color)), obj) == NULL);
H A Dawt_Pen.cpp30 AwtPen::AwtPen(COLORREF color) { argument
36 SetColor(color);
37 HPEN pen = ::CreatePen(PS_SOLID, 1, color);
45 pen = ::CreatePen(PS_SOLID, 1, color);
56 AwtPen* AwtPen::Get(COLORREF color) { argument
61 reinterpret_cast<void*>(static_cast<INT_PTR>(color))));
63 obj = new AwtPen(color);
65 reinterpret_cast<void*>(static_cast<INT_PTR>(color)),
H A Dawt_Brush.h41 static AwtBrush* Get(COLORREF color);
55 AwtBrush(COLORREF color);
H A Dawt_Pen.h41 static AwtPen* Get(COLORREF color);
55 AwtPen(COLORREF color);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DGraphics2Delegate.java32 void setBackground(Color color); argument
/openjdk7/jdk/src/share/classes/sun/java2d/cmm/
H A DProfileActivator.java28 import java.awt.color.ProfileDataException;
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDebugGraphicsFilter.java36 Color color; field in class:DebugGraphicsFilter
40 color = c;
44 return color.getRGB() | (rgb & 0xFF000000);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DRBNode.java28 accessors for the left and right children as well as the color of
36 private RBColor color; field in class:RBNode
41 color = RBColor.RED;
69 public RBColor getColor() { return color; }
70 public void setColor(RBColor color) { this.color = color; } argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DColorPaintContext.java37 int color; field in class:ColorPaintContext
40 protected ColorPaintContext(int color, ColorModel cm) { argument
41 this.color = color;
48 * Returns the RGB value representing the color in the default sRGB
52 * @return the RGB value of the color in the default sRGB
60 return color;
73 Arrays.fill(icr.getDataStorage(), color);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/nimbus/
H A DInnerGlowEffect.java37 color = new Color(255, 255, 211);
H A DOuterGlowEffect.java37 color = new Color(255, 255, 211);
H A DShadowEffect.java35 protected Color color = Color.BLACK; field in class:ShadowEffect
51 return color;
54 void setColor(Color color) { argument
56 this.color = color;
/openjdk7/jdk/src/share/classes/java/awt/color/
H A DCMMException.java41 package java.awt.color;
H A DProfileDataException.java26 package java.awt.color;
/openjdk7/jdk/test/java/awt/Color/OpacityChange/
H A DOpacityChange.java27 @summary java.awt.Color.brighter()/darker() methods make color opaque
28 @author Andrei Dmitriev: area=awt-color
38 Color color = new Color(20, 20, 20, INITIAL_ALPHA);
39 System.out.println("Initial alpha: " + color.getAlpha());
40 Color colorBrighter = color.brighter();
43 Color colorDarker = color.darker();
48 throw new RuntimeException("Brighter color alpha has changed from : " +INITIAL_ALPHA + " to " + colorBrighter.getAlpha());
51 throw new RuntimeException("Darker color alpha has changed from : " +INITIAL_ALPHA + " to " + colorDarker.getAlpha());
/openjdk7/jdk/src/share/demo/jfc/SampleTree/
H A DSampleData.java54 protected Color color; field in class:SampleData
64 color = newColor;
83 * Sets the color used to draw the text.
86 color = newColor;
90 * Returns the color used to draw the text.
93 return color;
/openjdk7/jdk/src/share/classes/sun/swing/icon/
H A DSortArrowIcon.java50 private Color color; field in class:SortArrowIcon
52 // If non-null indicates the color should come from the UIManager with
61 * @param color the color to render the icon
63 public SortArrowIcon(boolean ascending, Color color) { argument
65 this.color = color;
66 if (color == null) {
76 * @param colorKey the key used to find color in UIManager
116 if (color !
[all...]
/openjdk7/jdk/src/solaris/classes/sun/java2d/xr/
H A DXRColor.java31 * XRender color class.
56 public XRColor(Color color) { argument
59 public void setColorValues(Color color) { argument
60 alpha = byteToXRColorValue(color.getAlpha());
63 (int)(color.getRed() * color.getAlpha() / 255.0));
65 (int)(color.getGreen() * color.getAlpha() / 255.0));
67 (int)(color.getBlue() * color
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Util/src/com/sun/hotspot/igv/util/
H A DColorIcon.java37 private Color color; field in class:ColorIcon
40 color = c;
44 g.setColor(color);
/openjdk7/jdk/test/sun/java2d/pipe/MutableColorTest/
H A DMutableColorTest.java140 int color = testImage(vi, false, false);
141 testResult("vi_noclip_notx", vi.getSnapshot(), color);
143 color = testImage(vi, true, true);
144 testResult("vi_clip_tx", vi.getSnapshot(), color);
146 color = testImage(vi, true, false);
147 testResult("vi_clip_notx", vi.getSnapshot(), color);
149 color = testImage(vi, false, true);
150 testResult("vi_noclip_tx", vi.getSnapshot(), color);
155 int color = testImage(bi, false, false);
156 testResult("bi_noclip_notx", bi, color);
[all...]

Completed in 516 milliseconds

1234567891011