Home
last modified time | relevance | path

Searched refs:spotAlpha (Results 1 – 6 of 6) sorted by relevance

/external/skia/tools/viewer/
DShadowColorSlide.cpp155 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()
DShadowUtilsSlide.cpp213 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()
DShadowReferenceSlide.cpp164 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()
DAndroidShadowsSlide.cpp304 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()
DMaterialShadowsSlide.cpp46 const SkPoint3& lightPos, SkScalar lightRadius, SkScalar spotAlpha) { in drawShadowedPath() argument
51 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
/external/skia/gm/
Dshadowutils.cpp30 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local
33 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()