/third_party/skia/samplecode/ |
D | SampleMaterialShadows.cpp | 62 const SkScalar kSpotAlpha = 0.35f; in onDrawContent() local 78 lightPos, kLightRadius, kSpotAlpha); in onDrawContent() 88 lightPos, kLightRadius, kSpotAlpha); in onDrawContent() 98 lightPos, kLightRadius, kSpotAlpha); in onDrawContent() 108 lightPos, kLightRadius, kSpotAlpha); in onDrawContent() 120 lightPos, kLightRadius, kSpotAlpha); in onDrawContent() 133 lightPos, kLightRadius, kSpotAlpha); in onDrawContent()
|
D | SampleShadowReference.cpp | 116 const SkScalar kSpotAlpha = 0.35f; in onDrawContent() local 133 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 144 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 155 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 166 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 177 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 188 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
D | SampleAndroidShadows.cpp | 184 const SkScalar kSpotAlpha = 0.19f; in onDrawContent() local 196 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 202 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 214 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 220 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 226 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 232 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 238 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 244 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
D | SampleShadowUtils.cpp | 165 static constexpr SkScalar kSpotAlpha = 0.5f; in onDrawContent() local 199 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent() 225 lightPos, kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent()
|
D | SampleShadowColor.cpp | 166 const SkScalar kSpotAlpha = 0.25f; in onDrawContent() local 211 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
/third_party/flutter/skia/samplecode/ |
D | SampleShadowReference.cpp | 116 const SkScalar kSpotAlpha = 0.35f; in onDrawContent() local 133 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 144 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 155 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 166 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 177 lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 188 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
D | SampleAndroidShadows.cpp | 185 const SkScalar kSpotAlpha = 0.19f; in onDrawContent() local 197 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 203 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 215 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 221 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 227 lightPos, kLightWidth, fAnimAlpha*kSpotAlpha); in onDrawContent() 233 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 239 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent() 245 kAmbientAlpha, lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
D | SampleShadowUtils.cpp | 166 static constexpr SkScalar kSpotAlpha = 0.5f; in onDrawContent() local 202 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent() 228 kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent()
|
D | SampleShadowColor.cpp | 166 const SkScalar kSpotAlpha = 0.25f; in onDrawContent() local 211 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
|
/third_party/flutter/engine/flutter/flow/layers/ |
D | physical_shape_layer.cc | 198 const SkScalar kSpotAlpha = 0.25f; in DrawShadow() local 207 SkColor inSpot = SkColorSetA(color, kSpotAlpha * SkColorGetA(color)); in DrawShadow()
|