Searched refs:adapterCount (Results 1 – 6 of 6) 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 …]
385 int adapterCount = getCount(); in getWindowSize() local386 if (adapterCount <= getNumActiveViews() && mLoopViews) { in getWindowSize()387 return adapterCount*mMaxNumActiveViews; in getWindowSize()389 return adapterCount; in getWindowSize()419 int adapterCount = getCount(); in refreshChildren() local421 final View updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); in refreshChildren()462 final int adapterCount = getCount(); in showOnly() local463 if (adapterCount == 0) return; in showOnly()483 int newWindowEnd = Math.min(adapterCount - 1, newWindowEndUnbounded); in showOnly()547 final int adapterPosition = modulo(i, adapterCount); in showOnly()[all …]
665 final int adapterCount = getCount(); in beginGestureIfNeeded()674 boolean endOfStack = mLoopViews && adapterCount == 1 && in beginGestureIfNeeded()677 boolean beginningOfStack = mLoopViews && adapterCount == 1 && in beginGestureIfNeeded()687 … } else if (mCurrentWindowStartUnbounded + activeIndex == adapterCount - 1 || endOfStack) { in beginGestureIfNeeded()1124 final int adapterCount = getCount();1125 if (adapterCount == 1 && mLoopViews) return;
172 final int adapterCount = mAdapter.getCount(); in refresh() local173 final int N = Math.max(childCount, adapterCount); in refresh()175 if (i < adapterCount) { in refresh()
190 final int adapterCount = mAdapter.getCount(); in refresh() local191 final int N = Math.max(childCount, adapterCount); in refresh()193 if (i < adapterCount) { in refresh()
850 final int adapterCount = mAdapter.getCount(); in dataSetChanged() local851 mExpectedAdapterCount = adapterCount; in dataSetChanged()853 mItems.size() < adapterCount; in dataSetChanged()879 newCurrItem = Math.max(0, Math.min(mCurItem, adapterCount - 1)); in dataSetChanged()