/development/samples/ApiDemos/src/com/example/android/apis/media/ |
AudioFxDemo.java | 25 import android.graphics.Color; 219 mForePaint.setColor(Color.rgb(0, 128, 255));
|
/external/webkit/WebCore/editing/ |
Editor.h | 30 #include "Color.h" 53 CompositionUnderline(unsigned s, unsigned e, const Color& c, bool t) 54 : startOffset(s), endOffset(e), color(c), thick(t) { } 57 Color color; member in struct:WebCore::CompositionUnderline
|
/external/webkit/WebCore/platform/mac/ |
DragDataMac.mm | 96 Color DragData::asColor() const 98 NSColor *color = [NSColor colorFromPasteboard:[m_platformDragData draggingPasteboard]]; 99 return makeRGBA((int)([color redComponent] * 255.0 + 0.5), (int)([color greenComponent] * 255.0 + 0.5), 100 (int)([color blueComponent] * 255.0 + 0.5), (int)([color alphaComponent] * 255.0 + 0.5));
|
/external/webkit/WebCore/rendering/ |
InlineFlowBox.h | 89 void paintFillLayers(const RenderObject::PaintInfo&, const Color&, const FillLayer*, int tx, int ty, int w, int h, CompositeOperator = CompositeSourceOver); 90 void paintFillLayer(const RenderObject::PaintInfo&, const Color&, const FillLayer*, int tx, int ty, int w, int h, CompositeOperator = CompositeSourceOver);
|
RenderObject.cpp | 716 BoxSide s, Color c, const Color& textcolor, EBorderStyle style, 912 int angleStart, int angleSpan, BoxSide s, Color c, const Color& textColor, 1420 Color color; local 1436 Color color; local [all...] |
RenderBoxModelObject.cpp | 443 void RenderBoxModelObject::paintFillLayerExtended(const PaintInfo& paintInfo, const Color& c, const FillLayer* bgLayer, int tx, int ty, int w, int h, InlineFlowBox* box, CompositeOperator op, RenderObject* backgroundObject) 529 Color bgColor = c; 532 // If there's no bg color or image, leave it untouched to avoid affecting transparency. 541 bgColor = Color::white; 548 // Only fill with a base color (e.g., white) if we're the root document, since iframes/frames with 573 // Paint the color first underneath all images. 577 // If we have an alpha and we are painting the root element, go ahead and blend with the base background color. 579 Color baseColor = view()->frameView()->baseBackgroundColor(); [all...] |
RenderMenuList.cpp | 385 return style ? PopupMenuStyle(style->color(), itemBackgroundColor(listIndex), style->font(), style->visibility() == VISIBLE, style->textIndent(), style->direction()) : menuStyle(); 388 Color RenderMenuList::itemBackgroundColor(unsigned listIndex) const 396 Color backgroundColor; 399 // If the item has an opaque background color, return that. 409 return Color(Color::white).blend(backgroundColor); 415 return PopupMenuStyle(s->color(), s->backgroundColor(), s->font(), s->visibility() == VISIBLE, s->textIndent(), s->direction());
|
RenderScrollbarTheme.cpp | 112 context->fillRect(cornerRect, Color::white, DeviceColorSpace);
|
RenderTable.h | 53 const Color& bgColor() const { return style()->backgroundColor(); }
|
RenderTreeAsText.cpp | 234 if (o.parent() && (o.parent()->style()->color() != o.style()->color())) 235 ts << " [color=" << o.style()->color().name() << "]"; 243 o.style()->textFillColor().isValid() && o.style()->textFillColor() != o.style()->color() && 248 o.style()->textStrokeColor().isValid() && o.style()->textStrokeColor() != o.style()->color() && 271 Color col = o.style()->borderTopColor(); 273 col = o.style()->color(); 285 Color col = o.style()->borderRightColor(); 287 col = o.style()->color(); [all...] |
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/ |
Slideshow.java | 25 import android.graphics.Color; 130 // int srcColor = Color.argb(val, 0, 0, 0); 138 int srcColor = Color.argb(val, 0, 0, 0);
|
/sdk/traceview/src/com/android/traceview/ |
MainWindow.java | 24 import org.eclipse.swt.graphics.Color; 84 Color darkGray = display.getSystemColor(SWT.COLOR_DARK_GRAY);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TextViewTest.java | 39 import android.graphics.Color; 561 mTextView.setTextColor(Color.GREEN); 562 assertEquals(Color.GREEN, mTextView.getCurrentTextColor()); 563 assertSame(ColorStateList.valueOf(Color.GREEN), mTextView.getTextColors()); 565 mTextView.setTextColor(Color.BLACK); 566 assertEquals(Color.BLACK, mTextView.getCurrentTextColor()); 567 assertSame(ColorStateList.valueOf(Color.BLACK), mTextView.getTextColors()); 569 mTextView.setTextColor(Color.RED); 570 assertEquals(Color.RED, mTextView.getCurrentTextColor()); 571 assertSame(ColorStateList.valueOf(Color.RED), mTextView.getTextColors()) [all...] |
/external/webkit/WebCore/platform/graphics/win/ |
FontCGWin.cpp | 133 Color fillColor = graphicsContext->fillColor(); 145 Color color; local 146 graphicsContext->getShadow(size, blur, color); 186 // Set the correct color. 357 Color shadowColor; 364 Color fillColor = graphicsContext->fillColor(); 365 Color shadowFillColor(shadowColor.red(), shadowColor.green(), shadowColor.blue(), shadowColor.alpha() * fillColor.alpha() / 255);
|
/external/webkit/WebCore/platform/graphics/wince/ |
GraphicsContextWince.cpp | 349 static HPEN createPen(const Color& col, double fWidth, StrokeStyle style) 372 static inline HGDIOBJ createBrush(const Color& col) 950 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace) 955 int alpha = color.alpha(); 969 OwnPtr<HBRUSH> hbrush(CreateSolidBrush(RGB(color.red(), color.green(), color.blue()))); 1005 void GraphicsContext::drawFocusRing(const Vector<Path>& paths, int width, int offset, const Color& color) 1646 Color color = fillColor(); local [all...] |
/external/webkit/WebCore/platform/graphics/skia/ |
GraphicsContextSkia.cpp | 35 #include "Color.h" 504 void GraphicsContext::drawFocusRing(const Vector<Path>& paths, int width, int offset, const Color& color) 509 void GraphicsContext::drawFocusRing(const Vector<IntRect>& rects, int /* width */, int /* offset */, const Color& color) 531 paint.setColor(color.rgb()); 687 // Text lines are drawn using the stroke color. 744 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace) 766 paint.setColor(color.rgb()) [all...] |
/external/webkit/WebKit/win/WebCoreSupport/ |
WebDragClient.cpp | 295 static const Color backgroundColor(140, 140, 140); 301 static const Color topColor(0, 0, 0, 255); //original alpha = 0.75 302 static const Color bottomColor(255, 255, 255, 127); //original alpha = 0.5
|
/packages/apps/Browser/src/com/android/browser/ |
TitleBar.java | 25 import android.graphics.Color; 255 array[0] = new PaintDrawable(Color.BLACK); 256 PaintDrawable p = new PaintDrawable(Color.WHITE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
DdmsPlugin.java | 39 import org.eclipse.swt.graphics.Color; 89 private Color mRed; 155 mRed = new Color(display, 0xFF, 0x00, 0x00);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
CreateBitmap.java | 112 canvas.drawColor(Color.WHITE); 121 // draw the color array directly, w/o craeting a bitmap object
|
/external/junit/src/junit/awtui/ |
TestRunner.java | 6 import java.awt.Color; 283 fStatusLine.setForeground(Color.red); 544 fStatusLine.setForeground(Color.black); 554 fStatusLine.setForeground(Color.red);
|
/external/webkit/WebCore/css/ |
CSSGradientValue.cpp | 66 result += "color-stop(" + String::number(m_stops[i].m_stop) + ", " + m_stops[i].m_color->cssText() + ")"; 95 Color color = renderer->document()->styleSelector()->getColorFromPrimitiveValue(m_stops[i].m_color.get()); local 96 gradient->addColorStop(m_stops[i].m_stop, color);
|
/external/webkit/WebCore/platform/graphics/ |
Gradient.cpp | 30 #include "Color.h" 89 void Gradient::addColorStop(float value, const Color& color) 95 color.getRGBA(r, g, b, a);
|
/external/webkit/WebCore/platform/graphics/haiku/ |
ImageHaiku.cpp | 185 m_solidColor = Color(bits[2], bits[1], bits[0], bits[3]);
|
/external/webkit/WebCore/svg/ |
SVGGradientElement.cpp | 161 Color color; local 166 color = stopStyle->svgStyle()->stopColor(); 177 color = stopStyle->svgStyle()->stopColor(); 181 stops.append(makeGradientStop(stopOffset, makeRGBA(color.red(), color.green(), color.blue(), int(opacity * 255.))));
|