/sdk/hierarchyviewer/src/com/android/hierarchyviewer/laf/ |
UnifiedContentBorder.java | 23 private static final Color BORDER_TOP_COLOR1 = new Color(0x575757); 24 private static final Color BORDER_BOTTOM_COLOR1 = new Color(0x404040); 25 private static final Color BORDER_BOTTOM_COLOR2 = new Color(0xd8d8d8);
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PixelXorXfermodeTest.java | 21 import android.graphics.Color; 42 b1.eraseColor(Color.WHITE); 44 b2.eraseColor(Color.CYAN); 47 target.eraseColor(Color.BLACK); 51 p.setXfermode(new PixelXorXfermode(Color.GREEN)); 53 assertEquals(Color.WHITE, target.getPixel(width / 4, height / 4)); 55 assertEquals(Color.YELLOW, target.getPixel(width / 4, height * 3 / 4)); 57 assertEquals(Color.BLUE, target.getPixel(width * 3 / 4, height * 3 / 4)); 60 p.setXfermode(new PixelXorXfermode(alphaColor(Color.GREEN, 25))); 61 target.eraseColor(alphaColor(Color.BLACK, 42)) [all...] |
PorterDuffXfermodeTest.java | 24 import android.graphics.Color; 45 target.eraseColor(Color.TRANSPARENT); 47 b1.eraseColor(Color.RED); 49 b2.eraseColor(Color.BLUE); 56 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); 57 assertEquals(Color.BLUE, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)); 58 assertEquals(Color.BLUE, target.getPixel(WIDTH * 3 / 4, HEIGHT * 3 / 4)); 60 target.eraseColor(Color.TRANSPARENT); 65 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT / 4)); 66 assertEquals(Color.RED, target.getPixel(WIDTH / 4, HEIGHT * 3 / 4)) [all...] |
SweepGradientTest.java | 25 import android.graphics.Color; 52 mBitmap.eraseColor(Color.TRANSPARENT); 62 final int[] colors = new int[] { Color.GREEN, Color.RED }; 76 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE }; 91 final int[] colors = new int[] { Color.GREEN, Color.RED, Color.BLUE, Color.GREEN } 112 int color; local [all...] |
PorterDuffColorFilterTest.java | 20 import android.graphics.Color; 44 b1.eraseColor(Color.RED); 46 b2.eraseColor(Color.BLUE); 49 target.eraseColor(Color.TRANSPARENT); 52 int filterColor = Color.argb(0x80, 0, 0xFF, 0); 58 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)); 60 assertEquals(0x80, Color.red(lowerLeft), TOLERANCE); 61 assertEquals(0x80, Color.green(lowerLeft), TOLERANCE); 65 target.eraseColor(Color.BLACK); 71 assertEquals(Color.RED, target.getPixel(width / 4, height / 4)) [all...] |
RadialGradientTest.java | 24 import android.graphics.Color; 45 final int[] colors = { Color.BLUE, Color.GREEN, Color.RED }; 64 final int[] colors = { Color.BLUE, Color.GREEN }; 82 int color; local 89 // use start color 90 color = colors[0]; 92 // clamp to end color [all...] |
/external/junit/src/junit/swingui/ |
ProgressBar.java | 3 import java.awt.Color; 18 protected Color getStatusColor() { 20 return Color.red; 21 return Color.green;
|
/external/webkit/WebCore/svg/ |
ColorDistance.cpp | 25 #include "Color.h" 37 ColorDistance::ColorDistance(const Color& fromColor, const Color& toColor) 67 Color ColorDistance::addColorsAndClamp(const Color& first, const Color& second) 69 return Color(clampColorValue(first.red() + second.red()), 74 Color ColorDistance::addToColorAndClamp(const Color& color) cons [all...] |
SVGColor.cpp | 47 SVGColor::SVGColor(const Color& c) 70 Color color = SVGColor::colorFromRGBColorString(rgbColor); local 71 if (color.isValid()) 72 m_color = color; 77 Color SVGColor::colorFromRGBColorString(const String& colorString) 83 return Color(); 84 RGBA32 color; 85 if (CSSParser::parseColor(color, s)) 86 return color; 109 const Color& SVGColor::color() const function in class:WebCore::SVGColor [all...] |
/external/webkit/WebCore/rendering/ |
RenderThemeChromiumLinux.cpp | 29 #include "Color.h" 41 Color::black; 69 Color RenderThemeChromiumLinux::systemColor(int cssValueId) const 71 static const Color linuxButtonGrayColor(0xffdddddd); 89 Color RenderThemeChromiumLinux::activeListBoxSelectionBackgroundColor() const 91 return Color(0x28, 0x28, 0x28); 94 Color RenderThemeChromiumLinux::activeListBoxSelectionForegroundColor() const 96 return Color::black; 99 Color RenderThemeChromiumLinux::inactiveListBoxSelectionBackgroundColor() const 101 return Color(0xc8, 0xc8, 0xc8) [all...] |
RenderTheme.h | 68 const BorderData&, const FillLayer&, const Color& backgroundColor); 101 virtual bool isControlStyled(const RenderStyle*, const BorderData&, const FillLayer&, const Color& backgroundColor) const; 125 Color activeSelectionBackgroundColor() const; 126 Color inactiveSelectionBackgroundColor() const; 127 Color activeSelectionForegroundColor() const; 128 Color inactiveSelectionForegroundColor() const; 131 Color activeListBoxSelectionBackgroundColor() const; 132 Color activeListBoxSelectionForegroundColor() const; 133 Color inactiveListBoxSelectionBackgroundColor() const; 134 Color inactiveListBoxSelectionForegroundColor() const [all...] |
RenderThemeChromiumWin.h | 52 // The platform selection color. 53 virtual Color platformActiveSelectionBackgroundColor() const; 54 virtual Color platformInactiveSelectionBackgroundColor() const; 55 virtual Color platformActiveSelectionForegroundColor() const; 56 virtual Color platformInactiveSelectionForegroundColor() const; 57 virtual Color platformActiveTextSearchHighlightColor() const; 58 virtual Color platformInactiveTextSearchHighlightColor() const; 62 virtual Color systemColor(int cssValueId) const;
75 // background-color or border set) and MenuListButton refers to a styled 76 // menulist (a menulist with background-color or border set). They hav [all...] |
/external/webkit/WebCore/platform/ |
Theme.h | 29 #include "Color.h" 68 virtual Color selectionColor(ControlPart, ControlState, SelectionPart) const { return Color(); } 69 virtual Color textSearchHighlightColor() const { return Color(); } 72 virtual Color systemColor(ThemeColor) const { return Color(); } 113 mutable Color m_activeSelectionColor; 114 mutable Color m_inactiveSelectionColor;
|
/external/webkit/WebCore/platform/graphics/ |
GraphicsContextPrivate.h | 41 , strokeColor(Color::black) 44 , fillColor(Color::black) 60 Color strokeColor; 66 Color fillColor; 77 Color shadowColor;
|
/external/webkit/WebCore/svg/graphics/filters/ |
SVGFEDiffuseLighting.h | 26 #include "Color.h" 36 static PassRefPtr<FEDiffuseLighting> create(FilterEffect*, const Color&, const float&, const float&, 40 Color lightingColor() const; 41 void setLightingColor(const Color&); 64 FEDiffuseLighting(FilterEffect*, const Color&, const float&, const float&, 68 Color m_lightingColor;
|
SVGFEFlood.cpp | 34 FEFlood::FEFlood(const Color& floodColor, const float& floodOpacity) 41 PassRefPtr<FEFlood> FEFlood::create(const Color& floodColor, const float& floodOpacity) 46 Color FEFlood::floodColor() const 51 void FEFlood::setFloodColor(const Color& color) 53 m_floodColor = color; 72 Color color = colorWithOverrideAlpha(floodColor().rgb(), floodOpacity()); 73 filterContext->fillRect(FloatRect(FloatPoint(), scaledSubRegion().size()), color, DeviceColorSpace); 84 ts << " [color=" << floodColor() << "] [all...] |
SVGFESpecularLighting.h | 26 #include "Color.h" 35 static PassRefPtr<FESpecularLighting> create(FilterEffect*, const Color&, const float&, const float&, 39 Color lightingColor() const; 40 void setLightingColor(const Color&); 66 FESpecularLighting(FilterEffect*, const Color&, const float&, const float&, const float&, 70 Color m_lightingColor;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SetWallpaperActivity.java | 27 import android.graphics.Color; 45 {Color.BLUE, Color.GREEN, Color.RED, Color.LTGRAY, Color.MAGENTA, Color.CYAN, 46 Color.YELLOW, Color.WHITE};
|
/external/webkit/WebCore/rendering/style/ |
StyleRareInheritedData.h | 29 #include "Color.h" 53 Color textStrokeColor; 55 Color textFillColor; 57 Color tapHighlightColor;
|
/cts/tests/tests/text/src/android/text/style/cts/ |
BackgroundColorSpanTest.java | 25 import android.graphics.Color; 50 BackgroundColorSpan b = new BackgroundColorSpan(Color.GREEN); 68 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.BLACK); 72 assertEquals(Color.BLACK, tp.bgColor); 74 backgroundColorSpan = new BackgroundColorSpan(Color.BLUE); 76 assertEquals(Color.BLUE, tp.bgColor); 94 BackgroundColorSpan backgroundColorSpan = new BackgroundColorSpan(Color.CYAN); 95 assertEquals(Color.CYAN, backgroundColorSpan.getBackgroundColor()); 97 backgroundColorSpan = new BackgroundColorSpan(Color.GRAY); 98 assertEquals(Color.GRAY, backgroundColorSpan.getBackgroundColor()) [all...] |
ForegroundColorSpanTest.java | 25 import android.graphics.Color; 50 ForegroundColorSpan f = new ForegroundColorSpan(Color.GREEN); 67 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.BLUE); 68 assertEquals(Color.BLUE, foregroundColorSpan.getForegroundColor()); 70 foregroundColorSpan = new ForegroundColorSpan(Color.BLACK); 71 assertEquals(Color.BLACK, foregroundColorSpan.getForegroundColor()); 82 ForegroundColorSpan foregroundColorSpan = new ForegroundColorSpan(Color.CYAN); 88 assertEquals(Color.CYAN, tp.getColor()); 90 foregroundColorSpan = new ForegroundColorSpan(Color.DKGRAY); 92 assertEquals(Color.DKGRAY, tp.getColor()) [all...] |
/external/webkit/WebCore/css/ |
RGBColor.h | 31 #include "Color.h" 45 Color color() const { return Color(m_rgbColor); } function in class:WebCore::RGBColor
|
/external/webkit/WebCore/platform/android/ |
DragDataAndroid.cpp | 56 Color DragData::asColor() const 58 return Color();
|
/external/clearsilver/cs/ |
test6.cs | 3 <?cs if:Color ?> 4 Color=Color (CORRECT)
|
/external/webkit/WebCore/platform/haiku/ |
RenderThemeHaiku.cpp | 80 Color RenderThemeHaiku::platformActiveSelectionBackgroundColor() const 82 return Color(ui_color(B_CONTROL_HIGHLIGHT_COLOR)); 85 Color RenderThemeHaiku::platformInactiveSelectionBackgroundColor() const 87 return Color(ui_color(B_CONTROL_HIGHLIGHT_COLOR)); 90 Color RenderThemeHaiku::platformActiveSelectionForegroundColor() const 92 return Color(ui_color(B_CONTROL_TEXT_COLOR)); 95 Color RenderThemeHaiku::platformInactiveSelectionForegroundColor() const 97 return Color(ui_color(B_CONTROL_TEXT_COLOR)); 100 Color RenderThemeHaiku::platformTextSearchHighlightColor() const 102 return Color(ui_color(B_MENU_SELECTED_BACKGROUND_COLOR)) [all...] |