Searched refs:contentCount_ (Results 1 – 2 of 2) sorted by relevance
43 if (tabIndex >= contentCount_) { in Update()44 controller_->ValidateIndex((contentCount_ - 1 < 0) ? 0 : (contentCount_ - 1)); in Update()75 contentCount_ = controller_->GetTotalCount() > 0 ? controller_->GetTotalCount() : 0; in FlushIndex()76 if (contentCount_ <= 0) { in FlushIndex()93 currentIndex_ = currentIndex_ < contentCount_ ? currentIndex_ : (contentCount_ - 1); in FlushIndex()246 if (newIndex >= 0 && newIndex < contentCount_) { in ScrollContents()296 if (newIndex >= 0 && newIndex < contentCount_ && needChange) { in HandleStartListener()318 if (newIndex >= 0 && newIndex < contentCount_ && needChange) { in HandleStopListener()377 …Index_ == 0 && newIndex == -1) || (currentIndex_ == (contentCount_ - 1) && newIndex == contentCoun… in UpdateScrollPosition()400 if (currentIndex < 0 || currentIndex >= contentCount_) { in UpdateChildPosition()[all …]
135 contentCount_ = count; in UpdateContentCount()227 int32_t contentCount_ = 0; // the count of content variable