Home
last modified time | relevance | path

Searched refs:UISwipeView (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-graphics-layout-guide.md7 ## UISwipeView section
12 UISwipeView继承UIViewGroup,除提供容器类组件Add、Remove、Insert等方法外还提供按页面滑动功能,滑动结束后当前页面居中对齐显示。该组件分为水平方向和垂直方向,通过A…
32 1. 创建一个水平滑动的UISwipeView
35 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL);
38 2. 向UISwipeView中添加子组件。
57 **图1** UISwipeView水平滑动效果图
64 1. 创建一个水平滑动的UISwipeView并添加子组件。
67 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL);
82 2. 设置UISwipeView循环滑动。
90 **图2** UISwipeView水平滑动循环效果图
H A Dsubsys-graphics-container-guide.md12 RootView、UIAbstractScroll、UIPicker组件从UIViewGroup继承,UIList、UIScrollView、UISwipeView组件从UIAbstractScro…
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Dui_swipe_view.cpp22 UISwipeView::UISwipeView(uint8_t direction) in UISwipeView() function in OHOS::UISwipeView
33 UISwipeView::~UISwipeView() {} in ~UISwipeView()
35 void UISwipeView::Add(UIView* view) in Add()
57 void UISwipeView::Remove(UIView* view) in Remove()
70 void UISwipeView::MoveHeadOrTailChild() in MoveHeadOrTailChild()
304 void UISwipeView::StopAnimator() in StopAnimator()
312 void UISwipeView::SortChild() in SortChild()
483 bool UISwipeView::IsNeedLoop() in IsNeedLoop()
553 void UISwipeView::CurrentIndexInc() in CurrentIndexInc()
565 void UISwipeView::CurrentIndexDec() in CurrentIndexDec()
[all …]
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_swipe_view/
H A Dui_test_ui_swipe_view.cpp68 UIKitSwipeViewTestAlign001(UISwipeView::ALIGN_LEFT); in GetTestView()
70 UIKitSwipeViewTestAlign001(UISwipeView::ALIGN_RIGHT); in GetTestView()
93 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitSwipeViewTestHorizontal001()
125 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitSwipeViewTestHorizontal002()
161 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitSwipeViewTestHorizontal003()
200 UISwipeView* swipe = new UISwipeView(UISwipeView::VERTICAL); in UIKitSwipeViewTestVer001()
230 UISwipeView* swipe = new UISwipeView(UISwipeView::VERTICAL); in UIKitSwipeViewTestVer002()
267 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitSwipeViewTestRemove001()
314 if (alignMode == UISwipeView::ALIGN_LEFT) { in UIKitSwipeViewTestAlign001()
327 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitSwipeViewTestAlign001()
[all …]
H A Dui_test_ui_swipe_view.h68 void UIKitSwipeViewTestAlign001(UISwipeView::AlignMode alignMode);
75 UISwipeView* currentSwipe_ = nullptr;
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dswiper_tdd_test.cpp105 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
121 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
139 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest001()
164 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
186 swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest002()
216 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest003()
251 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest004()
304 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest005()
354 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest013()
425 UISwipeView* swiperView = reinterpret_cast<UISwipeView *>(view); in ComponentSwiperAttributeSetTest014()
[all …]
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-graphics-layout-guide.md5 ## UISwipeView<a name="section13631719181717"></a>
9UISwipeView** inherits from **UIViewGroup**. In addition to the **Add**, **Remove**, and **In…
62 1. Create a horizontal swiping **UISwipeView**.
65 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL);
68 2. Add child components to **UISwipeView**.
87 **Figure 1** Horizontal swiping effect of **UISwipeView**<a name="fig933862020262"></a>
95 1. Create a horizontal swiping **UISwipeView** and add its child components.
98 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL);
113 2. Enable cyclic swiping for the **UISwipeView**.
121 …**Figure 2** Cyclic horizontal swiping effect of **UISwipeView**<a name="fig1533902042618"></a>…
H A Dsubsys-graphics-container-guide.md8 … from **UIViewGroup**, and the **UIList**, **UIScrollView**, and **UISwipeView** components i…
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_swipe_view_unit_test.cpp37 UISwipeView* swipeView_;
43 swipeView_ = new UISwipeView(); in SetUp()
218 class OnTestSwipeListener : public UISwipeView::OnSwipeListener {
222 void OnSwipe(UISwipeView& view) override in OnSwipe()
229 class TestUISwipeView : public UISwipeView {
312 swipeView_->SetAlignMode(UISwipeView::ALIGN_LEFT);
313 EXPECT_EQ(swipeView_->GetAlignMode(), UISwipeView::ALIGN_LEFT);
/ohos5.0/foundation/arkui/ui_lite/test/unittest/rotate/
H A Dui_rotate_input_unit_test.cpp59 UISwipeView* swipe = new UISwipeView();
143 UISwipeView* swipe = new UISwipeView();
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_swipe_view.h55 class UISwipeView : public UIAbstractScroll {
68 virtual void OnSwipe(UISwipeView& view) = 0;
80 UISwipeView(uint8_t direction = HORIZONTAL);
88 virtual ~UISwipeView();
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dswiper_component.h44 class ChangeListener : public UISwipeView::OnSwipeListener {
53 void OnSwipe(UISwipeView &view) override;
59 UISwipeView swiperView_;
H A Dswiper_component.cpp48 return const_cast<UISwipeView *>(&swiperView_); in GetComponentRootView()
163 void SwiperComponent::ChangeListener::OnSwipe(UISwipeView &view) in OnSwipe()
171 UISwipeView *swipeView = reinterpret_cast<UISwipeView *>(&view); in OnSwipe()
H A Dtabs_component.h56 class ChangeListener : public UISwipeView::OnSwipeListener {
65 void OnSwipe(UISwipeView& view) override;
H A Dtabs_component.cpp298 void TabsComponent::ChangeListener::OnSwipe(UISwipeView& view) in OnSwipe()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_rotate_input/
H A Dui_test_rotate_input.cpp72 static_cast<UISwipeView*>(view_)->SetRotateFactor(factor_); in OnClick()
264 swipe_ = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitRotateEventSwipeView003()
H A Dui_test_rotate_input.h50 UISwipeView* swipe_ = nullptr;
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_opacity/
H A Dui_test_opacity.cpp461 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitOpacityTestUISwipeView001()
/ohos5.0/foundation/arkui/ui_lite/frameworks/dfx/
H A Dui_dump_dom_tree.cpp159 const UISwipeView* tmpSwipeView = static_cast<const UISwipeView*>(view); in AddSwipeViewField()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp689 UISwipeView* swipe = new UISwipeView(UISwipeView::HORIZONTAL); in UIKitUITestBorderMarginPaddingTest018()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_scale_rotate/
H A Dui_test_view_scale_rotate.cpp31 list_ = new ListLayout(UISwipeView::VERTICAL); in SetUp()