/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/ |
H A D | scroll_bar_proxy.cpp | 91 auto scrollBarAxis = scrollBar->GetAxis(); in NotifyScrollableNode() 144 auto scrollBarAxis = scrollBar->GetAxis(); in NotifyScrollBar() 220 return renderScroll->GetAxis(); in GetScrollableAxis() 224 return renderGridScroll->GetAxis(); in GetScrollableAxis() 228 return renderList->GetAxis(); in GetScrollableAxis() 232 return renderWaterFlow->GetAxis(); in GetScrollableAxis() 275 scrollableAxis = renderScroll->GetAxis(); in AdjustParam() 284 scrollableAxis = renderGridScroll->GetAxis(); in AdjustParam() 293 scrollableAxis = renderList->GetAxis(); in AdjustParam() 301 scrollableAxis = renderWaterFlow->GetAxis(); in AdjustParam()
|
H A D | render_scroll_bar.cpp | 44 isAxisChanged_ = (axis_ == scrollBarComponent->GetAxis()); in Update() 45 axis_ = scrollBarComponent->GetAxis(); in Update()
|
H A D | render_scroll_bar.h | 52 Axis GetAxis() const in GetAxis() function
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_item_layout_algorithm.cpp | 58 …if (props->GetStretchChild() || (!childConstraint->selfIdealSize.MainSize(props->GetAxis()).has_va… in CreateChildConstraint() 59 layoutConstraint.parentIdealSize.MainSize(props->GetAxis()).has_value())) { in CreateChildConstraint() 61 layoutConstraint.parentIdealSize.MainSize(props->GetAxis()), props->GetAxis()); in CreateChildConstraint()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/ |
H A D | scroll_pattern.cpp | 57 if (axis != GetAxis()) { in OnModifyDone() 142 auto axis = GetAxis(); in SetScrollProperties() 198 if (GetAxis() == Axis::NONE) { in OnScrollCallback() 372 if (GetAxis() == Axis::HORIZONTAL) { in HandleScrollPosition() 390 if (GetAxis() == Axis::HORIZONTAL) { in FireTwoDimensionOnWillScroll() 399 if (GetAxis() == Axis::HORIZONTAL) { in FireTwoDimensionOnWillScroll() 417 if (GetAxis() == Axis::HORIZONTAL) { in FireOnDidScroll() 503 if (GetAxis() == Axis::HORIZONTAL) { in HandleCrashTop() 520 if (GetAxis() == Axis::HORIZONTAL) { in HandleCrashBottom() 813 GetAxis() }; in GetScrollOffsetAbility() [all …]
|
H A D | scroll_pattern.h | 72 auto paint = MakeRefPtr<ScrollPaintMethod>(GetAxis() == Axis::HORIZONTAL, drawDirection); in CreateNodePaintMethod() 101 return GetAxis() != Axis::NONE; in IsScrollable() 127 if (GetAxis() == Axis::HORIZONTAL) { in GetCurrentOffset()
|
H A D | scroll_layout_algorithm.cpp | 51 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Measure() 110 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Layout()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/ |
H A D | scrollable_controller.cpp | 45 if (pattern->GetAxis() != Axis::NONE) { in AnimateTo() 69 auto axis = pattern->GetAxis(); in GetCurrentOffset() 82 return pattern->GetAxis(); in GetScrollDirection() 90 auto offset = pattern->GetAxis() == Axis::VERTICAL ? pixelY : pixelX; in ScrollBy() 113 if (pattern->GetAxis() != Axis::NONE) { in ScrollToEdge() 133 if (pattern->GetAxis() == Axis::NONE) { in ScrollPage()
|
H A D | nestable_scroll_container.cpp | 41 if (pattern->GetAxis() != GetAxis()) { in SearchParent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_position_controller.cpp | 93 if (scroll && scroll->GetAxis() != Axis::NONE) { in AnimateTo() 94 … auto normalizedPos = scroll->NormalizePercentToPx(position, scroll->GetAxis() == Axis::VERTICAL); in AnimateTo() 164 direction = scroll->GetAxis(); in GetScrollDirection() 175 if (scroll && scroll->GetAxis() != Axis::NONE) { in ScrollToEdge() 186 if (scroll && scroll->GetAxis() != Axis::NONE) { in ScrollPage()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/ |
H A D | scrollable_cover_test_ng.cpp | 331 auto scrollable = AceType::MakeRefPtr<Scrollable>(scrollCallback, scrollPn->GetAxis()); 934 auto scrollable = AceType::MakeRefPtr<Scrollable>(scrollCallback, scrollPn->GetAxis()); 1234 auto scrollable = AceType::MakeRefPtr<Scrollable>(scrollCallback, scrollPn->GetAxis()); 1288 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19591e02() 1321 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592102() 1361 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592302() 1403 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592802() 1420 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592902() 1441 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592b02() 1460 …lable = AceType::MakeRefPtr<Scrollable>([](double, int32_t) { return true; }, scrollPn->GetAxis()); in __anon09dd19592d02() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/ |
H A D | tabs_layout_algorithm.cpp | 42 auto axis = layoutProperty->GetAxis().value_or(Axis::HORIZONTAL); in Measure() 162 auto axis = GetAxis(layoutWrapper); in LayoutOffsetList() 219 Axis TabsLayoutAlgorithm::GetAxis(LayoutWrapper* layoutWrapper) const in GetAxis() function in OHOS::Ace::NG::TabsLayoutAlgorithm 223 return layoutProperty->GetAxis().value_or(Axis::HORIZONTAL); in GetAxis() 242 auto axis = layoutProperty->GetAxis().value_or(Axis::HORIZONTAL); in MeasureDivider() 268 auto axis = layoutProperty->GetAxis().value_or(Axis::HORIZONTAL); in MeasureSwiper()
|
H A D | tabs_layout_algorithm.h | 40 Axis GetAxis(LayoutWrapper* layoutWrapper) const;
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tabs_test_ng.cpp | 295 EXPECT_EQ(tabsLayoutProperty->GetAxis().value(), Axis::HORIZONTAL); 298 EXPECT_EQ(tabsLayoutProperty->GetAxis().value(), Axis::VERTICAL); 575 EXPECT_EQ(layoutProperty_->GetAxis().value(), Axis::HORIZONTAL); 579 EXPECT_EQ(layoutProperty_->GetAxis().value(), Axis::VERTICAL); 583 EXPECT_EQ(layoutProperty_->GetAxis().value(), Axis::FREE); 587 EXPECT_EQ(layoutProperty_->GetAxis().value(), Axis::NONE); 606 EXPECT_FALSE(layoutProperty_->GetAxis().has_value());
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | scrollable_event.h | 48 Axis GetAxis() const in GetAxis() function 201 scrollableEvents_[scrollableEvent->GetAxis()] = scrollableEvent; in AddScrollableEvent() 206 scrollableEvents_.erase(scrollableEvent->GetAxis()); in RemoveScrollableEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/ |
H A D | water_flow_layout_property.cpp | 119 if (GetAxis() == Axis::VERTICAL || UseSegmentedLayout(host) || SWLayout(host)) { in OnRowsGapUpdate() 126 if (GetAxis() == Axis::HORIZONTAL || UseSegmentedLayout(host) || SWLayout(host)) { in OnColumnsGapUpdate()
|
H A D | water_flow_pattern.cpp | 178 …auto paint = MakeRefPtr<WaterFlowPaintMethod>(GetAxis() == Axis::HORIZONTAL, IsReverse(), IsVertic… in CreateNodePaintMethod() 202 SetAxis(layoutProperty->GetAxis()); in OnModifyDone() 389 …return layoutProperty->GetAxis() == Axis::VERTICAL ? layoutInfo_->GetMainCount() : layoutInfo_->Ge… in GetRows() 397 …return layoutProperty->GetAxis() == Axis::VERTICAL ? layoutInfo_->GetCrossCount() : layoutInfo_->G… in GetColumns() 406 auto axis = layoutProperty->GetAxis(); in ScrollPage() 835 auto axis = GetAxis(); in GetChildrenExpandedSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_layout_algorithm.cpp | 83 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Measure() 121 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Layout()
|
H A D | scroll_bar_accessibility_property.cpp | 29 …if (scrollBarPattern->GetAxis() != Axis::NONE && Positive(scrollBarPattern->GetControlDistance()))… in IsScrollable()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/ |
H A D | water_flow_position_controller.cpp | 38 return waterFlow->GetAxis(); in GetScrollDirection()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pattern/ |
H A D | mock_nestable_scroll_container.h | 30 MOCK_METHOD(OHOS::Ace::Axis, GetAxis, (), (const, override));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/ |
H A D | swiper_declaration.h | 105 Axis GetAxis() const in GetAxis() function 390 GetAxis() == swiper.GetAxis() &&
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/select_overlay/ |
H A D | select_overlay_scroll_notifier.h | 45 host->GetId(), scrollablePattern->GetAxis(), offset, source); in NotifyOnScrollEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/ |
H A D | swiper_component.cpp | 83 Axis SwiperComponent::GetAxis() const in GetAxis() function in OHOS::Ace::SwiperComponent 85 return declaration_->GetAxis(); in GetAxis()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | calendar_composed_element.cpp | 32 { "direction", [](const CalendarComposedElement& inspector) { return inspector.GetAxis(); } }, in __anonf1513b160502() 123 std::string CalendarComposedElement::GetAxis() const in GetAxis() function in OHOS::Ace::V2::CalendarComposedElement 126 auto axis = renderCalendar ? renderCalendar->GetAxis() : Axis::HORIZONTAL; in GetAxis()
|