/external/webkit/WebCore/rendering/ |
RenderThemeChromiumMac.mm | 186 Color RenderThemeChromiumMac::platformActiveSelectionBackgroundColor() const 188 NSColor* color = [[NSColor selectedTextBackgroundColor] colorUsingColorSpaceName:NSDeviceRGBColorSpace]; 189 return Color(static_cast<int>(255.0 * [color redComponent]), static_cast<int>(255.0 * [color greenComponent]), static_cast<int>(255.0 * [color blueComponent])); 192 Color RenderThemeChromiumMac::platformInactiveSelectionBackgroundColor() const 194 NSColor* color = [[NSColor secondarySelectedControlColor] colorUsingColorSpaceName:NSDeviceRGBColorSpace]; 195 return Color(static_cast<int>(255.0 * [color redComponent]), static_cast<int>(255.0 * [color greenComponent]), static_cast<int>(255.0 * [color (…) [all...] |
RenderThemeMac.mm | 134 Color RenderThemeMac::platformActiveSelectionBackgroundColor() const 136 NSColor* color = [[NSColor selectedTextBackgroundColor] colorUsingColorSpaceName:NSDeviceRGBColorSpace]; 137 return Color(static_cast<int>(255.0 * [color redComponent]), static_cast<int>(255.0 * [color greenComponent]), static_cast<int>(255.0 * [color blueComponent])); 140 Color RenderThemeMac::platformInactiveSelectionBackgroundColor() const 142 NSColor* color = [[NSColor secondarySelectedControlColor] colorUsingColorSpaceName:NSDeviceRGBColorSpace]; 143 return Color(static_cast<int>(255.0 * [color redComponent]), static_cast<int>(255.0 * [color greenComponent]), static_cast<int>(255.0 * [color (…) [all...] |
RenderBoxModelObject.h | 93 void paintFillLayerExtended(const PaintInfo&, const Color&, const FillLayer*, int tx, int ty, int width, int height, InlineFlowBox* = 0, CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0);
|
RenderLayerBacking.h | 161 const Color& rendererBackgroundColor() const;
|
RenderObject.h | 406 Color, const Color& textcolor, EBorderStyle, int adjbw1, int adjbw2); 408 int angleSpan, BoxSide, Color, const Color& textcolor, EBorderStyle, bool firstCorner); 598 void getTextDecorationColors(int decorations, Color& underline, Color& overline, 599 Color& linethrough, bool quirksMode = false); 609 // Repaint the entire object. Called when, e.g., the color of a border changes, or when a border 688 Color selectionBackgroundColor() const; 689 Color selectionForegroundColor() const [all...] |
RenderThemeWin.cpp | 233 Color RenderThemeWin::platformActiveSelectionBackgroundColor() const 235 COLORREF color = GetSysColor(COLOR_HIGHLIGHT); local 236 return Color(GetRValue(color), GetGValue(color), GetBValue(color)); 239 Color RenderThemeWin::platformInactiveSelectionBackgroundColor() const 241 // This color matches Firefox. 242 return Color(176, 176, 176); 245 Color RenderThemeWin::platformActiveSelectionForegroundColor() cons 247 COLORREF color = GetSysColor(COLOR_HIGHLIGHTTEXT); local [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
GraphicsLayerCACF.cpp | 88 static void setLayerBorderColor(WKCACFLayer* layer, const Color& color) 90 CGColorRef borderColor = createCGColor(color); 100 static void setLayerBackgroundColor(WKCACFLayer* layer, const Color& color) 102 CGColorRef bgColor = createCGColor(color); 277 void GraphicsLayerCACF::setBackgroundColor(const Color& color) 279 if (m_backgroundColorSet && m_backgroundColor == color) 282 GraphicsLayer::setBackgroundColor(color); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 30 import android.graphics.Color; 49 private final int[] COLOR = new int[WIDTH * HEIGTH]; 86 Bitmap bitmap = Bitmap.createBitmap(COLOR, 10, 10, Bitmap.Config.ARGB_4444); 161 int expectedAlpha = Color.alpha(expectedPixel); 162 int actualAlpha = Color.alpha(actualPixel);
|
/external/webkit/WebCore/platform/graphics/mac/ |
GraphicsLayerCA.h | 81 virtual void setBackgroundColor(const Color&); 115 virtual void setDebugBackgroundColor(const Color&); 116 virtual void setDebugBorder(const Color&, float borderWidth);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
StringTexture.java | 21 import android.graphics.Color; 125 int color = Color.argb(alpha, red, green, blue); local 126 paint.setColor(color); 127 paint.setShadowLayer(config.shadowRadius, 0, 0, Color.BLACK);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
Arcs.java | 97 canvas.drawColor(Color.WHITE);
|
ColorMatrixSample.java | 94 canvas.drawColor(Color.WHITE);
|
SensorTest.java | 182 canvas.drawColor(Color.WHITE); 185 paint.setColor(Color.BLACK);
|
Xfermodes.java | 24 import android.graphics.Color; 119 canvas.drawColor(Color.WHITE);
|
/external/webkit/WebCore/css/ |
SVGCSSStyleSelector.cpp | 94 static Color colorFromSVGColorCSSValue(CSSValue* value, RenderStyle* style) 98 Color color; local 100 color = style->color(); 102 color = c->color(); 103 return color; 545 Color color; local [all...] |
/external/webkit/WebCore/html/ |
ValidityState.cpp | 80 case HTMLInputElement::COLOR: 162 Color color(value); // This accepts named colors such as "white". 163 return color.isValid() && !color.hasAlpha();
|
/external/webkit/WebCore/platform/graphics/android/ |
GraphicsContextAndroid.cpp | 67 mAlpha: how does this interact with the alpha in Color? multiply them together? 70 Is Color premultiplied or not? If it is, then I can't blindly pass it to paint.setColor() 196 void setFillColor(const Color& c) { 200 void setStrokeColor(const Color& c) { 595 m_data->setup_paint_fill(&paint); // we want the fill color 647 const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace) 683 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace) 688 if (color.rgb() & 0xFF000000) [all...] |
/external/webkit/WebCore/platform/graphics/gtk/ |
FontGtk.cpp | 209 Color fillColor = context->fillColor(); 215 Color shadowColor; 223 Color shadowFillColor(shadowColor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255); 252 Color strokeColor = context->strokeColor();
|
/external/webkit/WebCore/platform/graphics/openvg/ |
PainterOpenVG.cpp | 23 #include "Color.h" 85 static VGuint colorToVGColor(const Color& color) 87 VGuint vgColor = color.red(); 88 vgColor = (vgColor << 8) | color.green(); 89 vgColor = (vgColor << 8) | color.blue(); 90 vgColor = (vgColor << 8) | color.alpha(); 94 static void setVGSolidColor(VGPaintMode paintMode, const Color& color) 98 vgSetColor(paint, colorToVGColor(color)); [all...] |
/external/webkit/WebCore/platform/graphics/wx/ |
FontWx.cpp | 59 Color color = graphicsContext->fillColor(); local 65 drawTextWithSpacing(graphicsContext, font, color, glyphBuffer, from, numGlyphs, point);
|
/external/webkit/WebCore/svg/ |
SVGFESpecularLightingElement.cpp | 121 Color color = filterStyle->svgStyle()->lightingColor(); local 123 RefPtr<FilterEffect> effect = FESpecularLighting::create(input1, color, surfaceScale(), specularConstant(),
|
/external/webkit/WebCore/wml/ |
WMLDoElement.cpp | 156 style->setBackgroundColor(Color::lightGray);
|
/packages/apps/Contacts/src/com/android/contacts/ |
TabStripView.java | 21 import android.graphics.Color;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 33 import android.graphics.Color; 66 Drawable colorDrawable = new ColorDrawable(Color.BLUE); 154 Drawable colorDrawable = new ColorDrawable(Color.BLUE); 191 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; 236 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; 269 Drawable colorDrawable = new ColorDrawable(Color.BLUE); 277 Drawable d1 = new ColorDrawable(Color.GREEN); 311 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) }; 497 ColorDrawable colorDrawable = new ColorDrawable(Color.BLUE); 548 Drawable[] array = new Drawable[] { new BitmapDrawable(), new ColorDrawable(Color.BLUE) } [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
AudioQualityVerifierActivity.java | 26 import android.graphics.Color; 235 nameField.setTextColor(Color.GRAY);
|