Searched refs:lastItem (Results 1 – 6 of 6) sorted by relevance
102 auto lastItem = crossItems.second.rbegin(); in GetMaxMainHeight() local103 auto crossMainHeight = lastItem->second.first + lastItem->second.second; in GetMaxMainHeight()200 auto lastItem = crossItems.second.rbegin(); in IsAllCrossReachEnd() local201 auto lastOffset = lastItem->second.first + lastItem->second.second; in IsAllCrossReachEnd()222 auto lastItem = crossItems.rbegin(); in GetCrossIndexForNextItem() local223 auto lastOffset = lastItem->second.first + lastItem->second.second; in GetCrossIndexForNextItem()227 position.lastItemIndex = lastItem->first; in GetCrossIndexForNextItem()231 position.lastItemIndex = lastItem->first; in GetCrossIndexForNextItem()488 int32_t lastItem = static_cast<int32_t>(itemInfos_.size()) - 1; in PrepareSegmentStartPos() local489 if (GetSegment(lastItem) >= static_cast<int32_t>(segmentTails_.size())) { in PrepareSegmentStartPos()[all …]
440 const int32_t lastItem = layoutInfo_->GetLastItem(); in PreloadItem() local441 if (itemIdx <= lastItem) { in PreloadItem()446 const bool res = MeasureToTarget(host, lastItem, deadline); in PreloadItem()453 const int32_t lastItem = layoutInfo_->GetLastItem(); in SyncPreloadItem() local454 if (itemIdx <= lastItem) { in SyncPreloadItem()466 MeasureToTarget(host, lastItem, std::nullopt); in SyncPreloadItem()
57 auto lastItem = lastEventMap.find(touchEvent.id); in PostDownEvent() local58 if (lastItem != lastEventMap.end()) { in PostDownEvent()59 auto event = lastItem->second.touchEvent; in PostDownEvent()61 PostUpEvent(lastItem->second.targetNode, event); in PostDownEvent()
418 auto lastItem = touchState.lastResample.pointers.find(id); in ResampleCoordinates() local419 if (lastItem != touchState.lastResample.pointers.end()) { in ResampleCoordinates()421 lastItem->second.CopyFrom(oldLastItem->second); in ResampleCoordinates()
72 auto lastItem = info->items_[0].begin()->second.rbegin(); variable73 float mainSize = lastItem->second.first + lastItem->second.second - 1.0f;
4513 const auto lastItem = GetLastItemInfoInVisibleArea(); in IsVisibleChildrenSizeLessThanSwiper() local4514 const int32_t visibleItemCnt = lastItem.first - firstItem.first + 1; in IsVisibleChildrenSizeLessThanSwiper()4518 const float childrenLength = lastItem.second.endPos - firstItem.second.startPos; in IsVisibleChildrenSizeLessThanSwiper()