Lines Matching refs:newParent
1564 sp<Layer> newParent = nullptr; in reparentChildren() local
1569 newParent = handle->owner.promote(); in reparentChildren()
1570 if (newParent == nullptr) { in reparentChildren()
1576 newParent->addChild(child); in reparentChildren()
1580 client->updateParent(newParent); in reparentChildren()
1588 void Layer::setChildrenDrawingParent(const sp<Layer>& newParent) { in setChildrenDrawingParent() argument
1590 child->mDrawingParent = newParent; in setChildrenDrawingParent()
1600 sp<Layer> newParent = handle->owner.promote(); in reparent() local
1601 if (newParent == nullptr) { in reparent()
1610 newParent->addChild(this); in reparent()
1613 sp<Client> newParentClient(newParent->mClientRef.promote()); in reparent()
1616 client->updateParent(newParent); in reparent()