Searched refs:adapterCount (Results 1 – 6 of 6) sorted by relevance
159 int adapterCount = 0; in isEnabled() local161 adapterCount = mAdapter.getCount(); in isEnabled()162 if (adjPosition < adapterCount) { in isEnabled()168 return mFooterViewInfos.get(adjPosition - adapterCount).isSelectable; in isEnabled()180 int adapterCount = 0; in getItem() local182 adapterCount = mAdapter.getCount(); in getItem()183 if (adjPosition < adapterCount) { in getItem()189 return mFooterViewInfos.get(adjPosition - adapterCount).data; in getItem()196 int adapterCount = mAdapter.getCount(); in getItemId() local197 if (adjPosition < adapterCount) { in getItemId()[all …]
386 int adapterCount = getCount(); in getWindowSize() local387 if (adapterCount <= getNumActiveViews() && mLoopViews) { in getWindowSize()388 return adapterCount*mMaxNumActiveViews; in getWindowSize()390 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 …]
667 final int adapterCount = getCount(); in beginGestureIfNeeded()676 boolean endOfStack = mLoopViews && adapterCount == 1 in beginGestureIfNeeded()679 boolean beginningOfStack = mLoopViews && adapterCount == 1 in beginGestureIfNeeded()689 … } else if (mCurrentWindowStartUnbounded + activeIndex == adapterCount - 1 || endOfStack) { in beginGestureIfNeeded()1129 final int adapterCount = getCount();1130 if (adapterCount == 1 && mLoopViews) return;
167 int adapterCount = getWrappedAdapter().getCount(); in getItemId() local168 if (adjPosition < adapterCount) { in getItemId()187 int adapterCount = getWrappedAdapter().getCount(); in getItemViewType() local188 if (adjPosition < adapterCount) { in getItemViewType()
828 final int adapterCount = mAdapter.getCount(); in dataSetChanged() local829 mExpectedAdapterCount = adapterCount; in dataSetChanged()831 mItems.size() < adapterCount; in dataSetChanged()857 newCurrItem = Math.max(0, Math.min(mCurItem, adapterCount - 1)); in dataSetChanged()
213 final int adapterCount = mAdapter.getCount(); in refresh() local214 final int N = Math.max(childCount, adapterCount); in refresh()216 if (i < adapterCount) { in refresh()