Searched refs:adapterCount (Results 1 – 8 of 8) 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()415 final int adapterCount = mAdapter == null ? 0 : getCount(); in refreshChildren() local420 if (i < adapterCount) { in refreshChildren()422 updatedChild = mAdapter.getView(modulo(i, adapterCount), null, this); in refreshChildren()467 final int adapterCount = getCount(); in showOnly() local468 if (adapterCount == 0) return; in showOnly()488 int newWindowEnd = Math.min(adapterCount - 1, newWindowEndUnbounded); 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()
102 int adapterCount = mSegmentAdapters.size(); in adaptToVibrator() local103 for (int i = 0; i < adapterCount; i++) { in adaptToVibrator()
175 final int adapterCount = mAdapter.getCount(); in refresh() local176 final int N = Math.max(childCount, adapterCount); in refresh()178 if (i < adapterCount) { in refresh()
268 final int adapterCount = mAdapter.getCount(); in refreshUserList() local269 final int count = Math.max(childCount, adapterCount); in refreshUserList()273 adapterCount)); in refreshUserList()278 if (i < adapterCount) { in refreshUserList()