Home
last modified time | relevance | path

Searched refs:isVertical (Results 1 - 25 of 79) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_layout/
H A Dlinear_layout_utils.cpp22 float GetChildMainAxisSize(LayoutWrapper* layoutWrapper, bool isVertical) in GetChildMainAxisSize() argument
25 if (!isVertical) { in GetChildMainAxisSize()
33 float GetChildCrossAxisSize(LayoutWrapper* layoutWrapper, bool isVertical) in GetChildCrossAxisSize() argument
36 if (!isVertical) { in GetChildCrossAxisSize()
44 float GetMainAxisSize(const SizeF& size, bool isVertical) in GetMainAxisSize() argument
46 if (!isVertical) { in GetMainAxisSize()
52 void SetIdealMainSize(LayoutConstraintF& origin, float value, bool isVertical) in SetIdealMainSize() argument
55 if (!isVertical) { in SetIdealMainSize()
62 SizeF CreateSize(float mainSize, float crossSize, bool isVertical) in CreateSize() argument
64 if (!isVertical) { in CreateSize()
104 Measure(LayoutWrapper* layoutWrapper, bool isVertical) Measure() argument
190 Layout(LayoutWrapper* layoutWrapper, bool isVertical, FlexAlign crossAlign, FlexAlign mainAlign) Layout() argument
[all...]
H A Dlinear_layout_utils.h39 bool isVertical = true; member
54 static void Measure(LayoutWrapper* layoutWrapper, bool isVertical);
57 static void Layout(LayoutWrapper* layoutWrapper, bool isVertical, FlexAlign crossAlign, FlexAlign mainAlign);
H A Dlinear_layout_property.h33 explicit LinearLayoutProperty(bool isVertical) : isVertical_(isVertical) in LinearLayoutProperty() argument
53 void SetIsVertical(bool isVertical) in SetIsVertical() argument
55 isVertical_ = isVertical; in SetIsVertical()
H A Dlinear_layout_pattern.h31 explicit LinearLayoutPattern(bool isVertical) : isVertical_(isVertical) {}; in LinearLayoutPattern() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/effect/
H A Dscroll_fade_effect.cpp78 auto const isVertical = axis == Axis::VERTICAL; in SetPaintDirection() local
81 if (isVertical && Negative(overScroll)) { in SetPaintDirection()
87 } else if (isVertical && Positive(overScroll)) { in SetPaintDirection()
107 if (isVertical && Negative(overScroll)) { in SetPaintDirection()
109 } else if (isVertical && Positive(overScroll)) { in SetPaintDirection()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.h75 void Init(bool isVertical, bool isSetSize, double size, double minSize) in Init() argument
77 isVertical_ = isVertical; in Init()
80 if (isVertical) { in Init()
153 void DoMeasure(bool isVertical, float minWidth, float leftSpace);
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_divider_ffi.cpp34 void FfiOHOSAceFrameworkDividerSetVertical(bool isVertical) in FfiOHOSAceFrameworkDividerSetVertical() argument
36 DividerModel::GetInstance()->Vertical(isVertical); in FfiOHOSAceFrameworkDividerSetVertical()
H A Dcj_divider_ffi.h24 CJ_EXPORT void FfiOHOSAceFrameworkDividerSetVertical(bool isVertical);
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drosen_render_list_item.cpp210 bool isVertical = IsListVertical(); in PaintItemDivider() local
214 double width = isVertical ? layoutSize.Width() : layoutSize.Width() - dividerWidth; in PaintItemDivider()
215 double height = isVertical ? layoutSize.Height() - dividerWidth : layoutSize.Height(); in PaintItemDivider()
219 double startPointOffset = isVertical ? std::min(startOrigin, width) : std::min(startOrigin, height); in PaintItemDivider()
220 double startPointX = isVertical ? position.GetX() + startPointOffset : position.GetX() + width; in PaintItemDivider()
221 double startPointY = isVertical ? position.GetY() + height : position.GetY() + startPointOffset; in PaintItemDivider()
226 length = isVertical ? width : height; in PaintItemDivider()
228 double endPointX = isVertical ? position.GetX() + std::min(width, startOrigin + length) : startPointX; in PaintItemDivider()
229 double endPointY = isVertical ? startPointY : position.GetY() + std::min(height, startOrigin + length); in PaintItemDivider()
243 if (isVertical) { in PaintItemDivider()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Drosen_render_list.h46 void DrawDividerOnNode(const std::shared_ptr<RSNode>& rsNode, const SkPaint& paint, bool isVertical,
49 void DrawDividerOnNode(const std::shared_ptr<RSNode>& rsNode, const RSPen& pen, bool isVertical,
H A Drosen_render_list.cpp38 void RosenRenderList::DrawDividerOnNode(const std::shared_ptr<RSNode>& rsNode, const SkPaint& paint, bool isVertical, in DrawDividerOnNode() argument
42 [isVertical = vertical_, startX = startCrossAxis, startY = mainAxis, endX = endCrossAxis, endY = mainAxis, in DrawDividerOnNode()
48 if (!isVertical) { in DrawDividerOnNode()
57 bool isVertical, double startCrossAxis, double mainAxis, double endCrossAxis) in DrawDividerOnNode()
60 [isVertical = vertical_, startX = startCrossAxis, startY = mainAxis, endX = endCrossAxis, endY = mainAxis, in DrawDividerOnNode()
66 if (!isVertical) { in DrawDividerOnNode()
56 DrawDividerOnNode(const std::shared_ptr<RSNode>& rsNode, const RSPen& pen, bool isVertical, double startCrossAxis, double mainAxis, double endCrossAxis) DrawDividerOnNode() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/
H A Dgrid_scroll_with_options_layout_algorithm.cpp52 bool isVertical = gridLayoutInfo_.axis_ == Axis::VERTICAL; in AdjustRowColSpan() local
54 irregualItemInfo.mainStart = isVertical ? currentItemRowStart_ : currentItemColStart_; in AdjustRowColSpan()
55 irregualItemInfo.mainEnd = isVertical ? currentItemRowEnd_ : currentItemColEnd_; in AdjustRowColSpan()
56 irregualItemInfo.mainSpan = isVertical ? currentItemRowSpan_ : currentItemColSpan_; in AdjustRowColSpan()
57 irregualItemInfo.crossStart = isVertical ? currentItemColStart_ : currentItemRowStart_; in AdjustRowColSpan()
58 irregualItemInfo.crossEnd = isVertical ? currentItemColEnd_ : currentItemRowEnd_; in AdjustRowColSpan()
59 irregualItemInfo.crossSpan = isVertical ? currentItemColSpan_ : currentItemRowSpan_; in AdjustRowColSpan()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtabs_model_impl.cpp102 void TabsModelImpl::SetIsVertical(bool isVertical) in SetIsVertical() argument
106 if (isVertical) { in SetIsVertical()
113 tabBar->SetVertical(isVertical); in SetIsVertical()
117 tabContent->SetVertical(isVertical); in SetIsVertical()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_paint_method.cpp57 bool isVertical = (axis_ == Axis::VERTICAL); in PaintFade() local
67 if (isVertical) { in PaintFade()
83 if (isVertical) { in PaintFade()
105 if (isVertical) { in PaintFade()
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_content_component.h61 void SetVertical(bool isVertical) in SetVertical() argument
63 vertical_ = isVertical; in SetVertical()
H A Dtab_bar_component.h52 void SetVertical(bool isVertical) in SetVertical() argument
54 vertical_ = isVertical; in SetVertical()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_content_modifier.h51 void SetDividerPainter(float width, bool isVertical, Color color) in SetDividerPainter() argument
54 isVertical_ = isVertical; in SetDividerPainter()
H A Dlist_paint_method.cpp79 .isVertical = vertical_, in UpdateContentModifier()
99 dividerInfo.constrainStrokeWidth, dividerInfo.isVertical, dividerInfo.color); in UpdateDividerList()
148 if (dividerInfo.isVertical) { in HandleDividerList()
162 OffsetF offset = dividerInfo.isVertical ? OffsetF(mainPos, crossPos) : OffsetF(crossPos, mainPos); in HandleDividerList()
178 if (dividerInfo.isVertical) { in HandleLastLineIndex()
191 OffsetF offset = dividerInfo.isVertical ? OffsetF(mainPos, crossPos) : OffsetF(crossPos, mainPos); in HandleLastLineIndex()
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_fade_effect.cpp82 auto const isVertical = axis == Axis::VERTICAL; in SetPaintDirection() local
83 if (isVertical && overScroll < 0.0) { in SetPaintDirection()
85 } else if (isVertical && overScroll > 0.0) { in SetPaintDirection()
H A Drender_scroll.cpp541 const auto isVertical = (axis_ == Axis::VERTICAL); in ResetScrollable() local
542 auto&& callback = [weakScroll = AceType::WeakClaim(this), isVertical](double value, int32_t source) { in ResetScrollable()
554 if (isVertical) { in ResetScrollable()
576 if (isVertical) { in ResetScrollable()
869 auto isVertical = (axis_ == Axis::VERTICAL); in InitScrollBarProxy() local
870 auto&& scrollCallback = [weakScroll = AceType::WeakClaim(this), isVertical](double value, int32_t source) { in InitScrollBarProxy()
877 if (isVertical) { in InitScrollBarProxy()
891 void RenderScroll::SetBarCallBack(bool isVertical) in SetBarCallBack() argument
894 auto&& barEndCallback = [weakScroll = AceType::WeakClaim(this), isVertical](int32_t value) { in SetBarCallBack()
903 auto&& scrollEndCallback = [weakScroll = AceType::WeakClaim(this), isVertical]() { in SetBarCallBack()
963 HandleRotate(double rotateValue, bool isVertical) HandleRotate() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dfocus_hub.h305 ScopeFocusAlgorithm(bool isVertical, bool isLeftToRight, ScopeType scopeType) in ScopeFocusAlgorithm()
306 : isVertical(isVertical), isLeftToRight(isLeftToRight), scopeType(scopeType) in ScopeFocusAlgorithm()
308 ScopeFocusAlgorithm(bool isVertical, bool isLeftToRight, ScopeType scopeType, GetNextFocusNodeFunc&& function) in ScopeFocusAlgorithm()
309 : isVertical(isVertical), isLeftToRight(isLeftToRight), scopeType(scopeType), in ScopeFocusAlgorithm()
312 ScopeFocusAlgorithm(ScopeFocusDirection direction, bool isVertical, bool isLeftToRight, ScopeType scopeType) in ScopeFocusAlgorithm()
313 : direction(direction), isVertical(isVertical), isLeftToRight(isLeftToRight), scopeType(scopeType) in ScopeFocusAlgorithm()
315 ScopeFocusAlgorithm(ScopeFocusDirection direction, bool isVertical, boo in ScopeFocusAlgorithm()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/flex/
H A Dflex_layout_pattern.h71 bool isVertical = false; variable
73 isVertical = property->GetFlexDirection().value() == FlexDirection::COLUMN ||
76 return { isVertical, true, isWrap_ ? ScopeType::PROJECT_AREA : ScopeType::FLEX };
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_divider.h27 static void SetVertical(bool isVertical);
H A Djs_divider.cpp50 void JSDivider::SetVertical(bool isVertical) in SetVertical() argument
52 DividerModel::GetInstance()->Vertical(isVertical); in SetVertical()
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Dnavigation_bar_component_base.cpp56 RefPtr<PaddingComponent> NavigationBarComponentBase::BuildPadding(double size, bool isVertical) in BuildPadding() argument
60 if (isVertical) { in BuildPadding()

Completed in 11 milliseconds

1234