Searched refs:listLayoutAlgorithm (Results 1 – 3 of 3) sorted by relevance
132 …auto listLayoutAlgorithm = DynamicCast<ListLayoutAlgorithm>(layoutAlgorithmWrapper->GetLayoutAlgor… in OnDirtyLayoutWrapperSwap() local133 CHECK_NULL_RETURN(listLayoutAlgorithm, false); in OnDirtyLayoutWrapperSwap()134 itemPosition_ = listLayoutAlgorithm->GetItemPosition(); in OnDirtyLayoutWrapperSwap()135 cachedItemPosition_ = listLayoutAlgorithm->GetCachedItemPosition(); in OnDirtyLayoutWrapperSwap()136 maxListItemIndex_ = listLayoutAlgorithm->GetMaxListItemIndex(); in OnDirtyLayoutWrapperSwap()137 spaceWidth_ = listLayoutAlgorithm->GetSpaceWidth(); in OnDirtyLayoutWrapperSwap()138 auto predictSnapOffset = listLayoutAlgorithm->GetPredictSnapOffset(); in OnDirtyLayoutWrapperSwap()139 auto predictSnapEndPos = listLayoutAlgorithm->GetPredictSnapEndPosition(); in OnDirtyLayoutWrapperSwap()140 bool isJump = listLayoutAlgorithm->NeedEstimateOffset(); in OnDirtyLayoutWrapperSwap()154 lanes_ = listLayoutAlgorithm->GetLanes(); in OnDirtyLayoutWrapperSwap()[all …]
386 … RefPtr<ListLayoutAlgorithm> listLayoutAlgorithm, RefPtr<ListLayoutProperty> listLayoutProperty);412 float UpdateTotalOffset(const RefPtr<ListLayoutAlgorithm>& listLayoutAlgorithm, bool isJump);
1176 ListLayoutAlgorithm listLayoutAlgorithm; variable1183 listLayoutAlgorithm.contentMainSize_ = 720.0f;1184 listLayoutAlgorithm.itemPosition_.emplace(std::make_pair(0, listItemInfo1));1185 …auto wrapper = layoutWrapper->GetOrCreateChildByIndex(listLayoutAlgorithm.itemPosition_.begin()->f…1189 listLayoutAlgorithm.LayoutItem(1190 wrapper, 0, listLayoutAlgorithm.itemPosition_.begin()->second, startIndex, crossSize);1191 float crossOffset = listLayoutAlgorithm.CalculateLaneCrossOffset(crossSize, size.Width());