/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 101 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 104 ambientAlpha = 0; in drawShadowedPath() 115 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 130 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 134 ambientAlpha = 255; in drawShadowedPath() 138 ambientAlpha = 0; in drawShadowedPath() 147 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 84 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 87 ambientAlpha = 0; in drawShadowedPath() 97 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 170 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 173 ambientAlpha = 1; in drawShadowedPath() 177 ambientAlpha = 0; in drawShadowedPath() 187 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 101 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 104 ambientAlpha = 0; in drawShadowedPath() 115 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() 144 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 130 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 134 ambientAlpha = 255; in drawShadowedPath() 138 ambientAlpha = 0; in drawShadowedPath() 147 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 84 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 87 ambientAlpha = 0; in drawShadowedPath() 97 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 170 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 173 ambientAlpha = 1; in drawShadowedPath() 177 ambientAlpha = 0; in drawShadowedPath() 187 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/external/skqp/gm/ |
D | shadowutils.cpp | 16 SkScalar ambientAlpha = isAmbient ? .5f : 0.f; in draw_shadow() local 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
/external/skia/gm/ |
D | shadowutils.cpp | 16 SkScalar ambientAlpha = isAmbient ? .5f : 0.f; in draw_shadow() local 18 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
/external/skia/src/core/ |
D | SkPicturePlayback.cpp | 479 SkScalar ambientAlpha = reader->readScalar(); in handleOp() local 482 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()
|
/external/skqp/src/core/ |
D | SkPicturePlayback.cpp | 471 SkScalar ambientAlpha = reader->readScalar(); in handleOp() local 474 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()
|