Home
last modified time | relevance | path

Searched refs:segmentCache_ (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/
H A Dwater_flow_layout_info_base.cpp39 auto cache = segmentCache_.find(itemIdx); in GetSegment()
40 if (cache != segmentCache_.end()) { in GetSegment()
49 segmentCache_[itemIdx] = idx; in GetSegment()
H A Dwater_flow_layout_info_base.h218 mutable std::unordered_map<int32_t, int32_t> segmentCache_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_layout_info_test.cpp195 EXPECT_EQ(info.segmentCache_.size(), 6);
196 EXPECT_EQ(info.segmentCache_.at(15), 2);
197 info.segmentCache_.clear();
H A Dwater_flow_segment_layout_test.cpp1370 EXPECT_TRUE(info->segmentCache_.empty());
1386 EXPECT_EQ(info->segmentCache_.size(), 9);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp261 segmentCache_.clear(); in Reset()
458 segmentCache_.clear(); in InitSegments()
H A Dwater_flow_segmented_layout.cpp314 info_->segmentCache_.erase(info_->footerIndex_); in InitFooter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/sliding_window/
H A Dwater_flow_layout_info_sw.cpp584 segmentCache_.clear(); in InitSegmentTails()
750 segmentCache_.clear(); in ClearData()
H A Dwater_flow_layout_sw.cpp137 info_->segmentCache_.clear(); in SingleInit()