Searched refs:ambientAlpha (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/samplecode/ |
D | SampleShadowColor.cpp | 96 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 99 ambientAlpha = 0; in drawShadowedPath() 110 SkColor ambientColor = SkColorSetARGB(ambientAlpha*255, 0, 0, 0); in drawShadowedPath() 139 SkColor baseAmbient = SkColorSetARGB(ambientAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 122 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 126 ambientAlpha = 255; in drawShadowedPath() 130 ambientAlpha = 0; in drawShadowedPath() 139 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 255, 0, 0); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 78 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 81 ambientAlpha = 0; in drawShadowedPath() 91 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 145 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 148 ambientAlpha = 1; in drawShadowedPath() 152 ambientAlpha = 0; in drawShadowedPath() 162 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleMaterialShadows.cpp | 44 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument 49 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/third_party/skia/gm/ |
D | shadowutils.cpp | 29 SkScalar ambientAlpha = isAmbient ? .5f : 0.f; in draw_shadow() local 31 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|