Searched refs:adapterCount (Results 1 – 5 of 5) sorted by relevance
155 int adapterCount = 0; in isEnabled() local157 adapterCount = mAdapter.getCount(); in isEnabled()158 if (adjPosition < adapterCount) { in isEnabled()164 return mFooterViewInfos.get(adjPosition - adapterCount).isSelectable; in isEnabled()176 int adapterCount = 0; in getItem() local178 adapterCount = mAdapter.getCount(); in getItem()179 if (adjPosition < adapterCount) { in getItem()185 return mFooterViewInfos.get(adjPosition - adapterCount).data; in getItem()192 int adapterCount = mAdapter.getCount(); in getItemId() local193 if (adjPosition < adapterCount) { in getItemId()[all …]
380 int adapterCount = getCount(); in getWindowSize() local381 if (adapterCount <= getNumActiveViews() && mLoopViews) { in getWindowSize()382 return adapterCount*mMaxNumActiveViews; in getWindowSize()384 return adapterCount; in getWindowSize()414 int adapterCount = getCount(); in refreshChildren() local416 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); in refreshChildren()457 final int adapterCount = getCount(); in showOnly() local458 if (adapterCount == 0) return; in showOnly()478 int newWindowEnd = Math.min(adapterCount - 1, newWindowEndUnbounded); in showOnly()542 final int adapterPosition = modulo(i, adapterCount); in showOnly()[all …]
658 final int adapterCount = getCount(); in beginGestureIfNeeded()667 boolean endOfStack = mLoopViews && adapterCount == 1 && in beginGestureIfNeeded()670 boolean beginningOfStack = mLoopViews && adapterCount == 1 && in beginGestureIfNeeded()680 … } else if (mCurrentWindowStartUnbounded + activeIndex == adapterCount - 1 || endOfStack) { in beginGestureIfNeeded()1117 final int adapterCount = getCount();1118 if (adapterCount == 1 && mLoopViews) return;
108 final int adapterCount = mAdapters.size(); in getAdapterOffsetForItem() local112 while (i < adapterCount) { in getAdapterOffsetForItem()
845 final int adapterCount = mAdapter.getCount(); in dataSetChanged() local846 mExpectedAdapterCount = adapterCount; in dataSetChanged()848 mItems.size() < adapterCount; in dataSetChanged()874 newCurrItem = Math.max(0, Math.min(mCurItem, adapterCount - 1)); in dataSetChanged()