Searched refs:lastItemIndex (Results 1 – 8 of 8) sorted by relevance
44 EXPECT_EQ(res.lastItemIndex, 2);48 EXPECT_EQ(res.lastItemIndex, -1);52 EXPECT_EQ(res.lastItemIndex, 7);
136 EXPECT_EQ(position.lastItemIndex, 1);
60 if (itemIndex.lastItemIndex < 0) { in GetItemPosition()63 auto mainHeight = info->GetMainHeight(itemIndex.crossIndex, itemIndex.lastItemIndex); in GetItemPosition()
219 position.lastItemIndex = -1; in GetCrossIndexForNextItem()227 position.lastItemIndex = lastItem->first; in GetCrossIndexForNextItem()231 position.lastItemIndex = lastItem->first; in GetCrossIndexForNextItem()
31 int32_t lastItemIndex = 0; member
320 if (itemIndex.lastItemIndex < 0) { in GetItemPosition()323 auto mainHeight = layoutInfo_->GetMainHeight(itemIndex.crossIndex, itemIndex.lastItemIndex); in GetItemPosition()
58 auto lastItemIndex = itemIndex; in MoveItemsBack() local70 positionItemIndexMap_[i - 1] = lastItemIndex; in MoveItemsBack()71 lastItemIndex = index; in MoveItemsBack()75 positionItemIndexMap_[to] = lastItemIndex; in MoveItemsBack()
1068 auto lastItemIndex = Positive(props->GetCalculatedNextMargin()) in OnDirtyLayoutWrapperSwap() local1071 isNeedForwardTranslate = itemPosition_.find(lastItemIndex) == itemPosition_.end(); in OnDirtyLayoutWrapperSwap()4077 auto lastItemIndex = firstItemInfoInVisibleArea.first + GetDisplayCount() - 1; in GetLastItemInfoInVisibleArea() local4078 auto iter = itemPosition_.find(lastItemIndex); in GetLastItemInfoInVisibleArea()