Lines Matching refs:clonedLayersMap
2662 std::map<sp<Layer>, sp<Layer>> clonedLayersMap; in updateMirrorInfo() local
2671 mClonedChild->updateClonedDrawingState(clonedLayersMap); in updateMirrorInfo()
2672 mClonedChild->updateClonedChildren(sp<Layer>::fromExisting(this), clonedLayersMap); in updateMirrorInfo()
2673 mClonedChild->updateClonedRelatives(clonedLayersMap); in updateMirrorInfo()
2676 if (clonedLayersMap.find(sp<Layer>::fromExisting(root)) != clonedLayersMap.end()) { in updateMirrorInfo()
2683 void Layer::updateClonedDrawingState(std::map<sp<Layer>, sp<Layer>>& clonedLayersMap) { in updateClonedDrawingState() argument
2690 clonedLayersMap.emplace(clonedFrom, sp<Layer>::fromExisting(this)); in updateClonedDrawingState()
2700 child->updateClonedDrawingState(clonedLayersMap); in updateClonedDrawingState()
2705 std::map<sp<Layer>, sp<Layer>>& clonedLayersMap) { in updateClonedChildren() argument
2718 sp<Layer> clonedChild = clonedLayersMap[child]; in updateClonedChildren()
2721 clonedLayersMap[child] = clonedChild; in updateClonedChildren()
2724 clonedChild->updateClonedChildren(mirrorRoot, clonedLayersMap); in updateClonedChildren()
2728 void Layer::updateClonedInputInfo(const std::map<sp<Layer>, sp<Layer>>& clonedLayersMap) { in updateClonedInputInfo() argument
2731 if (clonedLayersMap.count(cropLayer) == 0) { in updateClonedInputInfo()
2736 const sp<Layer>& clonedCropLayer = clonedLayersMap.at(cropLayer); in updateClonedInputInfo()
2745 void Layer::updateClonedRelatives(const std::map<sp<Layer>, sp<Layer>>& clonedLayersMap) { in updateClonedRelatives() argument
2756 if (clonedLayersMap.count(relative) > 0) { in updateClonedRelatives()
2757 auto& clonedRelative = clonedLayersMap.at(relative); in updateClonedRelatives()
2768 if (clonedLayersMap.count(relativeOf) > 0) { in updateClonedRelatives()
2769 const sp<Layer>& clonedRelativeOf = clonedLayersMap.at(relativeOf); in updateClonedRelatives()
2773 updateClonedInputInfo(clonedLayersMap); in updateClonedRelatives()
2776 child->updateClonedRelatives(clonedLayersMap); in updateClonedRelatives()