Home
last modified time | relevance | path

Searched refs:kSpotAlpha (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/samplecode/
DSampleMaterialShadows.cpp62 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()
DSampleShadowReference.cpp116 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()
DSampleAndroidShadows.cpp184 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()
DSampleShadowUtils.cpp165 static constexpr SkScalar kSpotAlpha = 0.5f; in onDrawContent() local
199 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent()
225 lightPos, kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent()
DSampleShadowColor.cpp166 const SkScalar kSpotAlpha = 0.25f; in onDrawContent() local
211 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
/third_party/flutter/skia/samplecode/
DSampleShadowReference.cpp116 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()
DSampleAndroidShadows.cpp185 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()
DSampleShadowUtils.cpp166 static constexpr SkScalar kSpotAlpha = 0.5f; in onDrawContent() local
202 lightPos, kLightR, kSpotAlpha, flags); in onDrawContent()
228 kLightR, kSpotAlpha, kNone_ShadowFlag); in onDrawContent()
DSampleShadowColor.cpp166 const SkScalar kSpotAlpha = 0.25f; in onDrawContent() local
211 lightPos, kLightWidth, kSpotAlpha); in onDrawContent()
/third_party/flutter/engine/flutter/flow/layers/
Dphysical_shape_layer.cc198 const SkScalar kSpotAlpha = 0.25f; in DrawShadow() local
207 SkColor inSpot = SkColorSetA(color, kSpotAlpha * SkColorGetA(color)); in DrawShadow()