Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp172 static bool layerNeedsPaint(const LayerProperties& properties, float alphaMultiplier, in layerNeedsPaint() argument
175 if (alphaMultiplier < 1.0f || properties.alpha() < 255 || in layerNeedsPaint()
177 paint->setAlpha(properties.alpha() * alphaMultiplier); in layerNeedsPaint()
210 float alphaMultiplier = 1.0f; in drawContent() local
217 setViewProperties(properties, canvas, &alphaMultiplier); in drawContent()
232 layerNeedsPaint(layerProperties, alphaMultiplier, &paint); in drawContent()
257 if (alphaMultiplier < 1.0f) { in drawContent()
260 AlphaFilterCanvas alphaCanvas(canvas, alphaMultiplier); in drawContent()
270 float* alphaMultiplier) { in setViewProperties() argument
293 *alphaMultiplier = properties.getAlpha(); in setViewProperties()
DRenderNodeDrawable.h122 float* alphaMultiplier);