/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | multi_composed_element.cpp | 50 auto newChild = UpdateChildWithSlot( in UpdateChildren() 52 countRenderNode_ += newChild->CountRenderNode(); in UpdateChildren() 66 auto newChild = UpdateChildWithSlot( in UpdateChildren() variable 68 countRenderNode_ += newChild->CountRenderNode(); in UpdateChildren() 90 auto newChild = UpdateChildWithSlot( 92 countRenderNode_ += newChild->CountRenderNode(); 125 auto newChild = UpdateChildWithSlot( 127 countRenderNode_ += newChild->CountRenderNode(); 132 auto newChild = UpdateChildWithSlot( 134 countRenderNode_ += newChild [all...] |
H A D | component_group_element.cpp | 94 auto newChild = UpdateChildWithSlot(nullptr, component, slot++, renderSlot); in UpdateChildrenForDeclarative() local 95 if (newChild) { in UpdateChildrenForDeclarative() 96 renderSlot += newChild->CountRenderNode(); in UpdateChildrenForDeclarative() 110 auto newChild = UpdateChildWithSlot(*(itChild++), component, slot++, renderSlot); in UpdateChildrenForDeclarative() local 111 renderSlot += newChild->CountRenderNode(); in UpdateChildrenForDeclarative()
|
H A D | element.cpp | 210 auto newChild = InflateComponent(newComponent, slot, renderSlot); in UpdateChildWithSlot() local 211 ElementRegister::GetInstance()->AddElement(newChild); in UpdateChildWithSlot() 212 return newChild; in UpdateChildWithSlot() 233 auto newChild = InflateComponent(newComponent, slot, renderSlot); in UpdateChildWithSlot() local 234 ElementRegister::GetInstance()->AddElement(newChild); in UpdateChildWithSlot() 235 return newChild; in UpdateChildWithSlot() 258 auto newChild = DoUpdateChildWithNewComponent(child, newComponent, slot, renderSlot); in UpdateChildWithSlot() local 259 if (newChild != nullptr) { in UpdateChildWithSlot() 260 newChild->SetElementId(newComponent->GetElementId()); in UpdateChildWithSlot() 261 ElementRegister::GetInstance()->AddElement(newChild); in UpdateChildWithSlot() 390 RefPtr<Element> newChild = newComponent->CreateElement(); InflateComponent() local [all...] |
H A D | composed_element.cpp | 225 RefPtr<Element> newChild; in UpdateChild() local 227 newChild = UpdateChildWithSlot(child, newComponent, DEFAULT_ELEMENT_SLOT, GetRenderSlot()); in UpdateChild() 229 newChild = UpdateChildWithSlot(child, newComponent, DEFAULT_ELEMENT_SLOT, DEFAULT_RENDER_SLOT); in UpdateChild() 231 countRenderNode_ = newChild ? newChild->CountRenderNode() : 0; in UpdateChild() 232 return newChild; in UpdateChild()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | title_bar_node.cpp | 39 void TitleBarNode::FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) in FastPreviewUpdateChild() argument 43 title_ = newChild; in FastPreviewUpdateChild() 45 menu_ = newChild; in FastPreviewUpdateChild() 47 UINode::FastPreviewUpdateChild(slot, newChild); in FastPreviewUpdateChild()
|
H A D | title_bar_node.h | 91 void FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) override;
|
/foundation/arkui/ace_engine/frameworks/core/components/flex/ |
H A D | flex_component_v2.cpp | 92 RefPtr<Component> newChild = AddFlexItemComponent(child); in OnChildAppended() local 93 if (newChild != child) { in OnChildAppended() 95 AppendChildDirectly(newChild); in OnChildAppended()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | group_node.h | 33 void FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) override 36 AddChildToGroup(newChild, slot);
|
H A D | ui_node.h | 419 virtual void FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) in FastPreviewUpdateChild() argument 422 newChild->MountToParent(AceType::Claim(this), slot, false); in FastPreviewUpdateChild()
|
H A D | frame_node.cpp | 493 auto newChild = CreateFrameNode(tag, nodeId, pattern, true); in CreateFrameNodeWithTree() local 494 newChild->SetDepth(1); in CreateFrameNodeWithTree() 495 return newChild; in CreateFrameNodeWithTree()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_tabs.cpp | 74 auto newChild = CreateChild(); in SetSpecializedAttr() local 76 newChild->AppendChild(child); in SetSpecializedAttr() 78 flexChild_ = newChild; in SetSpecializedAttr()
|
/foundation/arkui/ace_engine/adapter/preview/inspector/ |
H A D | js_inspector_manager.cpp | 215 auto newChild = GetNewFrameNodeWithJsCode(root); in OperateComponent() local 216 CHECK_NULL_RETURN(newChild, false); // newChild should not be nullptr in OperateComponent() 220 return OperateGeneralUINode(parent, slot, newChild); in OperateComponent() 231 return OperateGeneralUINode(parents_[uiNode->GetId()].Upgrade(), slots_[uiNode->GetId()], newChild); in OperateComponent() 240 return OperateGeneralUINode(parent, slot, newChild); in OperateComponent() 289 bool JsInspectorManager::OperateGeneralUINode(RefPtr<NG::UINode> parent, int32_t slot, RefPtr<NG::UINode> newChild) in OperateGeneralUINode() argument 292 parent->FastPreviewUpdateChild(slot, newChild); in OperateGeneralUINode() 293 newChild->FastPreviewUpdateChildDone(); in OperateGeneralUINode() 294 newChild in OperateGeneralUINode() [all...] |
H A D | js_inspector_manager.h | 51 bool OperateGeneralUINode(RefPtr<NG::UINode> parent, int32_t slot, RefPtr<NG::UINode> newChild);
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | tab_content_element.cpp | 161 auto newChild = UpdateChild(nullptr, *it); in PerformBuild() local 163 childMap_.emplace(target, newChild); in PerformBuild() 164 auto renderChild = newChild->GetRenderNode(); in PerformBuild()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | parallel_recognizer.cpp | 194 auto newChild = *currIter; in ReconcileFrom() local 195 if (!child || !child->ReconcileFrom(newChild)) { in ReconcileFrom()
|
H A D | exclusive_recognizer.cpp | 289 auto newChild = *currIter; in ReconcileFrom() local 290 if (!child || !child->ReconcileFrom(newChild)) { in ReconcileFrom()
|
H A D | sequenced_recognizer.cpp | 341 auto newChild = *currIter; in ReconcileFrom() local 342 if (!child || !child->ReconcileFrom(newChild)) { in ReconcileFrom()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | for_each_node.cpp | 130 for (const auto& newChild : additionalChildComps) { in CompareAndUpdateChildren() 131 newChild->AttachToMainTree(false, GetContext()); in CompareAndUpdateChildren()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | render_list.cpp | 1580 RefPtr<RenderListItem> newChild; in RequestAndLayoutNewItem() local 1582 newChild = currentStickyItem_; in RequestAndLayoutNewItem() 1586 newChild = RequestListItem(index); in RequestAndLayoutNewItem() 1588 if (newChild) { in RequestAndLayoutNewItem() 1590 AddChildItem(newChild); in RequestAndLayoutNewItem() 1591 LayoutChild(newChild, currMainPos, forward); in RequestAndLayoutNewItem() 1595 if (newChild) { in RequestAndLayoutNewItem() 1597 items_.emplace_front(newChild); in RequestAndLayoutNewItem() 1599 items_.emplace_back(newChild); in RequestAndLayoutNewItem() 1602 return newChild; in RequestAndLayoutNewItem() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/ |
H A D | navrouter_model_test_ng.cpp | 421 auto newChild = FrameNode::CreateFrameNode("newChild", 33, AceType::MakeRefPtr<TextPattern>()); in HWTEST_F() local 424 titleBarNode->FastPreviewUpdateChild(0, newChild); in HWTEST_F() 428 titleBarNode->FastPreviewUpdateChild(2, newChild); in HWTEST_F() 440 * @tc.steps: step1. create navBar newChild then call AddChildToGroup. in HWTEST_F() 444 auto newChild = FrameNode::CreateFrameNode("newChild", 22, AceType::MakeRefPtr<TextPattern>()); in HWTEST_F() local 447 navBar->AddChildToGroup(newChild); in HWTEST_F() 449 navBar->AddChildToGroup(newChild); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | inspector_composed_element.cpp | 1422 auto newChild = rootElement->InflateComponent(newComponent, child->GetSlot(), child->GetRenderSlot()); in UpdateChildWithSlot() local 1423 ElementRegister::GetInstance()->AddElement(newChild); in UpdateChildWithSlot()
|