Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DSampleShadowColor.cpp101 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()
DSampleShadowUtils.cpp130 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()
DSampleShadowReference.cpp84 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument
87 ambientAlpha = 0; in drawShadowedPath()
97 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
DSampleAndroidShadows.cpp170 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/
DSampleShadowColor.cpp101 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()
DSampleShadowUtils.cpp130 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()
DSampleShadowReference.cpp84 const SkPaint& paint, SkScalar ambientAlpha, in drawShadowedPath() argument
87 ambientAlpha = 0; in drawShadowedPath()
97 SkColor ambientColor = SkColorSetARGB(ambientAlpha * 255, 0, 0, 0); in drawShadowedPath()
DSampleAndroidShadows.cpp170 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/
Dshadowutils.cpp16 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/
Dshadowutils.cpp16 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/
DSkPicturePlayback.cpp479 SkScalar ambientAlpha = reader->readScalar(); in handleOp() local
482 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()
/external/skqp/src/core/
DSkPicturePlayback.cpp471 SkScalar ambientAlpha = reader->readScalar(); in handleOp() local
474 rec.fAmbientColor = SkColorSetA(color, SkColorGetA(color)*ambientAlpha); in handleOp()