Searched refs:spotAlpha (Results 1 – 6 of 6) sorted by relevance
/external/skia/tools/viewer/ |
D | ShadowColorSlide.cpp | 155 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 160 spotAlpha = 0; in drawShadowedPath() 182 spotAlpha -= (alpha - 0.3f)*.5f; in drawShadowedPath() 191 SkColor spotGreyscale = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() 200 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | ShadowUtilsSlide.cpp | 213 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha, in drawShadowedPath() argument 217 spotAlpha = 255; in drawShadowedPath() 223 spotAlpha = 0; in drawShadowedPath() 230 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath()
|
D | ShadowReferenceSlide.cpp | 164 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 169 spotAlpha = 0; in drawShadowedPath() 177 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | AndroidShadowsSlide.cpp | 304 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 307 spotAlpha = 1; in drawShadowedPath() 313 spotAlpha = 0; in drawShadowedPath() 324 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | MaterialShadowsSlide.cpp | 46 const SkPoint3& lightPos, SkScalar lightRadius, SkScalar spotAlpha) { in drawShadowedPath() argument 51 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/external/skia/gm/ |
D | shadowutils.cpp | 30 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local 33 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|