/external/skqp/samplecode/ |
D | SampleShadowColor.cpp | 102 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 107 spotAlpha = 0; in drawShadowedPath() 129 spotAlpha -= (alpha - 0.3f)*.5f; in drawShadowedPath() 138 SkColor spotGreyscale = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 131 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha, in drawShadowedPath() argument 135 spotAlpha = 255; in drawShadowedPath() 141 spotAlpha = 0; in drawShadowedPath() 148 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 85 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 90 spotAlpha = 0; in drawShadowedPath() 98 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 171 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 174 spotAlpha = 1; in drawShadowedPath() 180 spotAlpha = 0; in drawShadowedPath() 188 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/external/skia/samplecode/ |
D | SampleShadowColor.cpp | 102 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 107 spotAlpha = 0; in drawShadowedPath() 129 spotAlpha -= (alpha - 0.3f)*.5f; in drawShadowedPath() 138 SkColor spotGreyscale = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath() 147 SkColor baseSpot = SkColorSetARGB(spotAlpha*SkColorGetA(color), in drawShadowedPath()
|
D | SampleShadowUtils.cpp | 131 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha, in drawShadowedPath() argument 135 spotAlpha = 255; in drawShadowedPath() 141 spotAlpha = 0; in drawShadowedPath() 148 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 255); in drawShadowedPath()
|
D | SampleShadowReference.cpp | 85 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 90 spotAlpha = 0; in drawShadowedPath() 98 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
D | SampleAndroidShadows.cpp | 171 const SkPoint3& lightPos, SkScalar lightWidth, SkScalar spotAlpha) { in drawShadowedPath() argument 174 spotAlpha = 1; in drawShadowedPath() 180 spotAlpha = 0; in drawShadowedPath() 188 SkColor spotColor = SkColorSetARGB(spotAlpha * 255, 0, 0, 0); in drawShadowedPath()
|
/external/skqp/gm/ |
D | shadowutils.cpp | 17 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
/external/skia/gm/ |
D | shadowutils.cpp | 17 SkScalar spotAlpha = isAmbient ? 0.f : .5f; in draw_shadow() local 20 SkColor spotColor = SkColorSetARGB(spotAlpha*SkColorGetA(color), SkColorGetR(color), in draw_shadow()
|
/external/skia/src/core/ |
D | SkPicturePlayback.cpp | 480 SkScalar spotAlpha = reader->readScalar(); in handleOp() local 483 rec.fSpotColor = SkColorSetA(color, SkColorGetA(color)*spotAlpha); in handleOp()
|
/external/skqp/src/core/ |
D | SkPicturePlayback.cpp | 472 SkScalar spotAlpha = reader->readScalar(); in handleOp() local 475 rec.fSpotColor = SkColorSetA(color, SkColorGetA(color)*spotAlpha); in handleOp()
|