Home
last modified time | relevance | path

Searched refs:SkColorGetA (Results 1 – 25 of 44) sorted by relevance

12

/external/skia/src/animator/
DSkDrawColor.cpp96 return SkColorSetARGB(SkColorGetA(color), SkScalarRound(red), in HSV_to_RGB()
162 SkColorGetA(color)/255, SkColorGetR(color), in dump()
189 result = SkIntToScalar(SkColorGetA(color)) / 255; in getProperty()
247 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
252 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
261 color = SkColorSetARGB(SkColorGetA(color), SkToU8((U8CPU) scalar), in setProperty()
DSkDrawBitmap.cpp79 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dinfobar_arrow_model.cc41 return SkColorGetA(CurrentInfoBarColors().top) != 0; in NeedToDrawInfoBarArrow()
109 SkColorGetA(colors.top))); in Paint()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp120 if (SkColorGetA(color) != 0xFF) { in initializeForGDI()
125 layerAlpha = SkColorGetA(color) / 255.0f; in initializeForGDI()
453 unsigned char alpha = SkColorGetA(color); in drawGlyphs()
490 unsigned char alpha = SkColorGetA(color); in drawComplexText()
/external/chromium/chrome/common/extensions/
Dextension_action.cc115 if (SkColorGetA(text_color) == 0x00) in PaintBadge()
118 if (SkColorGetA(background_color) == 0x00) in PaintBadge()
/external/webkit/Source/WebCore/platform/chromium/
DDragImageChromiumSkia.cpp82 *pixel = SkPreMultiplyARGB(SkColorGetA(*pixel) * fraction, in dissolveDragImageToFraction()
/external/skia/src/opts/
Dopts_check_SSE2.cpp119 if ( SK_ColorBLACK != color && 0xFF != SkColorGetA(color)) in PlatformProcs()
/external/skia/src/core/
DSkShader.cpp270 a = SkColorGetA(fColor); in setContext()
272 a = SkAlphaMul(SkColorGetA(fColor), SkAlpha255To256(paint.getAlpha())); in setContext()
DSkColor.cpp38 unsigned a = SkColorGetA(c); in SkPreMultiplyColor()
DSkBlitRow_D32.cpp239 } else if (0xFF == SkColorGetA(color)) { in Factory()
DSkBlitter_RGB16.cpp530 fScale = SkAlpha255To256(SkColorGetA(color)); in SkRGB16_Blitter()
1052 if (0 == SkColorGetA(color)) { in SkBlitter_ChooseD565()
1059 } else if (0xFF == SkColorGetA(color)) { in SkBlitter_ChooseD565()
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_background.cc66 SkColorGetA(gradient_colors[0]))); in Paint()
/external/chromium/chrome/browser/chromeos/
Ddrop_shadow_label.cc43 SkColor color = SkColorSetARGB(kShadowOpacity * SkColorGetA(GetColor()), in PaintText()
/external/skia/src/pdf/
DSkPDFGraphicState.cpp261 if (SkColorGetA(a->getColor()) != SkColorGetA(b->getColor()) || in operator ==()
/external/skia/include/core/
DSkColor.h69 #define SkColorGetA(color) (((color) >> 24) & 0xFF) macro
/external/skia/src/effects/
DSkBlurDrawLooper.cpp79 if (SkColorGetA(blurColor) == 255) { in next()
/external/skia/src/utils/
DSkParseColor.cpp465 unsigned int oldAlpha = SkColorGetA(*colorPtr); in FindColor()
/external/chromium/chrome/browser/themes/
Dtheme_service.cc51 return SkColorSetA(input, SkColorGetA(input) / 3); in TintForUnderline()
58 return color_utils::HSLToSkColor(result, SkColorGetA(color)); in IncreaseLightness()
/external/webkit/Source/WebCore/platform/graphics/skia/
DSkiaUtils.cpp121 (int)SkColorGetB(c), (int)SkColorGetA(c)); in SkPMColorToWebCoreColor()
DSkiaFontWin.cpp373 if ((textMode & TextModeFill) && (SkColorGetA(paint.getColor()) || paint.getLooper())) { in paintSkiaText()
/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.cc88 base::DoubleToString(SkColorGetA(color) / 255.0).c_str()); in SkColorToRGBAString()
502 color_utils::HSLToSkColor(header_lighter, SkColorGetA(color_header)); in CreateNewTabCSS()
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_gtk.cc1000 if (SkColorGetA(overlay_color_) == 0) { in Paint()
1027 SkColorGetA(overlay_color_) * in Paint()
1032 float a = SkColorGetA(overlay) / 255.; in Paint()
/external/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp171 destRows[basex + 3] = SkColorGetA(c); in getUnmultipliedImageData()
DGraphicsContextAndroid.cpp203 return SkColorGetA(shadow.color) && (shadow.blur || shadow.dx || shadow.dy); in setupShadowPaint()
214 int a = SkAlphaMul(SkColorGetA(c), s); in applyAlpha()
277 if (SkColorGetA(m_state->shadow.color) > 0) { in setupPaintCommon()
/external/chromium/webkit/glue/media/
Dvideo_renderer_impl.cc116 SkAlpha sk_alpha = SkColorGetA(sk_color); in CanFastPaint()

12