Searched refs:mTopLayerColor (Results 1 – 2 of 2) sorted by relevance
926 mTopLayerColor = RED; in SetUp()931 void setTopLayerColor(IComposerClient::Color color) { mTopLayerColor = color; } in setTopLayerColor()937 {0, 0, mDisplayWidth, mDisplayHeight}, mTopLayerColor); in setUpLayers()965 float alpha = mTopLayerColor.a / 255.0 * layer->mAlpha; in setExpectedColors()968 expectedColors[i].r = mTopLayerColor.r * layer->mAlpha; in setExpectedColors()969 expectedColors[i].g = mTopLayerColor.g * layer->mAlpha; in setExpectedColors()970 expectedColors[i].b = mTopLayerColor.b * layer->mAlpha; in setExpectedColors()976 mTopLayerColor.r * layer->mAlpha + mBackgroundColor.r * (1.0 - alpha); in setExpectedColors()978 mTopLayerColor.g * layer->mAlpha + mBackgroundColor.g * (1.0 - alpha); in setExpectedColors()980 mTopLayerColor.b * layer->mAlpha + mBackgroundColor.b * (1.0 - alpha); in setExpectedColors()[all …]
1064 mTopLayerColor = RED; in SetUp()1069 void setTopLayerColor(Color color) { mTopLayerColor = color; } in setTopLayerColor()1077 mTopLayerColor); in setUpLayers()1107 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()[all …]