Home
last modified time | relevance | path

Searched refs:SkColorGetR (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/effects/
DSkColorFilters.cpp311 unsigned scaleR = SkAlpha255To256(SkColorGetR(fMul)); in filterSpan()
315 unsigned addR = SkColorGetR(fAdd); in filterSpan()
366 unsigned addR = SkColorGetR(fAdd); in filterSpan()
405 unsigned scaleR = SkAlpha255To256(SkColorGetR(fMul)); in filterSpan()
440 SkASSERT(SkColorGetR(add) == 0); in SkLightingColorFilter_SingleMul()
443 SkASSERT(SkColorGetR(mul) == SkColorGetG(mul)); in SkLightingColorFilter_SingleMul()
444 SkASSERT(SkColorGetR(mul) == SkColorGetB(mul)); in SkLightingColorFilter_SingleMul()
454 unsigned scale = SkAlpha255To256(SkColorGetR(fMul)); in filterSpan16()
484 unsigned scaleR = SkAlpha255To256(SkColorGetR(fMul)); in filterSpan()
488 unsigned addR = SkColorGetR(fAdd); in filterSpan()
[all …]
DSkAvoidXfermode.cpp126 unsigned opR = SkColorGetR(fOpColor); in xfer32()
177 unsigned opR = SkColorGetR(fOpColor) >> (8 - SK_R16_BITS); in xfer16()
218 unsigned opR = SkColorGetR(fOpColor) >> 4; in xfer4444()
DSkGradientShader.cpp473 SkFixed r = SkColorGetR(c0); in Build16bitCache()
477 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build16bitCache()
528 SkFixed r = SkColorGetR(c0); in Build32bitCache()
531 SkFixed dr = SkIntToFixed(SkColorGetR(c1) - r) / (count - 1); in Build32bitCache()
/external/skia/src/animator/
DSkDrawColor.cpp33 SkScalar red = SkIntToScalar(SkColorGetR(color)); in RGB_to_HSV()
162 SkColorGetA(color)/255, SkColorGetR(color), in dump()
201 result = SkIntToScalar(SkColorGetR(color)); in getProperty()
242 color = SkColorSetARGB(alpha, SkColorGetR(color), in setProperty()
247 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
252 color = SkColorSetARGB(SkColorGetA(color), SkColorGetR(color), in setProperty()
DSkDrawBitmap.cpp79 SkDebugf("erase=\"argb(%d,%d,%d,%d)\" ", SkColorGetA(fColor)/255, SkColorGetR(fColor), in dump()
DSkMemberInfo.cpp447 storage[1].fScalar = SkIntToScalar(SkColorGetR(color)); in writeValue()
/external/skia/include/core/
DSkColor.h71 #define SkColorGetR(color) (((color) >> 16) & 0xFF) macro
118 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
DSkBitmap.h370 this->eraseARGB(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), in eraseColor()
/external/webkit/Source/WebCore/platform/chromium/
DDragImageChromiumSkia.cpp83 SkColorGetR(*pixel), in dissolveDragImageToFraction()
/external/chromium/chrome/browser/ui/views/
Dstatus_bubble_views.cc446 (SkColorGetR(text_color) + SkColorGetR(toolbar_color)) / 2, in OnPaint()
447 (SkColorGetG(text_color) + SkColorGetR(toolbar_color)) / 2, in OnPaint()
448 (SkColorGetB(text_color) + SkColorGetR(toolbar_color)) / 2); in OnPaint()
/external/skia/src/ports/
DSkFontHost_gamma.cpp110 int r = SkColorGetR(c); in ComputeGammaFlag()
/external/skia/samplecode/
DSampleDash.cpp16 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
/external/chromium/chrome/browser/chromeos/
Ddrop_shadow_label.cc44 SkColorGetR(kDefaultColor), in PaintText()
/external/skia/src/core/
DSkColor.cpp39 unsigned r = SkColorGetR(c); in SkPreMultiplyColor()
DSkBlitter_4444.cpp76 fRawColor16 = SkPackARGB4444(0xFF >> 4, SkColorGetR(c) >> 4, in SkARGB4444_Blitter()
79 fRawColor16Other = SkDitherARGB32To4444(0xFF, SkColorGetR(c), in SkARGB4444_Blitter()
DSkShader.cpp275 unsigned r = SkColorGetR(fColor); in setContext()
DSkBlitter_ARGB32.cpp147 fSrcR = SkAlphaMul(SkColorGetR(color), scale); in SkARGB32_Blitter()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp127 color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); in initializeForGDI()
503 color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); in drawComplexText()
/external/webkit/Source/WebCore/platform/graphics/skia/
DSkiaUtils.cpp120 return WebCore::Color((int)SkColorGetR(c), (int)SkColorGetG(c), in SkPMColorToWebCoreColor()
DImageBufferSkia.cpp160 lookUpTable[SkColorGetR(color)], in platformTransformColorSpace()
/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.cc86 return StringPrintf("rgba(%d,%d,%d,%s)", SkColorGetR(color), in SkColorToRGBAString()
509 SkColorGetR(color_header), in CreateNewTabCSS()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service.cc159 int rb_diff = abs(SkColorGetR(accent_color) - SkColorGetB(accent_color)); in PickButtonTintFromColors()
160 int rg_diff = abs(SkColorGetR(accent_color) - SkColorGetG(accent_color)); in PickButtonTintFromColors()
238 frame_color->red = SkColorGetR(shifted) * kSkiaToGDKMultiplier; in GdkColorHSLShift()
/external/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp168 destRows[basex + 0] = SkColorGetR(c); in getUnmultipliedImageData()
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc387 return StringPrintf("rgba(%d,%d,%d,%s)", SkColorGetR(color), in SkColorToRGBAString()
/external/chromium/chrome/browser/themes/
Dtheme_service_mac.mm124 colorWithCalibratedRed:SkColorGetR(sk_color)/255.0

12