Home
last modified time | relevance | path

Searched refs:VERTICAL (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_layout_property.cpp60 if (axis == Axis::VERTICAL) { in GetCustomCrossIndex()
68 if (axis == Axis::VERTICAL) { in GetMainSpan()
76 if (axis == Axis::VERTICAL) { in GetCrossSpan()
84 if (axis == Axis::VERTICAL) { in GetMainStart()
92 if (axis == Axis::VERTICAL) { in GetCrossStart()
100 if (axis == Axis::VERTICAL) { in GetMainEnd()
108 if (axis == Axis::VERTICAL) { in GetCrossEnd()
116 if (axis == Axis::VERTICAL) { in GetRealMainSpan()
124 if (axis == Axis::VERTICAL) { in GetRealCrossSpan()
143 …auto expectMainEnd = axis == Axis::VERTICAL ? propRowEnd_.value_or(-1) : propColumnEnd_.value_or(-… in CheckWhetherCurrentItemAtExpectedPosition()
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_utils_test.cpp63 } else if (axis == Axis::VERTICAL) { in FillChildren()
208 FillChildren(10, Axis::VERTICAL, { 100, 100 });
214 …ScrollableUtils::RecycleItemsOutOfBoundary(Axis::VERTICAL, 100, 0, 9, Referenced::RawPtr(scrollabl…
227 FillChildren(10, Axis::VERTICAL, { 100, 100 });
233 …ScrollableUtils::RecycleItemsOutOfBoundary(Axis::VERTICAL, 101, 0, 9, Referenced::RawPtr(scrollabl…
246 FillChildren(10, Axis::VERTICAL, { 100, 100 });
252 …ScrollableUtils::RecycleItemsOutOfBoundary(Axis::VERTICAL, 201, 0, 9, Referenced::RawPtr(scrollabl…
265 FillChildren(10, Axis::VERTICAL, { 100, 100 });
271 …ScrollableUtils::RecycleItemsOutOfBoundary(Axis::VERTICAL, -101, 0, 9, Referenced::RawPtr(scrollab…
284 FillChildren(10, Axis::VERTICAL, { 100, 100 });
[all …]
H A Dscrollable_fling_test_ng.cpp229 scrollPn->SetAxis(Axis::VERTICAL);
242 scrollPn->SetAxis(Axis::VERTICAL);
255 scrollPn->SetAxis(Axis::VERTICAL);
307 scrollPn->SetAxis(Axis::VERTICAL);
333 scrollPn->SetAxis(Axis::VERTICAL);
530 scrollPn->SetAxis(Axis::VERTICAL);
782 scrollPn->SetAxis(Axis::VERTICAL);
1144 scrollPn->SetAxis(Axis::VERTICAL);
1157 scrollPn->SetAxis(Axis::VERTICAL);
1170 scrollPn->SetAxis(Axis::VERTICAL);
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/
H A Dscroll_bar_accessibility_test_ng.cpp42 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
75 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
102 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
152 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
168 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
203 layoutProperty_->UpdateAxis(Axis::VERTICAL);
223 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
H A Dscroll_bar_event_test_ng.cpp71 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
147 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::AUTO);
273 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
316 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
358 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
400 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
419 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
439 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
464 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
486 CreateScrollBar(true, true, Axis::VERTICAL, DisplayMode::ON);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_rect.cpp85 rx = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath()
90 ry = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath()
99 ConvertDimensionToPx(component_->GetY(), viewPort, SvgLengthType::VERTICAL), in AsPath()
101 ConvertDimensionToPx(component_->GetHeight(), viewPort, SvgLengthType::VERTICAL)), in AsPath()
107 ConvertDimensionToPx(component_->GetY(), viewPort, SvgLengthType::VERTICAL), in AsPath()
109 …ertDimensionToPx(component_->GetHeight() + component_->GetY(), viewPort, SvgLengthType::VERTICAL)), in AsPath()
H A Dsvg_ellipse.cpp86 rx = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath()
91 ry = ConvertDimensionToPx(component_->GetRy(), viewPort, SvgLengthType::VERTICAL); in AsPath()
100 …ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL) - ry, rx + rx, ry + r… in AsPath()
105 ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL) - ry, in AsPath()
107 ry + ConvertDimensionToPx(component_->GetCy(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
H A Dsvg_line.cpp77 ConvertDimensionToPx(component_->GetY1(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
79 ConvertDimensionToPx(component_->GetY2(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
87 ConvertDimensionToPx(component_->GetY1(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
89 ConvertDimensionToPx(component_->GetY2(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_rect.cpp40 rx = ConvertDimensionToPx(rectAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath()
45 ry = ConvertDimensionToPx(rectAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath()
54 ConvertDimensionToPx(rectAttr_.y, viewPort, SvgLengthType::VERTICAL), in AsPath()
56 ConvertDimensionToPx(rectAttr_.height, viewPort, SvgLengthType::VERTICAL)), in AsPath()
62 RSScalar top = ConvertDimensionToPx(rectAttr_.y, viewPort, SvgLengthType::VERTICAL); in AsPath()
64 RSScalar height = ConvertDimensionToPx(rectAttr_.height, viewPort, SvgLengthType::VERTICAL); in AsPath()
H A Dsvg_line.cpp40 ConvertDimensionToPx(declaration->GetY1(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
42 ConvertDimensionToPx(declaration->GetY2(), viewPort, SvgLengthType::VERTICAL)); in AsPath()
50 ConvertDimensionToPx(lineAttr_.y1, viewPort, SvgLengthType::VERTICAL)); in AsPath()
52 ConvertDimensionToPx(lineAttr_.y2, viewPort, SvgLengthType::VERTICAL)); in AsPath()
H A Dsvg_ellipse.cpp44 rx = ConvertDimensionToPx(ellipseAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath()
49 ry = ConvertDimensionToPx(ellipseAttr_.ry, viewPort, SvgLengthType::VERTICAL); in AsPath()
57 …ConvertDimensionToPx(declaration->GetCy(), viewPort, SvgLengthType::VERTICAL) - ry, rx + rx, ry + … in AsPath()
61 RSScalar top = ConvertDimensionToPx(ellipseAttr_.cy, viewPort, SvgLengthType::VERTICAL) - ry; in AsPath()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.cpp105 if (scrollBarAxis == Axis::VERTICAL) { in NotifyScrollableNode()
159 if (scrollBarAxis == Axis::VERTICAL) { in NotifyScrollBar()
243 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderScroll->GetEstimatedHeight()) in GetScrollableChildSize()
249 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderGridScroll->GetEstimatedHeight()) in GetScrollableChildSize()
255 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderList->GetEstimatedHeight()) in GetScrollableChildSize()
261 scrollBarAxis == Axis::VERTICAL ? result.SetHeight(renderWaterFlow->GetEstimatedHeight()) in GetScrollableChildSize()
273 …scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderScroll->GetEstimatedHeight()) in AdjustParam()
282 …scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderGridScroll->GetEstimatedHeig… in AdjustParam()
291 … scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderList->GetEstimatedHeight()) in AdjustParam()
299 …scrollBarAxis == Axis::VERTICAL ? scrollableChildSize.SetHeight(renderWaterFlow->GetEstimatedHeigh… in AdjustParam()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_circle.cpp51 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in Paint()
58 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in Paint()
85 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in PaintDirectly()
95 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in PaintDirectly()
117 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in GetPaintBounds()
123 …ConvertDimensionToPx(cx_, LengthType::HORIZONTAL), ConvertDimensionToPx(cy_, LengthType::VERTICAL), in GetPaintBounds()
H A Drosen_render_svg_rect.cpp130 rx = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath()
135 ry = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath()
145 …ConvertDimensionToPx(y_, LengthType::VERTICAL), ConvertDimensionToPx(width_, LengthType::HORIZONTA… in GetPath()
146 ConvertDimensionToPx(height_, LengthType::VERTICAL)), in GetPath()
152 ConvertDimensionToPx(y_, LengthType::VERTICAL), in GetPath()
154 ConvertDimensionToPx(height_ + y_, LengthType::VERTICAL)), in GetPath()
H A Drosen_render_svg_ellipse.cpp130 rx = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath()
135 ry = ConvertDimensionToPx(ry_, LengthType::VERTICAL); in GetPath()
143 ConvertDimensionToPx(cy_, LengthType::VERTICAL) - ry, rx + rx, ry + ry); in GetPath()
147 ConvertDimensionToPx(cy_, LengthType::VERTICAL) - ry, in GetPath()
149 ry + ConvertDimensionToPx(cy_, LengthType::VERTICAL)); in GetPath()
H A Drosen_render_svg_line.cpp121 …onvertDimensionToPx(x1_, LengthType::HORIZONTAL), ConvertDimensionToPx(y1_, LengthType::VERTICAL)); in GetPath()
122 …onvertDimensionToPx(x2_, LengthType::HORIZONTAL), ConvertDimensionToPx(y2_, LengthType::VERTICAL)); in GetPath()
127 …onvertDimensionToPx(x1_, LengthType::HORIZONTAL), ConvertDimensionToPx(y1_, LengthType::VERTICAL)); in GetPath()
128 …onvertDimensionToPx(x2_, LengthType::HORIZONTAL), ConvertDimensionToPx(y2_, LengthType::VERTICAL)); in GetPath()
H A Drosen_render_svg_use.cpp32 …onvertDimensionToPx(x_, LengthType::HORIZONTAL), ConvertDimensionToPx(y_, LengthType::VERTICAL) }); in Paint()
66 … ConvertDimensionToPx(x_, LengthType::HORIZONTAL), ConvertDimensionToPx(y_, LengthType::VERTICAL)); in PaintDirectly()
69 … ConvertDimensionToPx(x_, LengthType::HORIZONTAL), ConvertDimensionToPx(y_, LengthType::VERTICAL)); in PaintDirectly()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtabs_layout_algorithm.cpp86 if ((axis == Axis::VERTICAL) && layoutProperty->GetWidthAutoValue(false)) { in Measure()
180 tabBarFrameSize.MainSize(Axis::VERTICAL) + padding.Offset().GetY()); in LayoutOffsetList()
182 … tabBarFrameSize.MainSize(Axis::VERTICAL) + dividerStrokeWidth + padding.Offset().GetY()); in LayoutOffsetList()
184 tabBarOffset = OffsetF(barPosX, frameSize.MainSize(Axis::VERTICAL) - in LayoutOffsetList()
185 tabBarFrameSize.MainSize(Axis::VERTICAL) - padding.bottom.value_or(0.0f)); in LayoutOffsetList()
186 …Offset = OffsetF(dividerStartMargin + padding.Offset().GetX(), frameSize.MainSize(Axis::VERTICAL) - in LayoutOffsetList()
187 … tabBarFrameSize.MainSize(Axis::VERTICAL) - padding.bottom.value_or(0.0f) - dividerStrokeWidth); in LayoutOffsetList()
191 …float barPosY = (frameSize.MainSize(Axis::VERTICAL) - tabBarFrameSize.MainSize(Axis::VERTICAL)) / … in LayoutOffsetList()
250 if (axis == Axis::VERTICAL) { in MeasureDivider()
291 } else if (axis == Axis::VERTICAL) { in MeasureSwiper()
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_scroll_view.h177 if (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL) { in SetHorizontalScrollState()
178 direction_ = state ? HORIZONTAL_AND_VERTICAL : VERTICAL; in SetHorizontalScrollState()
209 direction_ = state ? VERTICAL : HORIZONTAL_NOR_VERTICAL; in SetVerticalScrollState()
222 return (direction_ == VERTICAL || direction_ == HORIZONTAL_AND_VERTICAL); in GetVerticalScrollState()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_indicator_layout_test_ng.cpp61 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820302()
63 layoutProperty_->UpdateDirection(Axis::VERTICAL);
86 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820402()
177 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820702()
207 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820802()
237 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820902()
266 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820a02()
293 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820b02()
333 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820c02()
376 model.SetDirection(Axis::VERTICAL); in __anon1f28c3820d02()
H A Dswiper_indicator_modifier_test_ng.cpp38 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30202()
66 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30302()
96 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30402()
126 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30502()
412 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30602()
447 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30702()
484 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30802()
521 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30902()
554 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30a02()
588 model.SetDirection(Axis::VERTICAL); in __anon0912d0b30b02()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_list.cpp151 UIList::UIList() : UIList(VERTICAL) {} in UIList()
200 if (direction_ == VERTICAL) { in OnDragEvent()
250 if (direction_ == VERTICAL) { in ScrollBy()
358 if (direction_ == VERTICAL) { in MoveOffset()
404 if (direction_ == VERTICAL) { in IsNeedReCalculateDragEnd()
422 if (direction_ == VERTICAL) { in ReCalculateDragEnd()
516 if (direction_ == VERTICAL) { in MoveChildStep()
539 if (direction_ == VERTICAL) { in GetSelectView()
569 if (direction_ == VERTICAL) { in PushBack()
787 if (direction_ == VERTICAL) { in RefreshList()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/
H A Dscroll_layout_algorithm.cpp38 if (axis == Axis::VERTICAL) { in UpdateChildConstraint()
51 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Measure()
93 if (axis == Axis::VERTICAL) { in Measure()
110 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Layout()
138 …auto currentOffset = axis == Axis::VERTICAL ? OffsetF(0.0f, currentOffset_) : OffsetF(currentOffse… in Layout()
151 axis == Axis::VERTICAL) { in Layout()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Drender_scroll.cpp273 if (axis_ != Axis::VERTICAL) { in CanScrollVertically()
314 if (axis_ != Axis::VERTICAL) { in ScrollPageCheck()
530 if (axis_ == Axis::VERTICAL) { in InitScrollBar()
536 SetBarCallBack(axis_ == Axis::VERTICAL); in InitScrollBar()
541 const auto isVertical = (axis_ == Axis::VERTICAL); in ResetScrollable()
573 scrollable_->SetAxis(axis_ == Axis::VERTICAL ? Axis::VERTICAL : Axis::HORIZONTAL); in ResetScrollable()
721 if (axis_ == Axis::VERTICAL) { in DoJump()
815 double distance = (axis_ == Axis::VERTICAL) ? pixelY : pixelX; in ScrollBy()
830 if (axis_ == Axis::VERTICAL) { in GetCurrentPosition()
869 auto isVertical = (axis_ == Axis::VERTICAL); in InitScrollBarProxy()
[all …]
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/
H A Dwindow_manager_service_utils_test.cpp111 …bool ret = WmsUtils::IsExpectedRotateLandscapeWindow(Orientation::VERTICAL, DisplayOrientation::PO…
122 …bool ret = WmsUtils::IsExpectedRotatableWindow(Orientation::VERTICAL, DisplayOrientation::PORTRAIT,
134 …bool ret = WmsUtils::IsExpectedRotatableWindow(Orientation::VERTICAL, DisplayOrientation::PORTRAIT…
145 …bool ret = WmsUtils::IsExpectedRotatableWindow(Orientation::VERTICAL, DisplayOrientation::PORTRAIT…

12345678910>>...16