Lines Matching refs:leashWinSurfaceNode_

156     node->leashWinSurfaceNode_ = RSSurfaceNode::Create(rsSurfaceNodeConfig, RSSurfaceNodeType::LEASH_WINDOW_NODE);
157 if (node->leashWinSurfaceNode_ == nullptr) {
166 node->leashWinSurfaceNode_ = nullptr;
182 if (RemoteAnimation::CheckRemoteAnimationEnabled(node->GetDisplayId()) && node->leashWinSurfaceNode_) {
184 node->leashWinSurfaceNode_->ResetContextAlpha();
228 if (weakNode == nullptr || weakNode->leashWinSurfaceNode_ == nullptr) {
229 WLOGFE("windowNode or leashWinSurfaceNode_ is nullptr");
235 weakNode->leashWinSurfaceNode_->RemoveChild(weakNode->startingWinSurfaceNode_);
274 if (weakNode == nullptr || weakNode->leashWinSurfaceNode_ == nullptr) {
275 WLOGFE("windowNode or leashWinSurfaceNode_ is nullptr");
282 weakNode->leashWinSurfaceNode_->RemoveChild(weakNode->startingWinSurfaceNode_);
299 if (!node->leashWinSurfaceNode_) {
303 node->leashWinSurfaceNode_->RemoveChild(node->startingWinSurfaceNode_);
304 node->leashWinSurfaceNode_->RemoveChild(node->closeWinSurfaceNode_);
305 node->leashWinSurfaceNode_->RemoveChild(node->surfaceNode_);
306 node->leashWinSurfaceNode_ = nullptr;
311 node->leashWinSurfaceNode_.use_count(), node->startingWinSurfaceNode_.use_count());
337 if (weak->leashWinSurfaceNode_) {
338 weak->leashWinSurfaceNode_->SetBounds(winRect.posX_, winRect.posY_, winRect.width_, winRect.height_);
339 weak->leashWinSurfaceNode_->SetAnimationFinished();
362 dms.UpdateRSTree(displayId, displayId, node->leashWinSurfaceNode_, true, isMultiDisplay);
363 node->leashWinSurfaceNode_->AddChild(node->startingWinSurfaceNode_, -1);
364 TLOGD(WmsLogTag::WMS_MAIN, "Add startingWinSurfaceNode_ to leashWinSurfaceNode_ end during cold start");
370 if (node->leashWinSurfaceNode_) { // to app
371 dms.UpdateRSTree(shownDisplayId, shownDisplayId, node->leashWinSurfaceNode_, true, isMultiDisplay);