Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkColorFilters.cpp253 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
257 unsigned addG = SkColorGetG(fAdd); in filterSpan()
305 unsigned addG = SkColorGetG(fAdd); in filterSpan()
343 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
378 SkASSERT(SkColorGetG(add) == 0); in SkLightingColorFilter_SingleMul()
380 SkASSERT(SkColorGetR(mul) == SkColorGetG(mul)); in SkLightingColorFilter_SingleMul()
422 unsigned scaleG = SkAlpha255To256(SkColorGetG(fMul)); in filterSpan()
426 unsigned addG = SkColorGetG(fAdd); in filterSpan()
491 if (SkColorGetR(mul) == SkColorGetG(mul) && in CreateLightingFilter()
500 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.cpp430 SkFixed g = SkColorGetG(c0); in Build16bitCache()
434 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in Build16bitCache()
467 SkFixed g = SkColorGetG(c0); in build_32bit_cache()
470 SkFixed dg = SkIntToFixed(SkColorGetG(c1) - g) / (count - 1); in build_32bit_cache()
/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.h56 #define SkColorGetG(color) (((color) >> 8) & 0xFF) macro
101 SkRGBToHSV(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color), hsv); in SkColorToHSV()
DSkBitmap.h301 this->eraseARGB(SkColorGetA(c), SkColorGetR(c), SkColorGetG(c), in eraseColor()
/external/webkit/WebCore/platform/graphics/skia/
DImageBufferSkia.cpp119 lookUpTable[SkColorGetG(color)], in platformTransformColorSpace()
173 destPixel[1] = a ? SkColorGetG(color) * 255 / a : 0; in getImageData()
DSkiaUtils.cpp120 return WebCore::Color((int)SkColorGetR(c), (int)SkColorGetG(c), in SkPMColorToWebCoreColor()
/external/skia/src/ports/
DSkFontHost_gamma.cpp111 int g = SkColorGetG(c); in ComputeGammaFlag()
/external/webkit/WebCore/platform/graphics/chromium/
DFontChromiumWin.cpp126 color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); in initializeForGDI()
478 color = SkColorSetRGB(SkColorGetR(color), SkColorGetG(color), SkColorGetB(color)); in drawComplexText()
/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.cpp252 unsigned g = SkColorGetG(c); in setContext()
DSkBlitter_ARGB32.cpp50 fSrcG = SkAlphaMul(SkColorGetG(color), scale); in SkARGB32_Blitter()
DSkBlitter_RGB16.cpp533 int g = SkColorGetG(color); in SkRGB16_Blitter()
DSkPaint.cpp210 fColor = SkColorSetARGB(a, SkColorGetR(fColor), SkColorGetG(fColor), SkColorGetB(fColor)); in setAlpha()
/external/webkit/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp142 destRows[basex + 1] = SkColorGetG(c); in getUnmultipliedImageData()
/external/webkit/WebKit/android/jni/
DWebViewCore.cpp2435 WebCore::Color bcolor((int)SkColorGetR(c), (int)SkColorGetG(c), in setBackgroundColor()