Searched refs:bgColorLayer (Results 1 – 3 of 3) sorted by relevance
1070 if (!mCurrentState.bgColorLayer && alpha == 0) { in setBackgroundColor()1077 if (!mCurrentState.bgColorLayer && alpha != 0) { in setBackgroundColor()1081 mCurrentState.bgColorLayer = new ColorLayer( in setBackgroundColor()1085 addChild(mCurrentState.bgColorLayer); in setBackgroundColor()1089 mCurrentState.bgColorLayer->onRemovedFromCurrentState(); in setBackgroundColor()1092 } else if (mCurrentState.bgColorLayer && alpha == 0) { in setBackgroundColor()1093 mCurrentState.bgColorLayer->reparent(nullptr); in setBackgroundColor()1094 mCurrentState.bgColorLayer = nullptr; in setBackgroundColor()1098 mCurrentState.bgColorLayer->setColor(color); in setBackgroundColor()1099 mCurrentState.bgColorLayer->setLayer(std::numeric_limits<int32_t>::min()); in setBackgroundColor()[all …]
112 (mCurrentState.buffer != nullptr || mCurrentState.bgColorLayer != nullptr)); in willPresentCurrentTransaction()488 return mCurrentStateModified && (c.buffer != nullptr || c.bgColorLayer != nullptr); in hasFrameUpdate()507 if (s.bgColorLayer) { in updateTexImage()
215 sp<Layer> bgColorLayer; member