Home
last modified time | relevance | path

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

12

/external/skia/src/effects/
DSkColorFilters.cpp312 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
316 unsigned addG = SkColorGetG(fAdd); in filterSpan()
367 unsigned addG = SkColorGetG(fAdd); in filterSpan()
406 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
441 SkASSERT(SkColorGetG(add) == 0); in SkLightingColorFilter_SingleMul()
443 SkASSERT(SkColorGetR(mul) == SkColorGetG(mul)); in SkLightingColorFilter_SingleMul()
485 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
489 unsigned addG = SkColorGetG(fAdd); in filterSpan()
554 if (SkColorGetR(mul) == SkColorGetG(mul) && in CreateLightingFilter()
563 SkColorGetG(mul) + SkColorGetG(add) <= 255 && in CreateLightingFilter()
DSkAvoidXfermode.cpp127 unsigned opG = SkColorGetG(fOpColor); in xfer32()
178 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS); in xfer16()
219 unsigned opG = SkColorGetG(fOpColor) >> 4; in xfer4444()
DSkGradientShader.cpp474 SkFixed g = SkColorGetG(c0); in Build16bitCache()
478 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()
529 SkFixed g = SkColorGetG(c0); in Build32bitCache()
532 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build32bitCache()
/external/skia/src/animator/
DSkDrawColor.cpp34 SkScalar green = SkIntToScalar(SkColorGetG(color)); in RGB_to_HSV()
163 SkColorGetG(color), SkColorGetB(color)); in dump()
195 result = SkIntToScalar(SkColorGetG(color)); in getProperty()
243 SkColorGetG(color), SkColorGetB(color)); in setProperty()
248 SkColorGetG(color), SkToU8((U8CPU) scalar)); in setProperty()
262 SkColorGetG(color), SkColorGetB(color)); in setProperty()
DSkDrawBitmap.cpp80 SkColorGetG(fColor), SkColorGetB(fColor)); in dump()
DSkMemberInfo.cpp448 storage[2].fScalar = SkIntToScalar(SkColorGetG(color)); in writeValue()
/external/skia/include/core/
DSkColor.h73 #define SkColorGetG(color) (((color) >> 8) & 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.cpp84 SkColorGetG(*pixel), in dissolveDragImageToFraction()
/external/skia/src/ports/
DSkFontHost_gamma.cpp111 int g = SkColorGetG(c); in ComputeGammaFlag()
/external/skia/samplecode/
DSampleDash.cpp17 SkColorGetG(c), SkColorGetB(c)); in setBitmapDash()
/external/chromium/chrome/browser/chromeos/
Ddrop_shadow_label.cc45 SkColorGetG(kDefaultColor), in PaintText()
/external/skia/src/core/
DSkColor.cpp40 unsigned g = SkColorGetG(c); in SkPreMultiplyColor()
DSkBlitter_4444.cpp77 SkColorGetG(c) >> 4, SkColorGetB(c) >> 4); in SkARGB4444_Blitter()
80 SkColorGetG(c), SkColorGetB(c)); in SkARGB4444_Blitter()
DSkShader.cpp276 unsigned g = SkColorGetG(fColor); in setContext()
DSkBlitter_ARGB32.cpp148 fSrcG = SkAlphaMul(SkColorGetG(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.cpp161 lookUpTable[SkColorGetG(color)], in platformTransformColorSpace()
/external/chromium/chrome/browser/ui/webui/
Dntp_resource_cache.cc87 SkColorGetG(color), SkColorGetB(color), in SkColorToRGBAString()
510 SkColorGetG(color_header), in CreateNewTabCSS()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_theme_service.cc160 int rg_diff = abs(SkColorGetR(accent_color) - SkColorGetG(accent_color)); in PickButtonTintFromColors()
161 int bg_diff = abs(SkColorGetB(accent_color) - SkColorGetG(accent_color)); in PickButtonTintFromColors()
239 frame_color->green = SkColorGetG(shifted) * kSkiaToGDKMultiplier; in GdkColorHSLShift()
/external/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp169 destRows[basex + 1] = SkColorGetG(c); in getUnmultipliedImageData()
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc388 SkColorGetG(color), SkColorGetB(color), in SkColorToRGBAString()
/external/chromium/chrome/browser/themes/
Dtheme_service_mac.mm125 green:SkColorGetG(sk_color)/255.0
/external/chromium/chrome/browser/ui/views/
Dstatus_bubble_views.cc447 (SkColorGetG(text_color) + SkColorGetR(toolbar_color)) / 2, in OnPaint()

12