Searched refs:bgColorLayer (Results 1 – 5 of 5) sorted by relevance
235 backgroundLayer->bgColorLayer = true; in applyTransactions()244 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions() local246 bgColorLayer->parentId = unlinkLayer(bgColorLayer->parentId, bgColorLayer->id); in applyTransactions()247 onHandlesDestroyed({{bgColorLayer->id, bgColorLayer->debugName}}); in applyTransactions()249 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions() local250 bgColorLayer->color = layer->bgColor; in applyTransactions()251 bgColorLayer->dataspace = layer->bgColorDataspace; in applyTransactions()252 bgColorLayer->what |= layer_state_t::eColorChanged | in applyTransactions()254 bgColorLayer->changes |= RequestedLayerState::Changes::Content; in applyTransactions()255 mChangedLayers.push_back(bgColorLayer); in applyTransactions()
139 bool bgColorLayer = false; member
1000 if (!mDrawingState.bgColorLayer && alpha == 0) { in setBackgroundColor()1007 if (!mDrawingState.bgColorLayer && alpha != 0) { in setBackgroundColor()1011 mDrawingState.bgColorLayer = mFlinger->getFactory().createEffectLayer( in setBackgroundColor()1016 addChild(mDrawingState.bgColorLayer); in setBackgroundColor()1020 MUTEX_ALIAS(mFlinger->mStateLock, mDrawingState.bgColorLayer->mFlinger->mStateLock); in setBackgroundColor()1021 mDrawingState.bgColorLayer->onRemovedFromCurrentState(); in setBackgroundColor()1024 } else if (mDrawingState.bgColorLayer && alpha == 0) { in setBackgroundColor()1025 MUTEX_ALIAS(mFlinger->mStateLock, mDrawingState.bgColorLayer->mFlinger->mStateLock); in setBackgroundColor()1026 mDrawingState.bgColorLayer->reparent(nullptr); in setBackgroundColor()1027 mDrawingState.bgColorLayer = nullptr; in setBackgroundColor()[all …]
166 sp<Layer> bgColorLayer; member
2525 layer->bgColorLayer) { in updateLayerSnapshots()2526 sp<Layer> bgColorLayer = getFactory().createEffectLayer( in updateLayerSnapshots() local2530 mLegacyLayers[bgColorLayer->sequence] = bgColorLayer; in updateLayerSnapshots()