/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | list_model_impl.cpp | 31 auto listComponent = AceType::MakeRefPtr<V2::ListComponent>(); in Create() 40 JSViewSetProperty(&V2::ListComponent::SetSpace, space); in SetSpace() 45 JSViewSetProperty(&V2::ListComponent::SetInitialIndex, initialIndex); in SetInitialIndex() 63 JSViewSetProperty(&V2::ListComponent::SetDirection, axis); in SetListDirection() 68 JSViewSetProperty(&V2::ListComponent::SetScrollBar, scrollBar); in SetScrollBar() 73 JSViewSetProperty(&V2::ListComponent::SetEdgeEffect, edgeEffect); in SetEdgeEffect() 78 JSViewSetProperty(&V2::ListComponent::SetEditMode, editMode); in SetEditMode() 99 JSViewSetProperty(&V2::ListComponent::SetLanes, lanes); in SetLanes() 124 JSViewSetProperty(&V2::ListComponent::SetHasWidth, hasWidth); in SetHasWidth() 129 JSViewSetProperty(&V2::ListComponent::SetHasHeight, hasHeight); in SetHasHeight() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_component.cpp | 22 ListComponent::ListComponent(const std::list<RefPtr<Component>>& children) : ComponentGroup(childre… in ListComponent() function in OHOS::Ace::ListComponent 27 RefPtr<Element> ListComponent::CreateElement() in CreateElement() 36 RefPtr<RenderNode> ListComponent::CreateRenderNode() in CreateRenderNode() 41 void ListComponent::InitStyle(const RefPtr<ListTheme>& theme) in InitStyle() 49 void ListComponent::SetFlexAlign(FlexAlign flexAlign) in SetFlexAlign() 58 void ListComponent::SetColumnCount(int32_t count) in SetColumnCount() 67 void ListComponent::SetColumnExtent(int32_t extent) in SetColumnExtent() 75 void ListComponent::SetItemExtent(const Dimension& itemExtent) in SetItemExtent() 83 void ListComponent::SetWidth(double width) in SetWidth() 92 void ListComponent::SetHeight(double height) in SetHeight() [all …]
|
H A D | list_component.h | 36 class ACE_EXPORT ListComponent : public ComponentGroup { 37 DECLARE_ACE_TYPE(ListComponent, ComponentGroup); 40 ListComponent() = default; 41 explicit ListComponent(const std::list<RefPtr<Component>>& children); 42 ~ListComponent() override = default;
|
H A D | render_list.h | 32 class ListComponent; variable 507 void SetOnRotateCallback(const RefPtr<ListComponent>& component);
|
H A D | render_list.cpp | 32 const RefPtr<ListComponent> list = AceType::DynamicCast<ListComponent>(component); in Update() 783 void RenderList::SetOnRotateCallback(const RefPtr<ListComponent>& component) in SetOnRotateCallback()
|
H A D | list_element.cpp | 843 RefPtr<ListComponent> list = AceType::DynamicCast<ListComponent>(component_); in Update()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | list_component.cpp | 27 const char * const ListComponent::FUNC_SCROLLTO = "scrollTo"; 28 const char * const ListComponent::INDEX_SCROLLTO = "index"; 29 ListComponent::ListComponent(JSValue options, JSValue children, AppStyleManager *styleManager) in ListComponent() function in OHOS::ACELite::ListComponent 40 bool ListComponent::CreateNativeViews() in CreateNativeViews() 51 void ListComponent::ReleaseNativeViews() in ReleaseNativeViews() 64 UIView *ListComponent::GetComponentRootView() const in GetComponentRootView() 69 bool ListComponent::ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle() 120 bool ListComponent::ProcessChildren() in ProcessChildren() 142 void ListComponent::OnViewAttached() in OnViewAttached() 155 bool ListComponent::UpdateForView() in UpdateForView() [all …]
|
H A D | list_component.h | 25 class ListComponent final : public Component { 27 ACE_DISALLOW_COPY_AND_MOVE(ListComponent); 28 ListComponent() = delete; 29 ListComponent(JSValue options, JSValue children, AppStyleManager *styleManager); 30 ~ListComponent() override {} in ~ListComponent()
|
H A D | component_factory.h | 142 component = new ListComponent(options, children, styleManager); in CreateComponent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/list/ |
H A D | list_component.cpp | 26 RefPtr<RenderNode> ListComponent::CreateRenderNode() in CreateRenderNode() 31 RefPtr<Element> ListComponent::CreateElement() in CreateElement() 36 uint32_t ListComponent::Compare(const RefPtr<Component>& component) const in Compare() 38 auto list = AceType::DynamicCast<ListComponent>(component); in Compare()
|
H A D | list_component.h | 35 class ACE_EXPORT ListComponent : public ComponentGroup { 36 DECLARE_ACE_TYPE(V2::ListComponent, ComponentGroup) 39 ListComponent() = default; 40 ~ListComponent() override = default; 194 ACE_DISALLOW_COPY_AND_MOVE(ListComponent);
|
H A D | render_list.cpp | 84 component_ = AceType::DynamicCast<ListComponent>(component); in Update() 732 ResumeEventCallback(component_, &ListComponent::GetOnScroll, offset, ScrollState::IDLE); in PerformLayout() 734 ResumeEventCallback(component_, &ListComponent::GetOnScroll, offset, scrollState_); in PerformLayout() 749 ResumeEventCallback(component_, &ListComponent::callback); \ 913 …ResumeEventCallback(component_, &ListComponent::GetOnScrollIndex, static_cast<int32_t>(firstDispla… in SetItemsPositionForLaneList() 1054 …ResumeEventCallback(component_, &ListComponent::GetOnScrollIndex, static_cast<int32_t>(firstDispla… in SetItemsPosition() 1687 …if (!ResumeEventCallback(component_, &ListComponent::GetOnItemDelete, false, static_cast<int32_t>(… in OnItemDelete() 2391 if (!ResumeEventCallback(component_, &ListComponent::GetOnItemMove, false, from, to)) { in OnSelectedItemStopMoving() 2590 … ResumeEventCallback(renderList->component_, &ListComponent::GetOnItemMove, true, from, to); in CreateDragDropRecognizer()
|
H A D | list_element.cpp | 44 auto listComponent = AceType::DynamicCast<ListComponent>(component_); in PerformBuild()
|
H A D | render_list.h | 373 RefPtr<ListComponent> component_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | indexer_list_component.h | 29 …IndexerListComponent(const RefPtr<ListComponent>& list, bool circleMode = false, bool isRightToLef… 44 IndexerListComponent(const RefPtr<ListComponent>& list, const std::vector<std::string>& label, 101 RefPtr<ListComponent> list_;
|
H A D | indexer_component.h | 79 …IndexerComponent(const RefPtr<ListComponent>& list, bool circleMode, bool bubble = true, bool mult… 96 …IndexerComponent(const RefPtr<ListComponent>& list, bool circleMode, const std::vector<std::string… 276 RefPtr<ListComponent> list_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | render_multi_child_scroll.h | 115 void UpdateGradient(const RefPtr<ListComponent>& listComponent); 116 void UpdateEdgeEffect(const RefPtr<ListComponent>& listComponent);
|
H A D | render_multi_child_scroll.cpp | 195 void RenderMultiChildScroll::UpdateEdgeEffect(const RefPtr<ListComponent>& listComponent) in UpdateEdgeEffect() 206 void RenderMultiChildScroll::UpdateGradient(const RefPtr<ListComponent>& listComponent) in UpdateGradient() 214 auto listComponent = AceType::DynamicCast<ListComponent>(component); in Update()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | list_composed_element.cpp | 169 auto listComponent = AceType::DynamicCast<ListComponent>(renderList->GetComponent()); in GetDivider() 205 auto listComponent = AceType::DynamicCast<ListComponent>(renderList->GetComponent()); in GetEdgeEffect() 246 auto listComponent = AceType::DynamicCast<ListComponent>(renderList->GetComponent()); in GetScrollBar()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_list.h | 220 RefPtr<ListComponent> listComponent_;
|
H A D | dom_list.cpp | 320 listComponent_ = AceType::MakeRefPtr<ListComponent>(); in CreateOrUpdateList()
|
H A D | dom_node.cpp | 1268 AceType::InstanceOf<ListComponent>(mainComponent) || in CompositeComponents()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/dialog/action_sheet/ |
H A D | action_sheet_component.cpp | 75 auto list = AceType::MakeRefPtr<V2::ListComponent>(); in BuildMenu()
|