/frameworks/base/core/java/android/webkit/ |
WebTextView.java | 23 import android.graphics.Color; 718 paint.setColor(Color.WHITE); 722 paint.setColor(Color.BLACK); 753 // Set the text color to black, regardless of the theme. This ensures 756 setTextColor(Color.BLACK); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaFrameworkTest.java | 23 import android.graphics.Color;
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabHost_TabSpecTest.java | 29 import android.graphics.Color; 102 Drawable d = new ColorDrawable(Color.GRAY);
|
/external/webkit/WebCore/accessibility/ |
AccessibilityTable.cpp | 120 // store the background color of the table to check against cell's background colors 124 Color tableBGColor = tableStyle->backgroundColor(); 165 // if the cell has a different color from the table and there is cell spacing, 167 Color cellColor = renderStyle->backgroundColor();
|
/external/webkit/WebCore/css/ |
CSSStyleSelector.h | 137 Color getColorFromPrimitiveValue(CSSPrimitiveValue*); 186 Color m_backgroundColor;
|
/external/webkit/WebCore/platform/graphics/cg/ |
ImageCG.cpp | 112 // Currently we only check for solid color in the important special case of a 1x1 image. 124 m_solidColor = Color(0, 0, 0, 0); 126 m_solidColor = Color(pixel[0] * 255 / pixel[3], pixel[1] * 255 / pixel[3], pixel[2] * 255 / pixel[3], pixel[3]); 135 // If the image already has a (non-device) color space, we don't want to 229 // Adjust the color space. 286 // Adjust the color space. 326 RetainPtr<CGColorRef> color(AdoptCF, CGColorCreateWithPattern(patternSpace.get(), pattern.get(), &alpha)); 333 CGContextSetFillColorWithColor(context, color.get());
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHostView.java | 24 import android.graphics.Color; 379 // TODO: get this color from somewhere. 380 tv.setBackgroundColor(Color.argb(127, 0, 0, 0));
|
/packages/apps/Camera/src/com/android/camera/ui/ |
ZoomController.java | 21 import android.graphics.Color; 34 private static final int LABEL_COLOR = Color.WHITE;
|
GLRootView.java | 23 import android.graphics.Color; 274 // Set the background color 568 public void drawColor(int x, int y, int width, int height, int color) { 579 gl.glColor4f(Color.red(color) * alpha, Color.green(color) * alpha, 580 Color.blue(color) * alpha, Color.alpha(color) * alpha) [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySync.java | 36 import java.awt.Color; 99 errls.setSeriesPaint(0, Color.RED);
|
/external/webkit/WebCore/rendering/ |
RenderFrameSet.cpp | 68 static Color borderStartEdgeColor() 70 return Color(170, 170, 170); 73 static Color borderEndEdgeColor() 75 return Color::black; 78 static Color borderFillColor() 80 return Color(208, 208, 208); 96 // bit of the fill color showing through. 116 // bit of the fill color showing through.
|
SVGInlineTextBox.cpp | 413 styleToUse->textShadow()->blur, styleToUse->textShadow()->color, 493 Color textColor = style->color(); 494 Color color = renderer()->selectionBackgroundColor(); local 495 if (!color.isValid() || color.alpha() == 0) 498 // If the text color ends up being the same as the selection background, invert the selection 500 if (textColor == color) 501 color = Color(0xff - color.red(), 0xff - color.green(), 0xff - color.blue()) [all...] |
RenderBox.h | 308 void paintFillLayer(const PaintInfo&, const Color&, const FillLayer*, int tx, int ty, int width, int height, CompositeOperator op, RenderObject* backgroundObject); 309 void paintFillLayers(const PaintInfo&, const Color&, const FillLayer*, int tx, int ty, int width, int height, CompositeOperator = CompositeSourceOver, RenderObject* backgroundObject = 0);
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/ |
Workspace.java | 106 import java.awt.Color; 762 layoutView.setBackground(Color.WHITE); 763 layoutView.setForeground(Color.BLACK); 775 layoutView.setBackground(Color.BLACK); 776 layoutView.setForeground(Color.WHITE); 807 solidColor.setBackground(Color.BLACK); 821 solidColor.setBackground(Color.WHITE); 833 solidColor.setBackground(Color.BLACK); [all...] |
/external/webkit/WebCore/platform/qt/ |
RenderThemeQt.cpp | 37 #include "Color.h" 255 Color RenderThemeQt::platformActiveSelectionBackgroundColor() const 258 return pal.brush(QPalette::Active, QPalette::Highlight).color(); 261 Color RenderThemeQt::platformInactiveSelectionBackgroundColor() const 264 return pal.brush(QPalette::Inactive, QPalette::Highlight).color(); 267 Color RenderThemeQt::platformActiveSelectionForegroundColor() const 270 return pal.brush(QPalette::Active, QPalette::HighlightedText).color(); 273 Color RenderThemeQt::platformInactiveSelectionForegroundColor() const 276 return pal.brush(QPalette::Inactive, QPalette::HighlightedText).color(); 498 style->setBackgroundColor(Color::transparent) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Canvas.java | 35 import java.awt.Color; 113 g.setColor(new Color(paint.getColor())); 419 public void drawColor(int color, PorterDuff.Mode mode) { 422 // save old color 423 Color c = g.getColor(); 427 // get the alpha from the color 428 int alpha = color >>> 24; 433 g.setColor(new Color(color)); 439 // restore color [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapTest.java | 28 import android.graphics.Color; 434 int color = ret.getPixel(10, 20); local 435 assertEquals(0x00, Color.alpha(color)); 457 int color = ret.getPixel(10, 20); local 458 assertEquals(0x00, Color.alpha(color)); 608 int color = 0xff << 24; local 614 mBitmap.setPixel(10, 16, color); 623 mBitmap.setPixel(10, 16, color); [all...] |
/external/webkit/WebKit/wx/WebKitSupport/ |
FrameLoaderClientWx.cpp | 937 Color backgroundColor = transparent ? WebCore::Color::transparent : WebCore::Color::white;
|
/external/webkit/WebCore/html/canvas/ |
CanvasRenderingContext2D.cpp | 306 // FIXME: What should this return if you called setShadow with a non-string color? 310 void CanvasRenderingContext2D::setShadowColor(const String& color) 312 state().m_shadowColor = color; 464 void CanvasRenderingContext2D::setStrokeColor(const String& color) 466 setStrokeStyle(CanvasStyle::create(color)); 474 void CanvasRenderingContext2D::setStrokeColor(const String& color, float alpha) 476 setStrokeStyle(CanvasStyle::create(color, alpha)); 494 void CanvasRenderingContext2D::setFillColor(const String& color) 496 setFillStyle(CanvasStyle::create(color)); 504 void CanvasRenderingContext2D::setFillColor(const String& color, float alpha [all...] |
/external/webkit/WebCore/inspector/ |
InspectorController.cpp | [all...] |
/external/webkit/WebCore/platform/graphics/chromium/ |
FontChromiumWin.cpp | 116 SkColor color = m_platformContext->effectiveFillColor(); local 119 if (SkColorGetA(color) != 0xFF) { 124 layerAlpha = SkColorGetA(color) / 255.0f; 125 // The color should be opaque now. 126 color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); 143 // this mode and it will apply the color. 144 m_transparency.setTextCompositeColor(color); 375 SkColor color = graphicsContext->platformContext()->effectiveFillColor(); local 464 SkColor color = graphicsContext->platformContext()->effectiveFillColor(); local [all...] |
TransparencyWin.cpp | 278 m_drawContext->fillRect(IntRect(IntPoint(0, 0), m_layerSize), Color::white, DeviceColorSpace); 353 void TransparencyWin::setTextCompositeColor(Color color) 355 m_textCompositeColor = color; 477 // Apply that alpha to the text color and write the result. 482 // Now the layer has text with the proper color and opacity.
|
/sdk/ddms/app/src/com/android/ddms/ |
UIThread.java | 69 import org.eclipse.swt.graphics.Color; [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/ |
AllocationPanel.java | 38 import org.eclipse.swt.graphics.Color; 260 Color darkGray = parent.getDisplay().getSystemColor(SWT.COLOR_DARK_GRAY);
|
ThreadPanel.java | 40 import org.eclipse.swt.graphics.Color; 280 Color darkGray = parent.getDisplay().getSystemColor(SWT.COLOR_DARK_GRAY);
|