/external/skia/legacy/src/opts/ |
opts_check_SSE2.cpp | 151 SkColor color) { 162 if (SK_ColorBLACK != color) {
|
/external/skia/src/core/ |
SkOrderedWriteBuffer.h | 56 virtual void writeColor(const SkColor& color) SK_OVERRIDE; 57 virtual void writeColorArray(const SkColor* color, uint32_t count) SK_OVERRIDE;
|
/external/skia/tools/ |
git-skia-verify | 25 # set color to yellow 32 # set color to red 65 PREVIOUS_BRANCH=`git branch --no-color | grep "^*" | awk '{ print $2}'`
|
/external/webkit/Source/WebCore/platform/graphics/ |
Color.cpp | 27 #include "Color.h" 40 const RGBA32 Color::black; 41 const RGBA32 Color::white; 42 const RGBA32 Color::darkGray; 43 const RGBA32 Color::gray; 44 const RGBA32 Color::lightGray; 45 const RGBA32 Color::transparent; 72 RGBA32 colorWithOverrideAlpha(RGBA32 color, float overrideAlpha) 74 RGBA32 rgbOnly = color & 0x00FFFFFF; 94 // Explanation of this algorithm can be found in the CSS3 Color Modul [all...] |
GraphicsContext.cpp | 127 void GraphicsContext::setStrokeColor(const Color& color, ColorSpace colorSpace) 129 m_state.strokeColor = color; 133 setPlatformStrokeColor(color, colorSpace); 136 void GraphicsContext::setShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace) 140 m_state.shadowColor = color; 142 setPlatformShadow(offset, blur, color, colorSpace); 145 void GraphicsContext::setLegacyShadow(const FloatSize& offset, float blur, const Color& color, ColorSpace colorSpace [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
GraphicsContextQt.cpp | 46 #include "Color.h" 195 // reuse this brush for solid color (to prevent expensive QBrush construction) 344 Color color = strokeColor(); local 378 p->fillRect(FloatRect(p1.x() - width / 2, p1.y() - width, width, width), QColor(color)); 379 p->fillRect(FloatRect(p2.x() - width / 2, p2.y(), width, width), QColor(color)); 381 p->fillRect(FloatRect(p1.x() - width, p1.y() - width / 2, width, width), QColor(color)); 382 p->fillRect(FloatRect(p2.x(), p2.y() - width / 2, width, width), QColor(color)); 516 shadowColor.setAlphaF(shadowColor.alphaF() * p->brush().color().alphaF()); 525 shadowColor.setAlphaF(shadowColor.alphaF() * p->brush().color().alphaF()) [all...] |
/external/webkit/Source/WebKit/chromium/src/js/ |
DevTools.js | 136 WebInspector.setToolbarColors = function(backgroundColor, color) 145 background-color: " + backgroundColor + " !important;\ 149 color: " + color + " !important;\
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/search/cancel/ |
search_cancel.edc | 68 color: 255 255 255 150;
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/search/decoration/ |
search_decoration.edc | 69 color: 255 255 255 150;
|
/frameworks/base/core/java/android/text/style/ |
BulletSpan.java | 50 public BulletSpan(int gapWidth, int color) { 53 mColor = color;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
DrawRectFilter.java | 58 "uniform vec4 color;\n" + 60 " gl_FragColor = color;\n" + 116 float[] color = {mColorRed, mColorGreen, mColorBlue, 1f}; local 123 mProgram.setHostValue("color", color);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DisplayListLayersActivity.java | 94 LayerView(Context context, int color, int layerType, String tag) { 99 mPaint.setColor(color);
|
/packages/apps/Calendar/src/com/android/calendar/ |
ColorChipView.java | 30 * A custom view for a color chip for an event that can be drawn differently 88 public void setColor(int color) { 89 mColor = color;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventColorCache.java | 27 * A cache for event colors and event color keys stored based upon calendar account name and type. 44 * Inserts a color into the cache. 74 * Retrieve an event color's unique key based on account name, type, and color. 89 for (Integer color : sortedColors) { 90 palette.add(color);
|
/packages/apps/Camera/src/com/android/camera/ |
CaptureAnimManager.java | 19 import android.graphics.Color; 122 int color = Color.argb((int) (255 * f), 255, 255, 255); local 123 canvas.fillRect(mX, mY, mDrawWidth, mDrawHeight, color);
|
/packages/apps/Email/src/com/android/email/activity/ |
MailboxListItem.java | 82 sDropAvailableBgColor = res.getColor(R.color.mailbox_drop_available_bg_color); 83 sDropTrashBgColor = res.getColor(R.color.mailbox_drop_destructive_bg_color);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
IconFactory.java | 28 import org.eclipse.swt.graphics.Color; 133 * @param color The color of the text in the automatically generated icons, 138 public Image getIcon(String osName, int color, int shape) { 139 String key = Character.toString((char) shape) + Integer.toString(color) + osName; 142 ImageDescriptor id = getImageDescriptor(osName, color, shape); 174 * @param color The color of the text in the automatically generated icons. 179 public ImageDescriptor getImageDescriptor(String osName, int color, int shape) { 180 String key = Character.toString((char) shape) + Integer.toString(color) + osName [all...] |
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
LabelView.java | 70 // Retrieve the color(s) to be used for this view and apply them. 71 // Note, if you only care about supporting a single color, that you 114 * Sets the text color for this label. 115 * @param color ARGB value for the text 117 public void setTextColor(int color) { 118 mTextPaint.setColor(color);
|
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
GraphicsContextCairo.cpp | 107 Color strokeColor = colorWithOverrideAlpha(context->strokeColor().rgb(), context->strokeColor().alpha() / 255.f * state.globalAlpha); 122 static inline void fillRectSourceOver(cairo_t* cr, const FloatRect& rect, const Color& col) 570 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace) 578 if (color.alpha()) 579 fillRectSourceOver(platformContext()->cr(), rect, color); 607 static inline void adjustFocusRingColor(Color& color) 611 color.setRGB(makeRGBA(color.red(), color.green(), color.blue(), 127)) [all...] |
/external/skia/src/effects/ |
SkLightingImageFilter.cpp | 66 SkPoint3 color(lightColor * colorScale); 68 SkScalarFloorToInt(color.fX), 69 SkScalarFloorToInt(color.fY), 70 SkScalarFloorToInt(color.fZ)); 87 SkPoint3 color(lightColor * colorScale); 88 return SkPackARGB32(SkScalarFloorToInt(color.maxComponent()), 89 SkScalarFloorToInt(color.fX), 90 SkScalarFloorToInt(color.fY), 91 SkScalarFloorToInt(color.fZ)); 313 virtual void getConstantColorComponents(GrColor* color, 502 const SkPoint3& color() const { return fColor; } function in class:SkLight 1429 const char* color = builder->getUniformCStr(this->lightColorUni()); \/\/ created by parent class. local [all...] |
/external/webkit/Source/WebCore/platform/graphics/cg/ |
GraphicsContextCG.cpp | 77 static void setCGFillColor(CGContextRef context, const Color& color, ColorSpace colorSpace) 79 CGContextSetFillColorWithColor(context, cachedCGColor(color, colorSpace)); 82 static void setCGStrokeColor(CGContextRef context, const Color& color, ColorSpace colorSpace) 84 CGContextSetStrokeColorWithColor(context, cachedCGColor(color, colorSpace)); 169 Color oldFillColor = fillColor(); 248 setCGFillColor(context, strokeColor(), strokeColorSpace()); // The save/restore make it safe to mutate the fill color here without setting it back to the old color. 715 void GraphicsContext::fillRect(const FloatRect& rect, const Color& color, ColorSpace colorSpace [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
TransitionDrawableTest.java | 196 private void assertColorFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { 199 assertEquals(color, bmp.getPixel(i, j)); 204 private void assertColorNotFillRect(Bitmap bmp, int x, int y, int w, int h, int color) { 207 assertTrue(color != bmp.getPixel(i, j));
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationLoading.java | 24 import android.graphics.Color; 80 addBall(500, 50, Color.GREEN); 129 private void addBall(float x, float y, int color) { 131 shapeHolder.setColor(color); 140 int color = 0xff000000 | red << 16 | green << 8 | blue; local 144 50f, color, darkColor, Shader.TileMode.CLAMP);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DraggableDot.java | 165 int color = (mHovering) ? WHITE_STEP : GREEN_STEP; local 166 color = i*(color | ALPHA_STEP); 167 mGlow.setColor(color);
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
CandidateView.java | 85 setBackgroundColor(r.getColor(R.color.candidate_background)); 87 mColorNormal = r.getColor(R.color.candidate_normal); 88 mColorRecommended = r.getColor(R.color.candidate_recommended); 89 mColorOther = r.getColor(R.color.candidate_other);
|