Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordedOp.h366 ShadowOp(sp<TessellationCache::ShadowTask>& shadowTask, float casterAlpha) in ShadowOp()
369 , casterAlpha(casterAlpha) { in ShadowOp()
372 const float casterAlpha; member
DBakedOpDispatcher.cpp702 static void renderShadow(BakedOpRenderer& renderer, const BakedOpState& state, float casterAlpha, in renderShadow() argument
713 paint.setAlpha((uint8_t)(casterAlpha * ambientShadowAlpha)); in renderShadow()
723 paint.setAlpha((uint8_t)(casterAlpha * spotShadowAlpha)); in renderShadow()
731 renderShadow(renderer, state, op.casterAlpha, buffers.first, buffers.second); in onShadowOp()
DFrameBuilder.cpp410 float casterAlpha = properties.getAlpha() * properties.getOutline().getAlpha(); in deferShadow() local
452 casterAlpha >= 1.0f, in deferShadow()
457 ShadowOp* shadowOp = mAllocator.create<ShadowOp>(task, casterAlpha); in deferShadow()
DOpenGLRenderer.h201 void drawShadow(float casterAlpha,
DRenderNode.cpp868 float casterAlpha = properties().getAlpha() * properties().getOutline().getAlpha(); in pushLayerUpdate() local
900 shadowMatrixXY, shadowMatrixZ, casterAlpha, outlinePath); in pushLayerUpdate()
DOpenGLRenderer.cpp2351 void OpenGLRenderer::drawShadow(float casterAlpha,
2367 paint.setARGB(casterAlpha * ambientShadowAlpha, 0, 0, 0);
2376 paint.setARGB(casterAlpha * spotShadowAlpha, 0, 0, 0);
DDisplayListOp.h1492 float casterAlpha, const SkPath* casterOutline) in DrawShadowOp() argument
1496 , mCasterAlpha(casterAlpha) in DrawShadowOp()
/frameworks/base/libs/hwui/tests/unit/
DFrameBuilderTests.cpp1763 EXPECT_FLOAT_EQ(1.0f, op.casterAlpha); in RENDERTHREAD_TEST()