Home
last modified time | relevance | path

Searched refs:newChild (Results 1 - 21 of 21) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dmulti_composed_element.cpp50 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 Dcomponent_group_element.cpp94 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 Delement.cpp210 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 Dcomposed_element.cpp225 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 Dtitle_bar_node.cpp39 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 Dtitle_bar_node.h91 void FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) override;
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_component_v2.cpp92 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 Dgroup_node.h33 void FastPreviewUpdateChild(int32_t slot, const RefPtr<UINode>& newChild) override
36 AddChildToGroup(newChild, slot);
H A Dui_node.h419 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 Dframe_node.cpp493 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 Ddom_tabs.cpp74 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 Djs_inspector_manager.cpp215 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 Djs_inspector_manager.h51 bool OperateGeneralUINode(RefPtr<NG::UINode> parent, int32_t slot, RefPtr<NG::UINode> newChild);
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_content_element.cpp161 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 Dparallel_recognizer.cpp194 auto newChild = *currIter; in ReconcileFrom() local
195 if (!child || !child->ReconcileFrom(newChild)) { in ReconcileFrom()
H A Dexclusive_recognizer.cpp289 auto newChild = *currIter; in ReconcileFrom() local
290 if (!child || !child->ReconcileFrom(newChild)) { in ReconcileFrom()
H A Dsequenced_recognizer.cpp341 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 Dfor_each_node.cpp130 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 Drender_list.cpp1580 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 Dnavrouter_model_test_ng.cpp421 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 Dinspector_composed_element.cpp1422 auto newChild = rootElement->InflateComponent(newComponent, child->GetSlot(), child->GetRenderSlot()); in UpdateChildWithSlot() local
1423 ElementRegister::GetInstance()->AddElement(newChild); in UpdateChildWithSlot()

Completed in 27 milliseconds