Searched refs:casterAlpha (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ReorderBarrierDrawables.cpp | 129 const SkScalar casterAlpha = in drawShadow() local 131 if (casterAlpha <= 0.0f) { in drawShadow() 135 float ambientAlpha = (SkiaPipeline::getAmbientShadowAlpha() / 255.f) * casterAlpha; in drawShadow() 136 float spotAlpha = (SkiaPipeline::getSpotShadowAlpha() / 255.f) * casterAlpha; in drawShadow() 199 casterAlpha < 1.0f ? SkShadowFlags::kTransparentOccluder_ShadowFlag : 0); in drawShadow()
|
/frameworks/base/libs/hwui/ |
D | RecordedOp.h | 345 ShadowOp(sp<TessellationCache::ShadowTask>& shadowTask, float casterAlpha) in ShadowOp() 348 , casterAlpha(casterAlpha){}; in ShadowOp() 350 const float casterAlpha; member
|
D | BakedOpDispatcher.cpp | 695 static void renderShadow(BakedOpRenderer& renderer, const BakedOpState& state, float casterAlpha, in renderShadow() argument 707 paint.setAlpha((uint8_t)(casterAlpha * ambientShadowAlpha)); in renderShadow() 717 paint.setAlpha((uint8_t)(casterAlpha * spotShadowAlpha)); in renderShadow() 726 renderShadow(renderer, state, op.casterAlpha, buffers.first, buffers.second); in onShadowOp()
|
D | FrameBuilder.cpp | 403 float casterAlpha = properties.getAlpha() * properties.getOutline().getAlpha(); in deferShadow() local 444 casterAlpha >= 1.0f, casterPath, &shadowMatrixXY, &shadowMatrixZ, in deferShadow() 446 ShadowOp* shadowOp = mAllocator.create<ShadowOp>(task, casterAlpha); in deferShadow()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FrameBuilderTests.cpp | 1875 EXPECT_FLOAT_EQ(1.0f, op.casterAlpha); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|