Lines Matching refs:RequestedLayerState

33 bool canMirrorRootLayer(RequestedLayerState& mirroringLayer, RequestedLayerState& rootLayer) {  in canMirrorRootLayer()
39 void LayerLifecycleManager::addLayers(std::vector<std::unique_ptr<RequestedLayerState>> newLayers) { in addLayers()
44 mGlobalChanges |= RequestedLayerState::Changes::Hierarchy; in addLayers()
46 RequestedLayerState& layer = *newLayer.get(); in addLayers()
101 RequestedLayerState& layer = it->second.owner; in onHandlesDestroyed()
107 layer.changes |= RequestedLayerState::Changes::Destroyed; in onHandlesDestroyed()
115 mGlobalChanges |= RequestedLayerState::Changes::Hierarchy; in onHandlesDestroyed()
122 RequestedLayerState& layer = it->second.owner; in onHandlesDestroyed()
138 RequestedLayerState* linkedLayer = getLayerFromId(linkedLayerId); in onHandlesDestroyed()
145 linkedLayer->changes |= RequestedLayerState::Changes::Destroyed; in onHandlesDestroyed()
153 linkedLayer->changes |= RequestedLayerState::Changes::Mirror; in onHandlesDestroyed()
157 linkedLayer->changes |= RequestedLayerState::Changes::Mirror; in onHandlesDestroyed()
168 RequestedLayerState* layer = it->get(); in onHandlesDestroyed()
169 if (layer->changes.test(RequestedLayerState::Changes::Destroyed)) { in onHandlesDestroyed()
195 RequestedLayerState* layer = getLayerFromId(layerId); in applyTransactions()
214 layer->changes |= RequestedLayerState::Changes::Animation; in applyTransactions()
231 std::vector<std::unique_ptr<RequestedLayerState>> newLayers; in applyTransactions()
233 std::make_unique<RequestedLayerState>(backgroundLayerArgs)); in applyTransactions()
234 RequestedLayerState* backgroundLayer = newLayers.back().get(); in applyTransactions()
244 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions()
249 RequestedLayerState* bgColorLayer = getLayerFromId(layer->bgColorLayerId); in applyTransactions()
254 bgColorLayer->changes |= RequestedLayerState::Changes::Content; in applyTransactions()
256 mGlobalChanges |= RequestedLayerState::Changes::Content; in applyTransactions()
314 const std::vector<std::unique_ptr<RequestedLayerState>>& LayerLifecycleManager::getLayers() const { in getLayers()
318 const std::vector<std::unique_ptr<RequestedLayerState>>& LayerLifecycleManager::getDestroyedLayers() in getDestroyedLayers()
323 const std::vector<RequestedLayerState*>& LayerLifecycleManager::getChangedLayers() const { in getChangedLayers()
327 const ftl::Flags<RequestedLayerState::Changes> LayerLifecycleManager::getGlobalChanges() const { in getGlobalChanges()
331 const RequestedLayerState* LayerLifecycleManager::getLayerFromId(uint32_t id) const { in getLayerFromId()
342 RequestedLayerState* LayerLifecycleManager::getLayerFromId(uint32_t id) { in getLayerFromId()
410 RequestedLayerState& layer = it->second.owner; in fixRelativeZLoop()
413 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::RelativeParent; in fixRelativeZLoop()
414 mGlobalChanges |= RequestedLayerState::Changes::Hierarchy; in fixRelativeZLoop()
422 void LayerLifecycleManager::updateDisplayMirrorLayers(RequestedLayerState& rootLayer) { in updateDisplayMirrorLayers()
424 RequestedLayerState* mirrorLayer = getLayerFromId(mirroringLayerId); in updateDisplayMirrorLayers()
433 mirrorLayer->changes |= RequestedLayerState::Changes::Mirror; in updateDisplayMirrorLayers()
437 mirrorLayer->changes |= RequestedLayerState::Changes::Mirror; in updateDisplayMirrorLayers()