| /foundation/arkui/ace_engine/test/unittest/core/layout/ |
| D | layout_wrapper_test_ng.cpp | 92 RefPtr<LayoutWrapperNode> layoutWrapper = in CreateNodeAndWrapper() local 102 RefPtr<LayoutWrapperNode> layoutWrapper = in CreateLayoutWrapper() local 112 RefPtr<LayoutWrapperNode> layoutWrapper = in CreateChildLayoutWrapper() local 129 void UpdateParentConstraint(RefPtr<LayoutWrapperNode> layoutWrapper, LayoutConstraintF& parentConst… in UpdateParentConstraint() 165 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable 213 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable 264 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable 297 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable 338 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable 366 RefPtr<LayoutWrapperNode> layoutWrapper = CreateLayoutWrapper(ROW_FRAME_NODE, NODE_ID_0); variable [all …]
|
| D | box_layout_algorithm_test_ng.cpp | 68 RefPtr<LayoutWrapperNode> layoutWrapper = in CreatlayoutWrapper() local 106 auto layoutWrapper = CreatlayoutWrapper(); variable 164 auto layoutWrapper = CreatlayoutWrapper(); variable 217 auto layoutWrapper = CreatlayoutWrapper(); variable 277 auto layoutWrapper = CreatlayoutWrapper(); variable 342 auto layoutWrapper = CreatlayoutWrapper(); variable 400 auto layoutWrapper = CreatlayoutWrapper(); variable 465 auto layoutWrapper = CreatlayoutWrapper(); variable 518 auto layoutWrapper = CreatlayoutWrapper(); variable 578 auto layoutWrapper = CreatlayoutWrapper(); variable [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom/ |
| D | custom_measure_layout_node.cpp | 42 bool CustomMeasureLayoutNode::FireOnMeasure(NG::LayoutWrapper* layoutWrapper) in FireOnMeasure() 51 bool CustomMeasureLayoutNode::FireOnLayout(NG::LayoutWrapper* layoutWrapper) in FireOnLayout() 60 bool CustomMeasureLayoutNode::FireOnUpdateParam(NG::LayoutWrapper* layoutWrapper) in FireOnUpdateParam()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/layout/ |
| D | box_layout_algorithm.cpp | 34 void BoxLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 43 void BoxLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 52 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper) in MeasureContent() 83 LayoutWrapper* layoutWrapper, const std::list<RefPtr<LayoutWrapper>>& childList) in PerformMeasureSelfWithChildList() 152 void BoxLayoutAlgorithm::PerformMeasureSelf(LayoutWrapper* layoutWrapper) in PerformMeasureSelf() 158 void BoxLayoutAlgorithm::PerformLayout(LayoutWrapper* layoutWrapper) in PerformLayout()
|
| D | layout_algorithm.h | 49 virtual void Measure(LayoutWrapper* layoutWrapper) {} in Measure() 51 virtual void Layout(LayoutWrapper* layoutWrapper) {} in Layout() 92 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper) override in MeasureContent() 100 void Measure(LayoutWrapper* layoutWrapper) override in Measure() 108 void Layout(LayoutWrapper* layoutWrapper) override in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
| D | xcomponent_layout_algorithm.cpp | 23 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper) in MeasureContent() 36 void XComponentLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 47 void XComponentLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/grid_row/ |
| D | grid_row_test_ng.cpp | 125 auto layoutWrapper = rowNode_->CreateLayoutWrapper(); in CreateLayoutWrapperAndLayout() local 154 auto layoutWrapper = CreateLayoutWrapperAndLayout(); in TestGridColWidth() local 168 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); in TestGridColGeometry() local 178 OffsetF GridRowTestNg::GetColOffset(RefPtr<LayoutWrapperNode>& layoutWrapper, int32_t index) in GetColOffset() 230 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable 249 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable 273 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable 311 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable 351 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable 399 auto layoutWrapper = CreateLayoutWrapperAndLayout(true); variable [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
| D | button_layout_algorithm.cpp | 31 void ButtonLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 52 LayoutWrapper* layoutWrapper, LayoutConstraintF& layoutConstraint) in HandleChildLayoutConstraint() 75 …ional<SizeF> ButtonLayoutAlgorithm::HandleLabelCircleButtonConstraint(LayoutWrapper* layoutWrapper) in HandleLabelCircleButtonConstraint() 113 void ButtonLayoutAlgorithm::HandleAdaptiveText(LayoutWrapper* layoutWrapper, LayoutConstraintF& lay… in HandleAdaptiveText() 143 void ButtonLayoutAlgorithm::HandleBorderRadius(LayoutWrapper* layoutWrapper) in HandleBorderRadius() 170 void ButtonLayoutAlgorithm::PerformMeasureSelf(LayoutWrapper* layoutWrapper) in PerformMeasureSelf() 227 void ButtonLayoutAlgorithm::MeasureCircleButton(LayoutWrapper* layoutWrapper) in MeasureCircleButton() 261 float ButtonLayoutAlgorithm::GetDefaultHeight(LayoutWrapper* layoutWrapper) in GetDefaultHeight() 278 void ButtonLayoutAlgorithm::MarkNeedFlushMouseEvent(LayoutWrapper* layoutWrapper) in MarkNeedFlushMouseEvent()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
| D | list_layout_algorithm.cpp | 59 void ListLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 161 void ListLayoutAlgorithm::SetCacheCount(LayoutWrapper* layoutWrapper, int32_t cacheCount) in SetCacheCount() 166 float ListLayoutAlgorithm::GetChildMaxCrossSize(LayoutWrapper* layoutWrapper, Axis axis) const in GetChildMaxCrossSize() 194 void ListLayoutAlgorithm::ClearAllItemPosition(LayoutWrapper* layoutWrapper) in ClearAllItemPosition() 216 void ListLayoutAlgorithm::BeginLayoutForward(float startPos, LayoutWrapper* layoutWrapper) in BeginLayoutForward() 228 void ListLayoutAlgorithm::BeginLayoutBackward(float startPos, LayoutWrapper* layoutWrapper) in BeginLayoutBackward() 240 void ListLayoutAlgorithm::HandleJumpAuto(LayoutWrapper* layoutWrapper, in HandleJumpAuto() 324 void ListLayoutAlgorithm::HandleJumpCenter(LayoutWrapper* layoutWrapper) in HandleJumpCenter() 354 void ListLayoutAlgorithm::HandleJumpStart(LayoutWrapper* layoutWrapper) in HandleJumpStart() 377 void ListLayoutAlgorithm::HandleJumpEnd(LayoutWrapper* layoutWrapper) in HandleJumpEnd() [all …]
|
| D | list_item_group_layout_algorithm.cpp | 56 void ListItemGroupLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 137 void ListItemGroupLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 182 float ListItemGroupLayoutAlgorithm::GetChildMaxCrossSize(LayoutWrapper* layoutWrapper, Axis axis) in GetChildMaxCrossSize() 232 void ListItemGroupLayoutAlgorithm::LayoutListItemAll(LayoutWrapper* layoutWrapper, in LayoutListItemAll() 252 void ListItemGroupLayoutAlgorithm::ClearItemPosition(LayoutWrapper* layoutWrapper) in ClearItemPosition() 259 LayoutWrapper* layoutWrapper, const LayoutConstraintF& layoutConstraint) in MeasureListItem() 395 int32_t ListItemGroupLayoutAlgorithm::MeasureALineAuto(LayoutWrapper* layoutWrapper, in MeasureALineAuto() 411 int32_t ListItemGroupLayoutAlgorithm::MeasureALineCenter(LayoutWrapper* layoutWrapper, in MeasureALineCenter() 439 int32_t ListItemGroupLayoutAlgorithm::MeasureALineForward(LayoutWrapper* layoutWrapper, in MeasureALineForward() 467 int32_t ListItemGroupLayoutAlgorithm::MeasureALineBackward(LayoutWrapper* layoutWrapper, in MeasureALineBackward() [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/ |
| D | linear_split_layout_algorithm.cpp | 37 void LinearSplitLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 98 void LinearSplitLayoutAlgorithm::MeasureBeforeAPI10(LayoutWrapper* layoutWrapper) in MeasureBeforeAPI10() 146 std::pair<SizeF, SizeF> LinearSplitLayoutAlgorithm::MeasureChildren(LayoutWrapper* layoutWrapper) in MeasureChildren() 204 SizeF LinearSplitLayoutAlgorithm::MeasureChildrenBeforeAPI10(LayoutWrapper* layoutWrapper) in MeasureChildrenBeforeAPI10() 238 LayoutWrapper* layoutWrapper, LayoutConstraintF childConstrain, int32_t index) in GetChildConstrain() 264 void LinearSplitLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 308 LayoutWrapper* layoutWrapper, float childOffsetMain, float childOffsetCross) in LayoutRowSplit() 358 LayoutWrapper* layoutWrapper, float childOffsetMain, float childOffsetCross) in LayoutColumnSplit() 410 LayoutWrapper* layoutWrapper, const RefPtr<LayoutWrapper>& item, int32_t index) in ColumnSplitChildConstrain() 428 std::pair<float, float> LinearSplitLayoutAlgorithm::GetDividerMargin(LayoutWrapper* layoutWrapper) in GetDividerMargin() [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
| D | stage_layout_algorithm.cpp | 23 void StageLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 36 void StageLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/indicator_common/ |
| D | swiper_arrow_layout_algorithm.cpp | 26 void SwiperArrowLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 37 void SwiperArrowLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toast/ |
| D | toast_layout_algorithm.cpp | 22 void ToastLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 29 void ToastLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/render_node/ |
| D | render_node_layout_algorithm.cpp | 22 void RenderNodeLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 50 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper) in MeasureContent() 65 void RenderNodeLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
| D | bar_item_layout_algorithm.cpp | 33 void BarItemLayoutAlgorithm::MeasureIcon(LayoutWrapper* layoutWrapper, const RefPtr<BarItemNode>& h… in MeasureIcon() 48 void BarItemLayoutAlgorithm::MeasureToolbarItemText(LayoutWrapper* layoutWrapper, const RefPtr<BarI… in MeasureToolbarItemText() 83 void BarItemLayoutAlgorithm::MeasureText(LayoutWrapper* layoutWrapper, const RefPtr<BarItemNode>& h… in MeasureText() 100 float BarItemLayoutAlgorithm::LayoutIcon(LayoutWrapper* layoutWrapper, const RefPtr<BarItemNode>& h… in LayoutIcon() 124 void BarItemLayoutAlgorithm::LayoutText(LayoutWrapper* layoutWrapper, const RefPtr<BarItemNode>& ho… in LayoutText() 148 void BarItemLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 172 void BarItemLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| D | nav_bar_layout_algorithm.cpp | 28 float MeasureTitleBar(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in MeasureTitleBar() 132 float MeasureToolBar(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in MeasureToolBar() 158 float MeasureToolBarDivider(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in MeasureToolBarDivider() 185 float MeasureContentChild(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in MeasureContentChild() 205 float LayoutTitleBar(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in LayoutTitleBar() 223 void LayoutContent(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in LayoutContent() 245 float LayoutToolBar(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in LayoutToolBar() 269 void LayoutToolBarDivider(LayoutWrapper* layoutWrapper, const RefPtr<NavBarNode>& hostNode, in LayoutToolBarDivider() 325 void NavBarLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 348 void NavBarLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/custom_paint/ |
| D | custom_paint_layout_algorithm.cpp | 23 const LayoutConstraintF& contentConstraint, LayoutWrapper* layoutWrapper) in MeasureContent() 39 void CustomPaintLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
| D | close_icon_layout_algorithm.cpp | 22 void CloseIconLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 33 void CloseIconLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stepper/ |
| D | stepper_layout_algorithm.cpp | 30 void StepperLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 58 void StepperLayoutAlgorithm::MeasureSwiper(LayoutWrapper* layoutWrapper, LayoutConstraintF swiperLa… in MeasureSwiper() 80 void StepperLayoutAlgorithm::MeasureLeftButton(LayoutWrapper* layoutWrapper, LayoutConstraintF butt… in MeasureLeftButton() 105 void StepperLayoutAlgorithm::MeasureRightButton(LayoutWrapper* layoutWrapper, LayoutConstraintF but… in MeasureRightButton() 132 …const RefPtr<LayoutWrapper>& layoutWrapper, const LayoutConstraintF& buttonLayoutConstraint, bool … in MeasureText() 156 void StepperLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 175 void StepperLayoutAlgorithm::LayoutSwiper(LayoutWrapper* layoutWrapper) in LayoutSwiper() 191 void StepperLayoutAlgorithm::LayoutLeftButton(LayoutWrapper* layoutWrapper) in LayoutLeftButton() 219 void StepperLayoutAlgorithm::LayoutRightButton(LayoutWrapper* layoutWrapper) in LayoutRightButton()
|
| /foundation/arkui/ace_engine/test/unittest/core/pattern/side_bar/ |
| D | side_bar_layout_test_ng.cpp | 210 RefPtr<LayoutWrapperNode> layoutWrapper = variable 243 RefPtr<LayoutWrapperNode> layoutWrapper = variable 276 RefPtr<LayoutWrapperNode> layoutWrapper = variable 309 RefPtr<LayoutWrapperNode> layoutWrapper = variable 350 RefPtr<LayoutWrapperNode> layoutWrapper = variable 385 RefPtr<LayoutWrapperNode> layoutWrapper = variable 622 RefPtr<LayoutWrapperNode> layoutWrapper = variable 662 …auto layoutWrapper = LayoutWrapperNode(sideBarFrameNode, geometryNode, sideBarFrameNode->GetLayout… variable 703 RefPtr<LayoutWrapperNode> layoutWrapper = variable 749 RefPtr<LayoutWrapperNode> layoutWrapper = variable [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
| D | grid_scroll_layout_algorithm.cpp | 38 void GridScrollLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 89 …ollLayoutAlgorithm::UpdateOffsetOnVirtualKeyboardHeightChange(LayoutWrapper* layoutWrapper, float … in UpdateOffsetOnVirtualKeyboardHeightChange() 129 void GridScrollLayoutAlgorithm::AdaptToChildMainSize(LayoutWrapper* layoutWrapper, in AdaptToChildMainSize() 165 …ollLayoutAlgorithm::UpdateOffsetOnHeightChangeDuringAnimation(LayoutWrapper* layoutWrapper, float … in UpdateOffsetOnHeightChangeDuringAnimation() 180 void GridScrollLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout() 265 void GridScrollLayoutAlgorithm::LayoutCachedItem(LayoutWrapper* layoutWrapper, int32_t cacheCount) in LayoutCachedItem() 270 void GridScrollLayoutAlgorithm::LayoutBackwardCachedLine(LayoutWrapper* layoutWrapper, int32_t cach… in LayoutBackwardCachedLine() 328 void GridScrollLayoutAlgorithm::LayoutForwardCachedLine(LayoutWrapper* layoutWrapper, int32_t cache… in LayoutForwardCachedLine() 437 float mainSize, float crossSize, LayoutWrapper* layoutWrapper) in FillGridViewportAndMeasureChildren() 523 …lLayoutAlgorithm::ReloadToStartIndex(float mainSize, float crossSize, LayoutWrapper* layoutWrapper) in ReloadToStartIndex() [all …]
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
| D | navdestination_layout_algorithm.cpp | 26 float MeasureTitleBar(LayoutWrapper* layoutWrapper, const RefPtr<NavDestinationGroupNode>& hostNode, in MeasureTitleBar() 60 float MeasureContentChild(LayoutWrapper* layoutWrapper, const RefPtr<NavDestinationGroupNode>& host… in MeasureContentChild() 79 float LayoutTitleBar(LayoutWrapper* layoutWrapper, const RefPtr<NavDestinationGroupNode>& hostNode, in LayoutTitleBar() 100 void LayoutContent(LayoutWrapper* layoutWrapper, const RefPtr<NavDestinationGroupNode>& hostNode, in LayoutContent() 129 void NavDestinationLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 161 void NavDestinationLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/wrapper/ |
| D | menu_wrapper_layout_algorithm.cpp | 29 void MenuWrapperLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 44 void MenuWrapperLayoutAlgorithm::Layout(LayoutWrapper* layoutWrapper) in Layout()
|
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
| D | tab_bar_layout_algorithm.cpp | 84 void TabBarLayoutAlgorithm::Measure(LayoutWrapper* layoutWrapper) in Measure() 169 void TabBarLayoutAlgorithm::CheckMarqueeForScrollable(LayoutWrapper* layoutWrapper, int32_t childCo… in CheckMarqueeForScrollable() 184 void TabBarLayoutAlgorithm::MeasureMask(LayoutWrapper* layoutWrapper, int32_t childCount) const in MeasureMask() 200 void TabBarLayoutAlgorithm::ConfigHorizontal(LayoutWrapper* layoutWrapper, const SizeF& frameSize, … in ConfigHorizontal() 237 void TabBarLayoutAlgorithm::HandleFixedMode(LayoutWrapper* layoutWrapper, const SizeF& frameSize, i… in HandleFixedMode() 251 void TabBarLayoutAlgorithm::MeasureItemWidths(LayoutWrapper* layoutWrapper, int32_t childCount) in MeasureItemWidths() 295 void TabBarLayoutAlgorithm::MeasureMaxHeight(LayoutWrapper* layoutWrapper, int32_t childCount) in MeasureMaxHeight() 324 LayoutWrapper* layoutWrapper, const SizeF& frameSize, int32_t childCount) in HandleAlwaysAverageSplitLayoutStyle() 372 LayoutWrapper* layoutWrapper, const SizeF& frameSize, int32_t childCount) in HandleSpaceBetweenOrCenterLayoutStyle() 397 void TabBarLayoutAlgorithm::ApplyLayoutMode(LayoutWrapper* layoutWrapper, float allocatedWidth, int… in ApplyLayoutMode() [all …]
|