Searched refs:toolbarItemSize (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | tool_bar_layout_algorithm.cpp | 141 if (GreatOrEqual(toolbarItemHeight, toolbarItemSize.Height())) { in CheckWhetherBarItemSizeCrossBorder() 142 toolbarItemSize.SetHeight(toolbarItemHeight); in CheckWhetherBarItemSizeCrossBorder() 159 constraint->selfIdealSize.SetHeight(toolbarItemSize.Height()); in UpdateToolbarItemSize() 160 constraint->selfIdealSize.SetWidth(toolbarItemSize.Width()); in UpdateToolbarItemSize() 193 SizeF toolbarItemSize { toolbarItemWidth, toolbarHeight }; in Measure() local 196 if (CheckWhetherBarItemSizeCrossBorder(layoutWrapper, toolbarItemSize)) { in Measure() 197 if (LessOrEqual(toolbarItemSize.Width(), toolbarItemMaxWidth)) { in Measure() 198 UpdateToolbarItemSize(layoutWrapper, toolbarItemSize); in Measure() 200 toolbarItemSize.SetWidth(toolbarItemMaxWidth); in Measure() 201 UpdateToolbarItemSize(layoutWrapper, toolbarItemSize); in Measure() [all …]
|
H A D | navigation_toolbar_util.cpp | 47 MarginProperty& margin, uint32_t count, size_t toolbarItemSize, bool needMoreButton) in AddSafeIntervalBetweenToolbarItem() argument 51 if (count == ONE_TOOLBAR_ITEM && toolbarItemSize != ONE_TOOLBAR_ITEM) { in AddSafeIntervalBetweenToolbarItem() 53 …} else if (!needMoreButton && (count == toolbarItemSize) && (toolbarItemSize != ONE_TOOLBAR_ITEM))… in AddSafeIntervalBetweenToolbarItem() 55 } else if (toolbarItemSize == ONE_TOOLBAR_ITEM) { in AddSafeIntervalBetweenToolbarItem() 293 …const BarItem& toolBarItem, size_t toolbarItemSize, uint32_t count, bool needMoreButton, bool enab… in CreateToolbarItemInContainer() argument 315 AddSafeIntervalBetweenToolbarItem(margin, count, toolbarItemSize, needMoreButton); in CreateToolbarItemInContainer()
|