Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/pipeline/skia/
DRenderNodeDrawable.cpp174 static bool layerNeedsPaint(const LayerProperties& properties, float alphaMultiplier, in layerNeedsPaint() argument
176 if (alphaMultiplier < 1.0f || properties.alpha() < 255 || in layerNeedsPaint()
179 paint->setAlpha(properties.alpha() * alphaMultiplier); in layerNeedsPaint()
208 float alphaMultiplier = 1.0f; in drawContent() local
215 setViewProperties(properties, canvas, &alphaMultiplier); in drawContent()
233 layerNeedsPaint(layerProperties, alphaMultiplier, &paint); in drawContent()
341 if (alphaMultiplier < 1.0f) { in drawContent()
344 AlphaFilterCanvas alphaCanvas(canvas, alphaMultiplier); in drawContent()
354 float* alphaMultiplier) { in setViewProperties() argument
384 *alphaMultiplier = properties.getAlpha(); in setViewProperties()
DRenderNodeDrawable.h122 float* alphaMultiplier);