Searched refs:maxValidIndex (Results 1 – 1 of 1) sorted by relevance
502 int32_t maxValidIndex = IsLoop() ? RealTotalCount() : TotalCount() - GetDisplayCount() + 1; in BeforeCreateLayoutWrapper() local503 …if (userSetCurrentIndex < 0 || userSetCurrentIndex >= maxValidIndex || GetDisplayCount() >= RealTo… in BeforeCreateLayoutWrapper()