Lines Matching refs:strongRelative
273 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in removeRelativeZ() local
274 if (strongRelative == nullptr) { in removeRelativeZ()
279 if (!std::binary_search(layersInTree.begin(), layersInTree.end(), strongRelative.get())) { in removeRelativeZ()
280 strongRelative->removeZOrderRelative(wp<Layer>::fromExisting(this)); in removeRelativeZ()
903 sp<Layer> strongRelative = mDrawingState.zOrderRelativeOf.promote(); in setLayer() local
904 if (strongRelative != nullptr) { in setLayer()
905 strongRelative->removeZOrderRelative(wp<Layer>::fromExisting(this)); in setLayer()
1858 sp<Layer> strongRelative = weakRelative.promote(); in makeTraversalList() local
1859 if (strongRelative != nullptr) { in makeTraversalList()
1860 traverse.add(strongRelative); in makeTraversalList()
1970 sp<Layer> strongRelative = weakRelative.promote(); in makeChildrenTraversalList() local
1973 if (std::binary_search(layersInTree.begin(), layersInTree.end(), strongRelative.get())) { in makeChildrenTraversalList()
1974 traverse.add(strongRelative); in makeChildrenTraversalList()
2265 sp<Layer> strongRelative = weakRelative.promote(); in writeToProtoCommonState() local
2266 if (strongRelative != nullptr) { in writeToProtoCommonState()
2267 layerInfo->add_relatives(strongRelative->sequence); in writeToProtoCommonState()