Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DReorderBarrierDrawables.cpp136 const SkScalar casterAlpha = in drawShadow() local
138 if (casterAlpha <= 0.0f) { in drawShadow()
142 float ambientAlpha = (SkiaPipeline::getAmbientShadowAlpha() / 255.f) * casterAlpha; in drawShadow()
143 float spotAlpha = (SkiaPipeline::getSpotShadowAlpha() / 255.f) * casterAlpha; in drawShadow()
211 casterAlpha < 1.0f ? SkShadowFlags::kTransparentOccluder_ShadowFlag : 0); in drawShadow()