Searched refs:getFirstVisibleIndex (Results 1 – 4 of 4) sorted by relevance
226 public final int getFirstVisibleIndex() { in getFirstVisibleIndex() method in Grid262 if (getFirstVisibleIndex() < 0) { in invalidateItemsAfter()353 return getItemPositionsInRows(getFirstVisibleIndex(), getLastVisibleIndex()); in getItemPositionsInRows()492 final int firstPos = getFirstVisibleIndex(); in fillDisappearingItems()
1179 if (!mState.didStructureChange() && mGrid != null && mGrid.getFirstVisibleIndex() >= 0 in layoutInit()1908 int position = mGrid.getFirstVisibleIndex(); in fastRelayout()2097 mPositionDeltaInPreLayout = mGrid.getFirstVisibleIndex() in updatePositionDeltaInPreLayout()2198 final int firstVisibleIndex = mGrid != null ? mGrid.getFirstVisibleIndex() : NO_POSITION; in onLayoutChildren()2238 oldFirstVisible = mGrid.getFirstVisibleIndex(); in onLayoutChildren()2245 } while (mGrid.getFirstVisibleIndex() != oldFirstVisible in onLayoutChildren()2468 lowVisiblePos = mGrid.getFirstVisibleIndex();2471 highVisiblePos = mGrid.getFirstVisibleIndex();2686 if (mFocusPosition != NO_POSITION && mGrid != null && mGrid.getFirstVisibleIndex() >= 02707 if (mFocusPosition != NO_POSITION && mGrid != null && mGrid.getFirstVisibleIndex() >= 0[all …]
142 if (getFirstVisibleIndex() == 0) { in collectAdjacentPrefetchPositions()
2703 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDelta()2773 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid()2878 .mGrid.getFirstVisibleIndex(); in testSetSelectionWithDeltaInGrid1()