Home
last modified time | relevance | path

Searched refs:GetAxis (Results 1 – 25 of 87) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll_bar/
H A Dscroll_bar_proxy.cpp91 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 Drender_scroll_bar.cpp44 isAxisChanged_ = (axis_ == scrollBarComponent->GetAxis()); in Update()
45 axis_ = scrollBarComponent->GetAxis(); in Update()
H A Drender_scroll_bar.h52 Axis GetAxis() const in GetAxis() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_layout_algorithm.cpp58 …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 Dscroll_pattern.cpp57 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 Dscroll_pattern.h72 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 Dscroll_layout_algorithm.cpp51 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 Dscrollable_controller.cpp45 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 Dnestable_scroll_container.cpp41 if (pattern->GetAxis() != GetAxis()) { in SearchParent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_position_controller.cpp93 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 Dscrollable_cover_test_ng.cpp331 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 Dtabs_layout_algorithm.cpp42 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 Dtabs_layout_algorithm.h40 Axis GetAxis(LayoutWrapper* layoutWrapper) const;
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtabs_test_ng.cpp295 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 Dscrollable_event.h48 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 Dwater_flow_layout_property.cpp119 if (GetAxis() == Axis::VERTICAL || UseSegmentedLayout(host) || SWLayout(host)) { in OnRowsGapUpdate()
126 if (GetAxis() == Axis::HORIZONTAL || UseSegmentedLayout(host) || SWLayout(host)) { in OnColumnsGapUpdate()
H A Dwater_flow_pattern.cpp178 …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 Dscroll_bar_layout_algorithm.cpp83 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Measure()
121 auto axis = layoutProperty->GetAxis().value_or(Axis::VERTICAL); in Layout()
H A Dscroll_bar_accessibility_property.cpp29 …if (scrollBarPattern->GetAxis() != Axis::NONE && Positive(scrollBarPattern->GetControlDistance()))… in IsScrollable()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/water_flow/
H A Dwater_flow_position_controller.cpp38 return waterFlow->GetAxis(); in GetScrollDirection()
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pattern/
H A Dmock_nestable_scroll_container.h30 MOCK_METHOD(OHOS::Ace::Axis, GetAxis, (), (const, override));
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/swiper/
H A Dswiper_declaration.h105 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 Dselect_overlay_scroll_notifier.h45 host->GetId(), scrollablePattern->GetAxis(), offset, source); in NotifyOnScrollEvent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/swiper/
H A Dswiper_component.cpp83 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 Dcalendar_composed_element.cpp32 { "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()

1234