Home
last modified time | relevance | path

Searched refs:childIndex (Results 1 - 18 of 18) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/
H A Dtext_input_layout_algorithm.cpp171 int32_t childIndex = frameNode->GetChildIndex(responseArea->GetFrameNode()); in Layout() local
172 responseArea->Layout(layoutWrapper, childIndex, unitNodeWidth); in Layout()
175 int32_t childIndex = frameNode->GetChildIndex(cleanNodeResponseArea->GetFrameNode()); in Layout() local
176 cleanNodeResponseArea->Layout(layoutWrapper, childIndex, unitNodeWidth); in Layout()
306 auto childIndex = frameNode->GetChildIndex(responseArea->GetFrameNode()); in BuildLayoutConstraintWithoutResponseArea() local
307 childWidth += responseArea->Measure(layoutWrapper, childIndex).Width(); in BuildLayoutConstraintWithoutResponseArea()
310 auto childIndex = frameNode->GetChildIndex(cleanNodeResponseArea->GetFrameNode()); in BuildLayoutConstraintWithoutResponseArea() local
311 childWidth += cleanNodeResponseArea->Measure(layoutWrapper, childIndex).Width(); in BuildLayoutConstraintWithoutResponseArea()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_lanes_layout_algorithm.h40 float MeasureAndGetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex,
43 float GetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex) override;
H A Dlist_lanes_layout_algorithm.cpp47 float ListLanesLayoutAlgorithm::GetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex) in GetChildHeight() argument
51 int32_t laneCeil = GetLanesCeil(layoutWrapper, childIndex); in GetChildHeight()
52 for (int32_t index = GetLanesFloor(layoutWrapper, childIndex); index <= laneCeil; index++) { in GetChildHeight()
58 float ListLanesLayoutAlgorithm::MeasureAndGetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex, in MeasureAndGetChildHeight() argument
61 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(childIndex); in MeasureAndGetChildHeight()
69 SetListItemGroupParam(wrapper, childIndex, 0.0f, true, listLayoutProperty, true); in MeasureAndGetChildHeight()
73 auto laneCeil = GetLanesCeil(layoutWrapper, childIndex); in MeasureAndGetChildHeight()
74 for (int32_t i = GetLanesFloor(layoutWrapper, childIndex); i <= laneCeil; i++) { in MeasureAndGetChildHeight()
H A Dlist_layout_algorithm.h351 virtual float MeasureAndGetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex,
354 virtual float GetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex) in GetChildHeight() argument
356 return childrenSize_->GetChildSize(childIndex); in GetChildHeight()
H A Dlist_layout_algorithm.cpp586 float ListLayoutAlgorithm::MeasureAndGetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex, in MeasureAndGetChildHeight() argument
589 auto wrapper = layoutWrapper->GetOrCreateChildByIndex(childIndex); in MeasureAndGetChildHeight()
596 SetListItemGroupParam(wrapper, childIndex, 0.0f, true, listLayoutProperty, groupLayoutAll); in MeasureAndGetChildHeight()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_stepper.cpp140 auto childIndex = domStepperItem->GetItemIndex(); in OnChildNodeAdded() local
141 if (childIndex != DEFAULT_NODE_INDEX) { in OnChildNodeAdded()
142 stepperComponent_->InsertChild(childIndex, child->GetRootComponent()); in OnChildNodeAdded()
H A Ddom_list.cpp603 // childIndex is generated by js framework, just the position of this new list item should be added into the list. in OnChildNodeAdded()
604 auto childIndex = childListItem->GetItemIndex(); in OnChildNodeAdded() local
605 if (childIndex != DEFAULT_NODE_INDEX) { in OnChildNodeAdded()
608 indexerComponent_->InsertChild(childIndex, child->GetRootComponent()); in OnChildNodeAdded()
610 listComponent_->InsertChild(childIndex, child->GetRootComponent()); in OnChildNodeAdded()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.cpp108 uint32_t childIndex = 0; in OnModifyDone() local
110 while (childIndex < showCount) { in OnModifyDone()
111 if (childIndex == midIndex) { // selected in OnModifyDone()
114 } else if ((childIndex == (midIndex + 1)) || (childIndex == (midIndex - 1))) { in OnModifyDone()
121 if (childIndex == midIndex) { in OnModifyDone()
129 childIndex++; in OnModifyDone()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.cpp112 uint32_t childIndex = 0; in OnModifyDone() local
114 while (childIndex < showCount) { in OnModifyDone()
115 if (childIndex == midIndex) { // selected in OnModifyDone()
118 } else if ((childIndex == (midIndex + 1)) || (childIndex == (midIndex - 1))) { in OnModifyDone()
125 if (childIndex == midIndex) { in OnModifyDone()
133 childIndex++; in OnModifyDone()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_column_pattern.cpp113 uint32_t childIndex = 0; in OnModifyDone() local
115 while (childIndex < showCount) { in OnModifyDone()
116 if (childIndex == midIndex) { in OnModifyDone()
120 } else if ((childIndex == (midIndex + 1)) || (childIndex == (midIndex - 1))) { in OnModifyDone()
129 if (childIndex == midIndex) { in OnModifyDone()
137 childIndex++; in OnModifyDone()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_pattern.h143 void InitChildInputEvent(RefPtr<FrameNode>& itemNode, int32_t childIndex);
H A Dindexer_pattern.cpp476 void IndexerPattern::InitChildInputEvent(RefPtr<FrameNode>& itemNode, int32_t childIndex) in InitChildInputEvent() argument
479 auto childHoverCallback = [weak = WeakClaim(this), index = childIndex](bool isHovered) { in InitChildInputEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_layout_algorithm.cpp85 auto childIndex = -1; in MeasureChild() local
87 childIndex++; in MeasureChild()
88 if (childIndex == 0 && isMouseCustomMenu) { in MeasureChild()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/
H A Dsearch_pattern.cpp405 for (int32_t childIndex = TEXTFIELD_INDEX; childIndex <= BUTTON_INDEX; childIndex++) { in HandleTouchableAndHitTestMode()
406 auto childFrameNode = DynamicCast<FrameNode>(host->GetChildAtIndex(childIndex)); in HandleTouchableAndHitTestMode()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar_picker/
H A Dcalendar_dialog_pattern.cpp978 int32_t childIndex = title->GetChildIndex(child); in InitTitleArrowsEvent() local
981 auto event = [childIndex, wp = WeakClaim(this)](GestureEvent& /* info */) { in InitTitleArrowsEvent()
984 pattern->HandleTitleArrowsClickEvent(childIndex); in InitTitleArrowsEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_group_node.cpp181 int32_t childIndex = navigationContentNode->GetChildIndex(navDestination); in ReorderNavDestination() local
182 if (childIndex < 0) { in ReorderNavDestination()
185 } else if (childIndex != slot) { in ReorderNavDestination()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dui_node.cpp1547 int32_t childIndex = child->GetFrameNodeIndex(node, isExpanded); in GetFrameNodeIndex() local
1548 if (childIndex >= 0) { in GetFrameNodeIndex()
1549 return index + childIndex; in GetFrameNodeIndex()
/foundation/arkui/ace_engine/advanced_ui_component/treeview/interfaces/
H A Dtreeview.js2894 childIndex: a10,

Completed in 43 milliseconds