Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/composer/aidl/vts/
DVtsHalGraphicsComposer3_ReadbackTest.cpp1107 float alpha = mTopLayerColor.a * layer->getAlpha(); in setExpectedColors()
1110 expectedColor.r = mTopLayerColor.r * layer->getAlpha(); in setExpectedColors()
1111 expectedColor.g = mTopLayerColor.g * layer->getAlpha(); in setExpectedColors()
1112 expectedColor.b = mTopLayerColor.b * layer->getAlpha(); in setExpectedColors()
1118 mTopLayerColor.r * layer->getAlpha() + mBackgroundColor.r * (1.0f - alpha); in setExpectedColors()
1120 mTopLayerColor.g * layer->getAlpha() + mBackgroundColor.g * (1.0f - alpha); in setExpectedColors()
1122 mTopLayerColor.b * layer->getAlpha() + mBackgroundColor.b * (1.0f - alpha); in setExpectedColors()
DReadbackVts.h88 float getAlpha() const { return mAlpha; } in getAlpha() function