/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_input/ |
H A D | text_input_layout_algorithm.cpp | 171 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 D | list_lanes_layout_algorithm.h | 40 float MeasureAndGetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex, 43 float GetChildHeight(LayoutWrapper* layoutWrapper, int32_t childIndex) override;
|
H A D | list_lanes_layout_algorithm.cpp | 47 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 D | list_layout_algorithm.h | 351 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 D | list_layout_algorithm.cpp | 586 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 D | dom_stepper.cpp | 140 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 D | dom_list.cpp | 603 // 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 D | datepicker_column_pattern.cpp | 108 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 D | timepicker_column_pattern.cpp | 112 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 D | textpicker_column_pattern.cpp | 113 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 D | indexer_pattern.h | 143 void InitChildInputEvent(RefPtr<FrameNode>& itemNode, int32_t childIndex);
|
H A D | indexer_pattern.cpp | 476 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 D | select_overlay_layout_algorithm.cpp | 85 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 D | search_pattern.cpp | 405 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 D | calendar_dialog_pattern.cpp | 978 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 D | navigation_group_node.cpp | 181 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 D | ui_node.cpp | 1547 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 D | treeview.js | 2894 childIndex: a10,
|