Home
last modified time | relevance | path

Searched refs:ScrollableItemPool (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable_item_pool.cpp25 ScrollableItemPool& ScrollableItemPool::GetInstance() in GetInstance()
27 static ScrollableItemPool pool(MAX_SIZE); in GetInstance()
31 RefPtr<ScrollableItem> ScrollableItemPool::Allocate( in Allocate()
49 void ScrollableItemPool::Deallocate(ScrollableItem* obj) in Deallocate()
H A Dscrollable_item_pool.h29 class ScrollableItemPool {
31 static ScrollableItemPool& GetInstance();
37 explicit ScrollableItemPool(size_t size) : size_(size) {} in ScrollableItemPool() function
44 ScrollableItemPool* allocator = nullptr;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_item_model_ng.cpp32 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::GRID_ITEM_ETS_TAG, nodeId, in Create()
61 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::GRID_ITEM_ETS_TAG, nodeId, in CreateFrameNode()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_item_model_ng.cpp44 auto frameNode = ScrollableItemPool::GetInstance().Allocate(V2::LIST_ITEM_ETS_TAG, nodeId, in Create()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/
H A Dscrollable_cover_test_ng.cpp268 auto scrollableItemPool = std::make_shared<ScrollableItemPool>(size);
304 auto scrollableItemPool = std::make_shared<ScrollableItemPool>(poolSize);