Searched refs:getAdapterIndex (Results 1 – 2 of 2) sorted by relevance
246 public int getAdapterIndex() { in getAdapterIndex() method in FilmstripView.ViewItem736 int index = mViewItems[BUFFER_CENTER].getAdapterIndex(); in zoomAtIndexChanged()750 if (mViewItems[BUFFER_CENTER].getAdapterIndex() == index in isItemAtIndexCentered()758 int index = item.getAdapterIndex(); in measureViewItem()888 mViewItems[bufferIndex].getAdapterIndex()); in removeItem()914 mViewItems[BUFFER_CENTER].getAdapterIndex()); in stepIfNeeded()929 mViewItems[k] = buildViewItemAt(mViewItems[k - 1].getAdapterIndex() + 1); in stepIfNeeded()946 mViewItems[k] = buildViewItemAt(mViewItems[k + 1].getAdapterIndex() - 1); in stepIfNeeded()953 .getAdapterIndex()); in stepIfNeeded()954 final int firstVisible = mViewItems[BUFFER_CENTER].getAdapterIndex() - 2; in stepIfNeeded()[all …]
256 saveViewUnchecked(getChildAt(i), getAdapterIndex(i)); in saveVisibleViewsUnchecked()625 return lastExpandableIndex() == first ? -1 : getAdapterIndex(first);631 return firstExpandableIndex() == last ? -1 : getAdapterIndex(last - 1);657 int adapterIndex = getAdapterIndex(currentExpandableIndex);665 if (index < getAdapterIndex(lastExpandableIndex())) {672 if (index >= getAdapterIndex(firstExpandableIndex())) {753 return getAdapterIndex(findViewIndexContainingScrollCenter());1013 ExpandedView v = findExpandedView(mExpandedViews, getAdapterIndex(expandableViewIndex));1354 int gridPos = getAdapterIndex(childIndex) % mItemsOnOffAxis;1357 int adapterIndex = getAdapterIndex(i);[all …]