Home
last modified time | relevance | path

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

/third_party/skia/samplecode/
DSampleShadowColor.cpp96 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()
DSampleShadowUtils.cpp122 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()
DSampleShadowReference.cpp78 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument
81 ambientAlpha = 0; in drawShadowedPath()
91 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
DSampleAndroidShadows.cpp145 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()
DSampleMaterialShadows.cpp44 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument
49 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
/third_party/skia/gm/
Dshadowutils.cpp29 SkScalar ambientAlpha = isAmbient ? .5f : 0.f; in draw_shadow() local
31 SkColor ambientColor = SkColorSetARGB(ambientAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()