Home
last modified time | relevance | path

Searched refs:lastItem (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/layout/top_down/
H A Dwater_flow_layout_info.cpp98 auto lastItem = crossItems.second.rbegin(); in GetMaxMainHeight() local
99 auto crossMainHeight = lastItem->second.first + lastItem->second.second; in GetMaxMainHeight()
196 auto lastItem = crossItems.second.rbegin(); in IsAllCrossReachEnd() local
197 auto lastOffset = lastItem->second.first + lastItem->second.second; in IsAllCrossReachEnd()
218 auto lastItem = crossItems.rbegin(); in GetCrossIndexForNextItem() local
219 auto lastOffset = lastItem->second.first + lastItem->second.second; in GetCrossIndexForNextItem()
223 position.lastItemIndex = lastItem in GetCrossIndexForNextItem()
483 int32_t lastItem = static_cast<int32_t>(itemInfos_.size()) - 1; PrepareSegmentStartPos() local
[all...]
H A Dwater_flow_layout_algorithm.cpp428 const int32_t lastItem = layoutInfo_->GetLastItem(); in PreloadItem() local
429 if (itemIdx <= lastItem) { in PreloadItem()
434 const bool res = MeasureToTarget(host, lastItem, deadline); in PreloadItem()
441 const int32_t lastItem = layoutInfo_->GetLastItem(); in SyncPreloadItem() local
442 if (itemIdx <= lastItem) { in SyncPreloadItem()
454 MeasureToTarget(host, lastItem, std::nullopt); in SyncPreloadItem()
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/post_event/
H A Dpost_event_manager.cpp58 auto lastItem = lastEventMap.find(touchEvent.id); in PostDownEvent() local
59 if (lastItem != lastEventMap.end()) { in PostDownEvent()
60 auto event = lastItem->second.touchEvent; in PostDownEvent()
62 PostUpEvent(lastItem->second.targetNode, event); in PostDownEvent()
/foundation/multimodalinput/input/service/event_resample/src/
H A Devent_resample.cpp418 auto lastItem = touchState.lastResample.pointers.find(id); in ResampleCoordinates() local
419 if (lastItem != touchState.lastResample.pointers.end()) { in ResampleCoordinates()
421 lastItem->second.CopyFrom(oldLastItem->second); in ResampleCoordinates()
/foundation/arkui/ace_engine/test/unittest/core/pattern/waterflow/
H A Dwater_flow_top_down_test.cpp74 auto lastItem = info->items_[0].begin()->second.rbegin(); in HWTEST_F() local
75 float mainSize = lastItem->second.first + lastItem->second.second - 1.0f; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/
H A Dswiper_pattern.cpp4693 const auto lastItem = GetLastItemInfoInVisibleArea();
4694 const int32_t visibleItemCnt = lastItem.first - firstItem.first + 1;
4698 const float childrenLength = lastItem.second.endPos - firstItem.second.startPos;

Completed in 11 milliseconds