Home
last modified time | relevance | path

Searched refs:layerMap (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/layerproto/
DLayerProtoParser.cpp58 std::unordered_map<int32_t, Layer*> layerMap; in generateLayerList() local
62 layerMap.reserve(layersProto.layers_size()); in generateLayerList()
66 layerMap[layerList.back().id] = &layerList.back(); in generateLayerList()
71 updateChildrenAndRelative(layersProto.layers(i), layerMap); in generateLayerList()
174 std::unordered_map<int32_t, Layer*>& layerMap) { in updateChildrenAndRelative() argument
175 auto currLayer = layerMap[layerProto.id()]; in updateChildrenAndRelative()
178 if (layerMap.count(layerProto.children(i)) > 0) { in updateChildrenAndRelative()
179 currLayer->children.push_back(layerMap[layerProto.children(i)]); in updateChildrenAndRelative()
184 if (layerMap.count(layerProto.relatives(i)) > 0) { in updateChildrenAndRelative()
185 currLayer->relatives.push_back(layerMap[layerProto.relatives(i)]); in updateChildrenAndRelative()
[all …]
/frameworks/native/services/surfaceflinger/layerproto/include/layerproto/
DLayerProtoParser.h143 std::unordered_map<int32_t, Layer*>& layerMap);