Home
last modified time | relevance | path

Searched refs:children (Results 1 - 25 of 474) sorted by relevance

12345678910>>...19

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcomponent_factory.h72 static Component* CreateComponent(uint16_t componentNameId, jerry_value_t options, jerry_value_t children) in CreateComponent() argument
88 component = new CameraComponent(options, children, styleManager); in CreateComponent()
93 component = new CanvasComponent(options, children, styleManager); in CreateComponent()
97 component = new DivComponent(options, children, styleManager); in CreateComponent()
100 component = new StackComponent(options, children, styleManager); in CreateComponent()
103 component = new ImageComponent(options, children, styleManager); in CreateComponent()
106 component = new ImageAnimatorComponent(options, children, styleManager); in CreateComponent()
111 component = new CircleProgressComponent(options, children, styleManager); in CreateComponent()
114 component = new HorizonProgressComponent(options, children, styleManager); in CreateComponent()
120 component = new TabBarComponent(options, children, styleManage in CreateComponent()
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dmulti_child.h31 explicit MultiChild(const std::list<RefPtr<Component>>& children) : children_(children) {} in MultiChild() argument
45 auto& children = ExpandChildren(); in AddChild() local
46 auto it = std::find(children.begin(), children.end(), child); in AddChild()
47 if (it != children.end()) { in AddChild()
52 children.emplace_back(child); in AddChild()
61 auto& children = ExpandChildren(); in RemoveChild() local
62 auto it = std::find(children.begin(), children in RemoveChild()
73 auto& children = ExpandChildren(); RemoveChildren() local
82 const auto& children = GetChildren(); Count() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dstack_tdd_test.cpp50 Component *StackTddTest::GetRenderedComponent(uint16_t componentKeyId, jerry_value_t children) const in GetRenderedComponent()
52 Component *component = ComponentFactory::CreateComponent(componentKeyId, optionsObj_, children); in GetRenderedComponent()
59 jerry_value_t children = jerry_create_null(); in CreateChildComponent() local
60 Component *stack = ComponentFactory::CreateComponent(KeyParser::ParseKeyId("stack"), childOptions, children); in CreateChildComponent()
62 jerry_release_value(children); in CreateChildComponent()
81 jerry_value_t children = jerry_create_null(); in ComponentStackTest001() local
82 Component *component = GetRenderedComponent(componentNameId_, children); in ComponentStackTest001()
91 jerry_release_value(children); in ComponentStackTest001()
106 * @tc.steps: step2. set children object in ComponentStackTest002()
109 jerry_value_t children in ComponentStackTest002() local
145 jerry_value_t children = jerry_create_array(childrenNum); ComponentStackTest003() local
193 jerry_value_t children = jerry_create_array(childrenNum); ComponentStackTest004() local
241 jerry_value_t children = jerry_create_array(childrenNum); ComponentStackTest005() local
289 jerry_value_t children = jerry_create_array(childrenNum); ComponentStackTest006() local
[all...]
H A Dlist_tdd_test.cpp55 jerry_value_t children = jerry_create_null(); in ListTest001() local
57 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in ListTest001()
58 jerry_release_value(children); in ListTest001()
94 jerry_value_t children = jerry_create_null(); in ListTest002() local
97 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in ListTest002()
98 jerry_release_value(children); in ListTest002()
136 jerry_value_t children = jerry_create_null(); in ListTest003() local
139 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in ListTest003()
140 jerry_release_value(children); in ListTest003()
178 jerry_value_t children in ListTest004() local
[all...]
H A Dhorizonprogress_tdd_test.cpp64 jerry_value_t children = jerry_create_null(); in HorizonProgressTest001() local
67 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in HorizonProgressTest001()
107 jerry_value_t children = jerry_create_null(); in HorizonProgressTest002() local
110 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in HorizonProgressTest002()
150 jerry_value_t children = jerry_create_null(); in HorizonProgressTest003() local
153 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in HorizonProgressTest003()
201 jerry_value_t children = jerry_create_null(); in HorizonProgressTest004() local
204 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in HorizonProgressTest004()
245 jerry_value_t children = jerry_create_null(); in HorizonProgressTest005() local
248 Component* component = ComponentFactory::CreateComponent(componentNameId, objGlob, children); in HorizonProgressTest005()
290 jerry_value_t children = jerry_create_null(); HorizonProgressTest006() local
334 jerry_value_t children = jerry_create_null(); HorizonProgressTest007() local
378 jerry_value_t children = jerry_create_null(); HorizonProgressTest008() local
425 jerry_value_t children = jerry_create_null(); HorizonProgressTest009() local
477 jerry_value_t children = jerry_create_null(); HorizonProgressTest013() local
525 jerry_value_t children = jerry_create_null(); HorizonProgressTest014() local
566 jerry_value_t children = jerry_create_null(); HorizonProgressTest015() local
607 jerry_value_t children = jerry_create_null(); HorizonProgressTest016() local
648 jerry_value_t children = jerry_create_null(); HorizonProgressTest017() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dstage_manager.cpp172 const auto& children = stageNode_->GetChildren(); in PushPage() local
174 needTransition &= !children.empty(); in PushPage()
175 if (children.empty()) { in PushPage()
192 if (!children.empty() && needHideLast) { in PushPage()
193 hidePageNode = children.back(); in PushPage()
273 const auto& children = stageNode_->GetChildren(); in InsertPage() local
274 if (children.empty()) { in InsertPage()
280 targetNode = AceType::DynamicCast<FrameNode>(children.back()); in InsertPage()
282 targetNode = AceType::DynamicCast<FrameNode>(children.front()); in InsertPage()
313 const auto& children in PopPage() local
358 const auto& children = stageNode_->GetChildren(); PopPageToIndex() local
422 const auto& children = stageNode_->GetChildren(); CleanPageStack() local
444 const auto& children = stageNode_->GetChildren(); MovePageToFront() local
551 const auto& children = stageNode_->GetChildren(); GetLastPage() local
561 const auto& children = stageNode_->GetChildren(); GetPageById() local
573 const auto& children = stageNode_->GetChildren(); ReloadStage() local
590 const auto& children = stageNode_->GetChildren(); GetLastPageWithTransition() local
605 const auto& children = stageNode_->GetChildren(); GetPrevPageWithTransition() local
[all...]
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Drender_module.cpp42 jerry_value_t RenderModule::CreateElement(jerry_value_t tagName, jerry_value_t options, jerry_value_t children) in CreateElement() argument
60 Component *component = ComponentFactory::CreateComponent(componentNameId, options, children); in CreateElement()
62 // Release all children before we return UNDEFINED to avoid the children becoming ownerless in this case. in CreateElement()
64 DescriptorUtils::ReleaseDescriptorOrElements(children); in CreateElement()
71 // render failed, drop this element by release its all children and itself in CreateElement()
72 DescriptorUtils::ReleaseDescriptorOrElements(children); in CreateElement()
90 jerry_value_t children; in CreateElement() local
95 children = args[childrenNum]; in CreateElement()
100 children in CreateElement()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dui_node.cpp124 // remove from disappearing children in AddChild()
184 // remove from disappearing children in AddChildAfter()
207 // remove from disappearing children in AddChildBefore()
223 LOGF("Try to remove the child([%{public}s][%{public}d]) of node [%{public}s][%{public}d] when its children " in TraversingCheck()
226 LOGF("Try to remove all the children of node [%{public}s][%{public}d] when its children is traversing", in TraversingCheck()
246 // disappearing children. This ensures that the child remains alive and the tree hierarchy is preserved until the in RemoveChild()
252 // else move child into disappearing children, skip syncing render tree in RemoveChild()
259 LOGW("Iter is qeual to children end"); in RemoveChild()
275 auto children in RemoveChildAtIndex() local
286 auto& children = GetChildren(); GetChildAtIndex() local
328 auto children = GetChildren(); Clean() local
373 auto children = GetChildren(); UpdateConfigurationUpdate() local
524 auto& children = parent->ModifyChildren(); RemoveFromParentCleanly() local
724 std::list<RefPtr<UINode>> children = GetChildren(); DetachFromMainTree() local
745 const auto& children = GetChildren(true); UpdateChildrenFreezeState() local
755 std::list<RefPtr<UINode>> children = GetChildren(); FireCustomDisappear() local
781 auto& children = parentNode->children_; MovePosition() local
861 auto children = GetChildren(); UpdateGeometryTransition() local
919 std::unique_ptr<JsonValue> children = JsonUtil::Create(true); DumpTree() local
999 std::unique_ptr<JsonValue> children = JsonUtil::Create(true); DumpTreeById() local
1142 auto children = GetChildren(); TouchTest() local
1161 auto children = GetChildren(); MouseTest() local
1179 auto children = GetChildren(); AxisTest() local
1221 auto children = GetChildren(); GetChildIndexById() local
1241 auto children = child->GetChildren(); CreateLayoutWrapper() local
1267 std::vector<RefPtr<UINode>> children; Build() local
1383 const auto children = GetChildren(); MarkRemoving() local
1392 auto children = GetChildren(); SetChildrenInDestroying() local
1451 auto children = GetChildren(); RemoveImmediately() local
1461 auto children = GetChildren(); GetPerformanceCheckData() local
1627 auto children = GetChildren(); SetParentLayoutConstraint() local
[all...]
H A Dinspector.cpp36 const char INSPECTOR_CHILDREN[] = "$children";
69 const auto& children = current->GetChildren(notDetach); in GetInspectorByKey() local
70 for (const auto& child : children) { in GetInspectorByKey()
83 const auto& children = element->GetChildren(); in DumpElementTree() local
84 depthElementMap[depth].insert(depthElementMap[depth].end(), children.begin(), children.end()); in DumpElementTree()
85 for (const auto& depthElement : children) { in DumpElementTree()
100 void GetFrameNodeChildren(const RefPtr<NG::UINode>& uiNode, std::vector<RefPtr<NG::UINode>>& children, int32_t pageId, in GetFrameNodeChildren() argument
117 children.emplace_back(uiNode); in GetFrameNodeChildren()
123 GetFrameNodeChildren(frameChild, children, pageI in GetFrameNodeChildren()
209 std::vector<RefPtr<NG::UINode>> children; GetInspectorChildren() local
232 GetFrameNodeChildren(const RefPtr<NG::UINode>& uiNode, std::vector<RefPtr<NG::UINode>>& children, int32_t pageId, bool isLayoutInspector = false) GetFrameNodeChildren() argument
348 std::vector<RefPtr<NG::UINode>> children; GetInspectorChildren() local
405 GetInspectorInfo(std::vector<RefPtr<NG::UINode>> children, int32_t pageId, std::unique_ptr<JsonValue> jsonRoot, bool isLayoutInspector, const InspectorFilter& filter = InspectorFilter()) GetInspectorInfo() argument
601 std::vector<RefPtr<NG::UINode>> children; GetInspector() local
648 std::vector<RefPtr<NG::UINode>> children; GetSubWindowInspector() local
716 std::vector<RefPtr<NG::UINode>> children; GetSimplifiedInspectorChildren() local
757 std::vector<RefPtr<NG::UINode>> children; GetSimplifiedInspector() local
864 std::vector<RefPtr<NG::UINode>> children; GetInspectorTree() local
896 GetInspectorTreeInfo( std::vector<RefPtr<NG::UINode>> children, int32_t pageId, InspectorTreeMap& recNodes) GetInspectorTreeInfo() argument
918 std::vector<RefPtr<NG::UINode>> children; GetInspectorChildrenInfo() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/stage/
H A Drender_stage.cpp136 auto children = stageElement->GetChildren(); in HandleDragUpdate() local
137 if (children.size() < LEAST_DRAG_BACK_PAGES) { in HandleDragUpdate()
138 LOGE("children size less than two."); in HandleDragUpdate()
141 auto childIter = children.rbegin(); in HandleDragUpdate()
168 auto children = stageElement->GetChildren(); in HandleDragStart() local
169 if (children.size() < LEAST_DRAG_BACK_PAGES) { in HandleDragStart()
170 LOGE("Notify drag back failed. children size less than two."); in HandleDragStart()
173 auto childIter = children.rbegin(); in HandleDragStart()
225 auto children = stageElement->GetChildren(); in HandleDragEnd()
226 if (children in HandleDragEnd()
272 auto children = stageElement->GetChildren(); GetControllers() local
[all...]
H A Dstage_component.h30 explicit StageComponent(const std::list<RefPtr<Component>>& children) in StageComponent() argument
31 : StackComponent(Alignment::TOP_LEFT, StackFit::INHERIT, Overflow::OBSERVABLE, children) in StageComponent()
33 StageComponent(const std::list<RefPtr<Component>>& children, bool isSectionStage) in StageComponent() argument
34 : StackComponent(Alignment::TOP_LEFT, StackFit::INHERIT, Overflow::OBSERVABLE, children), in StageComponent()
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_bar_item_component.cpp36 std::list<RefPtr<Component>> children; in TabBarItemComponent() local
40 children.push_back(icon_); in TabBarItemComponent()
49 children.push_back(text_); in TabBarItemComponent()
51 if (!children.empty()) { in TabBarItemComponent()
52 auto flex = AceType::MakeRefPtr<ColumnComponent>(FlexAlign::CENTER, FlexAlign::CENTER, children); in TabBarItemComponent()
121 std::list<RefPtr<Component>> children; in BuildWithTextIcon() local
122 children.emplace_back(box); in BuildWithTextIcon()
123 children.emplace_back(textComponent); in BuildWithTextIcon()
124 auto columnComponent = AceType::MakeRefPtr<ColumnComponent>(FlexAlign::FLEX_START, FlexAlign::CENTER, children); in BuildWithTextIcon()
/foundation/arkui/ace_engine/frameworks/core/components/coverage/
H A Drender_coverage.cpp38 const std::list<RefPtr<RenderNode>>& children = GetChildren(); in PerformLayout() local
40 auto firstChild = children.begin(); in PerformLayout()
41 if (firstChild == children.end()) { in PerformLayout()
49 if (secondChild == children.end()) { in PerformLayout()
/foundation/arkui/ace_engine/frameworks/core/components/stepper/
H A Dstepper_component.cpp29 StepperComponent::StepperComponent(const std::list<RefPtr<Component>>& children) : ComponentGroup(children) in StepperComponent() argument
70 const auto& children = GetChildren(); in InsertChild() local
71 if (!child || pos > children.size()) { in InsertChild()
74 if (pos == children.size()) { in InsertChild()
120 // removing children will reset label and styles in RemoveChild()
135 auto children = ifElseComponent->GetChildren(); in CollectItems() local
136 for (auto& childComponent : children) { in CollectItems()
/foundation/communication/netmanager_base/utils/common_utils/include/
H A Dsuffix_match_trie.h43 // children pointers
44 struct TrieNode *children[DOMAIN_CHAR_RANGE]; member
88 if (!pCrawl->children[i]) in Insert()
89 pCrawl->children[i] = CreateNode(); in Insert()
90 pCrawl = pCrawl->children[i]; in Insert()
117 pCrawl = pCrawl->children[i]; in Update()
150 pCrawl = pCrawl->children[i]; in LongestSuffixMatch()
177 FreeTrie(root->children[i]); in FreeTrie()
/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dfor_each_node.cpp104 // ForEachNode only includes children for newly created_ array items in CompareAndUpdateChildren()
105 // it does not include children of array items that were rendered on a previous in CompareAndUpdateChildren()
108 auto& children = ModifyChildren(); in CompareAndUpdateChildren() local
110 // swap new children to tempChildren, old children back to children in CompareAndUpdateChildren()
111 std::swap(children, tempChildren_); in CompareAndUpdateChildren()
122 std::swap(children, tempChildren_); in CompareAndUpdateChildren()
196 // includes "newly-added" and "reused" children in FinishRepeatRender()
197 const auto& children in FinishRepeatRender() local
277 auto& children = ModifyChildren(); MoveData() local
319 const auto& children = GetChildren(); InitAllChildrenDragManager() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Dlist_component.cpp22 ListComponent::ListComponent(const std::list<RefPtr<Component>>& children) : ComponentGroup(children) in ListComponent() argument
114 const auto& children = GetChildren(); in InsertChild() local
115 if (!child || pos > children.size()) { in InsertChild()
119 if (pos == children.size()) { in InsertChild()
125 auto it = children.begin(); in InsertChild()
126 while (it != children.end()) { in InsertChild()
142 ComponentGroup::InsertChild(std::distance(children.begin(), it), child); in InsertChild()
/foundation/arkui/ace_engine/test/unittest/core/syntax/
H A Dcontent_slot_syntax_test_ng.cpp97 auto children = contentSlotNode->GetChildren(); in HWTEST_F() local
98 EXPECT_TRUE(children.size() == NUM_1 && children.front()->GetTag() == "frameNode1"); in HWTEST_F()
103 children = contentSlotNode->GetChildren(); in HWTEST_F()
104 EXPECT_TRUE(children.size() == NUM_2 && children.front()->GetTag() == "frameNode2"); in HWTEST_F()
110 children = contentSlotNode->GetChildren(); in HWTEST_F()
111 EXPECT_TRUE(children.size() == 0); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_list_component.cpp73 std::list<RefPtr<Component>> children; in BuildChildren() local
74 children.emplace_back(list_); in BuildChildren()
75 children.emplace_back(indexer_); in BuildChildren()
78 stack_ = AceType::MakeRefPtr<StackComponent>(Alignment::CENTER_LEFT, StackFit::KEEP, Overflow::CLIP, children); in BuildChildren()
80 stack_ = AceType::MakeRefPtr<StackComponent>(Alignment::CENTER_RIGHT, StackFit::KEEP, Overflow::CLIP, children); in BuildChildren()
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Dshape_container_element.cpp38 const auto& children = shapeContainerComponent->GetChildren(); in UpdateChildStyle() local
39 for (const auto& child : children) { in UpdateChildStyle()
73 auto children = multiComposedComponent->GetChildren(); in UpdateChildStyle() local
74 for (const auto& childComponent : children) { in UpdateChildStyle()
/foundation/arkui/ace_engine/frameworks/core/components/flex/
H A Dflex_component.h33 const std::list<RefPtr<Component>>& children) in FlexComponent()
34 : ComponentGroup(children), direction_(direction), mainAxisAlign_(mainAxisAlign), in FlexComponent()
214 RowComponent(FlexAlign mainAxisAlign, FlexAlign crossAxisAlign, const std::list<RefPtr<Component>>& children) in RowComponent() argument
215 : FlexComponent(FlexDirection::ROW, mainAxisAlign, crossAxisAlign, children) in RowComponent()
229 ColumnComponent(FlexAlign mainAxisAlign, FlexAlign crossAxisAlign, const std::list<RefPtr<Component>>& children) in ColumnComponent() argument
230 : FlexComponent(FlexDirection::COLUMN, mainAxisAlign, crossAxisAlign, children) in ColumnComponent()
32 FlexComponent(FlexDirection direction, FlexAlign mainAxisAlign, FlexAlign crossAxisAlign, const std::list<RefPtr<Component>>& children) FlexComponent() argument
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_text_path.cpp54 const auto& children = GetChildren(); in MeasureTextPathBounds() local
55 if (!children.empty()) { in MeasureTextPathBounds()
56 for (const auto& child : children) { in MeasureTextPathBounds()
99 const auto& children = GetChildren(); in DrawTextPath() local
100 if (!children.empty()) { in DrawTextPath()
101 for (const auto& child : children) { in DrawTextPath()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/root/
H A Droot_pattern.h80 auto children = host->GetChildren(); variable
83 auto iter = std::find_if(children.begin(), children.end(),
85 if (iter == children.end() || (*iter) == children.back()) {
93 for (++iter; iter != children.end(); iter++) {
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/
H A Drosen_render_rich_text.cpp29 auto children = GetChildren(); in DumpTree() local
36 DumpLog::GetInstance().Print(depth, AceType::TypeName(this), children.size()); in DumpTree()
39 for (const auto& item : children) { in DumpTree()
/foundation/arkui/ace_engine/frameworks/core/components/proxy/
H A Drender_proxy.cpp44 const auto& children = GetChildren(); in PerformLayout() local
45 if (!children.empty()) { in PerformLayout()
46 auto child = children.front(); in PerformLayout()

Completed in 13 milliseconds

12345678910>>...19