Searched refs:kAmbientAlpha (Results 1 – 4 of 4) sorted by relevance
/external/skia/samplecode/ |
D | SampleShadowReference.cpp | 120 const SkScalar kAmbientAlpha = 0.03f; in onDrawContent() local 137 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 148 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 159 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 170 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 181 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 192 this->drawShadowedPath(canvas, fRRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent()
|
D | SampleAndroidShadows.cpp | 167 const SkScalar kAmbientAlpha = 0.1f; in onDrawContent() local 179 this->drawShadowedPath(canvas, fRRPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 185 this->drawShadowedPath(canvas, fRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 191 this->drawShadowedPath(canvas, fCirclePath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 197 this->drawShadowedPath(canvas, fRRPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 203 this->drawShadowedPath(canvas, fFunkyRRPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent() 210 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
D | SampleShadowColor.cpp | 158 const SkScalar kAmbientAlpha = 0.03f; in onDrawContent() local 203 this->drawShadowedPath(canvas, fRectPath, zPlaneParams, paint, kAmbientAlpha, in onDrawContent()
|
D | SampleShadowUtils.cpp | 154 static constexpr SkScalar kAmbientAlpha = 0.5f; in onDrawContent() local 188 drawShadowedPath(canvas, path, zPlaneParams, paint, kAmbientAlpha, lightPos, in onDrawContent()
|