Home
last modified time | relevance | path

Searched refs:SkPackARGB32 (Results 1 – 25 of 56) sorted by relevance

123

/external/skia/gm/
Dtexdata.cpp44 static const SkPMColor gray = SkPackARGB32(0x40, 0x40, 0x40, 0x40); in onDraw()
45 static const SkPMColor white = SkPackARGB32(0xff, 0xff, 0xff, 0xff); in onDraw()
46 static const SkPMColor red = SkPackARGB32(0x80, 0x80, 0x00, 0x00); in onDraw()
47 static const SkPMColor blue = SkPackARGB32(0x80, 0x00, 0x00, 0x80); in onDraw()
48 static const SkPMColor green = SkPackARGB32(0x80, 0x00, 0x80, 0x00); in onDraw()
49 static const SkPMColor black = SkPackARGB32(0x00, 0x00, 0x00, 0x00); in onDraw()
Dxfermodes2.cpp91 SkPackARGB32(0xFF, 0x40, 0x40, 0x40), in onOnceBeforeDraw()
92 SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), in onOnceBeforeDraw()
93 SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), in onOnceBeforeDraw()
94 SkPackARGB32(0xFF, 0x40, 0x40, 0x40) in onOnceBeforeDraw()
113 SkPMColor rowColor = SkPackARGB32(c, c, 0, c/2); in onOnceBeforeDraw()
127 SkPMColor colColor = SkPackARGB32(c, 0, c, c/2); in onOnceBeforeDraw()
Dbigmatrix.cpp64 pixels[0] = SkPackARGB32(0xFF, 0xFF, 0x00, 0x00); in onDraw()
65 pixels[1] = SkPackARGB32(0xFF, 0x00, 0xFF, 0x00); in onDraw()
66 pixels[2] = SkPackARGB32(0x80, 0x00, 0x00, 0x00); in onDraw()
67 pixels[3] = SkPackARGB32(0xFF, 0x00, 0x00, 0xFF); in onDraw()
Dxfermodes3.cpp184 SkPackARGB32(0xFF, 0x40, 0x40, 0x40), in onOnceBeforeDraw()
185 SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), in onOnceBeforeDraw()
186 SkPackARGB32(0xFF, 0xD0, 0xD0, 0xD0), in onOnceBeforeDraw()
187 SkPackARGB32(0xFF, 0x40, 0x40, 0x40) in onOnceBeforeDraw()
Dbitmappremul.cpp38 dst[x] = SkPackARGB32(rowColor, rowColor, in make_argb8888_gradient()
72 dst[x] = SkPackARGB32(rowColor, rowColor, in make_argb8888_stripes()
Dtinybitmap.cpp17 const SkPMColor c[] = { SkPackARGB32(0x80, 0x80, 0, 0) }; in make_bitmap()
Dhairmodes.cpp65 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
/external/skia/src/opts/
DSkPMFloat_none.h17 return SkPackARGB32(this->a(), this->r(), this->g(), this->b()); in trunc()
21 SkPMColor c = SkPackARGB32(this->a()+0.5f, this->r()+0.5f, this->g()+0.5f, this->b()+0.5f); in round()
35 SkPMColor c = SkPackARGB32(a+0.5f, r+0.5f, g+0.5f, b+0.5f); in roundClamp()
/external/skia/src/utils/debugger/
DSkDebugCanvas.cpp24 SkPackARGB32(0x00, 0x00, 0x00, 0x00), in xferColor()
25 SkPackARGB32(0xFF, 128, 158, 255), in xferColor()
26 SkPackARGB32(0xFF, 170, 185, 212), in xferColor()
27 SkPackARGB32(0xFF, 213, 195, 170), in xferColor()
28 SkPackARGB32(0xFF, 255, 192, 127), in xferColor()
29 SkPackARGB32(0xFF, 255, 185, 85), in xferColor()
30 SkPackARGB32(0xFF, 255, 165, 42), in xferColor()
31 SkPackARGB32(0xFF, 255, 135, 0), in xferColor()
32 SkPackARGB32(0xFF, 255, 95, 0), in xferColor()
33 SkPackARGB32(0xFF, 255, 50, 0), in xferColor()
[all …]
/external/skia/src/effects/
DSkTransparentShader.cpp81 span[i] = SkPackARGB32( alpha, in shadeSpan()
93 span[i] = SkPackARGB32(src[i], 0, 0, 0); in shadeSpan()
97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0); in shadeSpan()
DSkLumaColorFilter.cpp36 dst[i] = SkPackARGB32(luma, 0, 0, 0); in filterSpan()
/external/skia/tests/
DColorFilterTest.cpp124 in = SkPackARGB32(i, i, i, i); in DEF_TEST()
134 in = SkPackARGB32(i, 0, 0, 0); in DEF_TEST()
141 in = SkPackARGB32(i, i, i / 2, i / 3); in DEF_TEST()
226 storage[b] = SkPackARGB32(0xFF, r, g, b); in DEF_TEST()
DBlitRowTest.cpp116 { 0, 0xFFFFFFFF, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
117 { 0xFFFFFFFF, 0, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
118 { 0xFFFFFFFF, 0xFFFFFFFF, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
/external/skia/src/core/
DSkXfermode.cpp129 return SkPackARGB32(da, in srcatop_modeproc()
144 return SkPackARGB32(sa, in dstatop_modeproc()
160 return SkPackARGB32(sa + da - (SkAlphaMulAlpha(sa, da) << 1), in xor_modeproc()
177 return SkPackARGB32(a, r, g, b); in plus_modeproc()
186 return SkPackARGB32(a, r, g, b); in modulate_modeproc()
207 return SkPackARGB32(a, r, g, b); in multiply_modeproc()
216 return SkPackARGB32(a, r, g, b); in screen_modeproc()
237 return SkPackARGB32(a, r, g, b); in overlay_modeproc()
259 return SkPackARGB32(a, r, g, b); in darken_modeproc()
281 return SkPackARGB32(a, r, g, b); in lighten_modeproc()
[all …]
DSkBitmapProcState_procs.h41 return SkPackARGB32(0xFF, r, g, b); in SkExpanded_565_To_PMColor()
233 SkPMColor color = SkPackARGB32(0xFF, tmp, tmp, tmp); \
242 #define RETURNDST(src) SkAlphaMulQ(SkPackARGB32(0xFF, src, src, src), alphaScale)
/external/skia/src/effects/gradients/
DSkGradientShader.cpp453 cache[kCache32Count*0] = SkPackARGB32(0xFF, (r + 0 ) >> 16, in Build32bitCache()
456 cache[kCache32Count*1] = SkPackARGB32(0xFF, (r + 0x8000) >> 16, in Build32bitCache()
459 cache[kCache32Count*2] = SkPackARGB32(0xFF, (r + 0xC000) >> 16, in Build32bitCache()
462 cache[kCache32Count*3] = SkPackARGB32(0xFF, (r + 0x4000) >> 16, in Build32bitCache()
472 cache[kCache32Count*0] = SkPackARGB32((a + 0 ) >> 16, in Build32bitCache()
476 cache[kCache32Count*1] = SkPackARGB32((a + 0x8000) >> 16, in Build32bitCache()
480 cache[kCache32Count*2] = SkPackARGB32((a + 0xC000) >> 16, in Build32bitCache()
484 cache[kCache32Count*3] = SkPackARGB32((a + 0x4000) >> 16, in Build32bitCache()
/external/skia/samplecode/
DSampleEncode.cpp62 colors[i] = SkPackARGB32(255-i, 0, 0, 255-i); in make_image()
64 colors[i] = SkPackARGB32(0xFF, i, 0, 255-i); in make_image()
DClockFaceView.cpp29 return SkPackARGB32(0, x, x, x) | (c & (SK_A32_MASK << SK_A32_SHIFT)); in rgb2gray()
45 fMask = SkPackARGB32(0xFF, redMask, greenMask, blueMask); in SkChannelMaskColorFilter()
DSampleTinyBitmap.cpp20 c[i] = SkPackARGB32(0x80, 0x80, 0, 0); in make_bitmap()
DSampleHairModes.cpp67 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, 0xCC, 0xCC); in make_bg_shader()
DSampleAARectModes.cpp68 *bm.getAddr32(1, 0) = *bm.getAddr32(0, 1) = SkPackARGB32(0xFF, 0xCC, in make_bg_shader()
/external/skia/include/core/
DSkDither.h85 return SkPackARGB32(sa, sr, sg, sb); in SkDitherARGB32For565()
99 return SkPackARGB32(0xFF, sr, sg, sb); in SkDitherRGB32For565()
DSkColorPriv.h376 static inline SkPMColor SkPackARGB32(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPackARGB32() function
410 return SkPackARGB32(a, r, g, b); in SkFourByteInterp256()
533 return SkPackARGB32(a, r, g, b); in SkPremultiplyARGBInline()
690 return SkPackARGB32(0xFF, r, g, b); in SkPixel16ToPixel32()
972 return SkPackARGB32(0xFF, in SkBlendLCD16()
1007 return SkPackARGB32(0xFF, in SkBlendLCD16Opaque()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp554 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red >> 8, in getBitmapColorType()
561 *theTranspColorp = SkPackARGB32(0xFF, in getBitmapColorType()
568 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray >> 8, in getBitmapColorType()
577 *theTranspColorp = SkPackARGB32(0xFF, in getBitmapColorType()
707 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue); in decodePalette()
721 SkPMColor lastColor = index > 0 ? colorPtr[-1] : SkPackARGB32(0xFF, 0, 0, 0); in decodePalette()
DSkMovie_gif.cpp125 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); in copyLine()
392 SkColor bgColor = SkPackARGB32(0, 0, 0, 0); in onGetBitmap()
398 static SkColor paintingColor = SkPackARGB32(0, 0, 0, 0); in onGetBitmap()

123