Searched refs:mStaggeredGrid (Results 1 – 2 of 2) sorted by relevance
33 StaggeredGridDefault mStaggeredGrid; field in StaggeredGridDefaultTest40 mStaggeredGrid = new StaggeredGridDefault(); in testWhenToFillNextRow()41 mStaggeredGrid.setNumRows(3); in testWhenToFillNextRow()42 mStaggeredGrid.setSpacing(20); in testWhenToFillNextRow()43 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow()44 mStaggeredGrid.appendVisibleItems(210); in testWhenToFillNextRow()45 assertEquals(dump(mStaggeredGrid) + " Should fill 8 items", in testWhenToFillNextRow()46 8, mStaggeredGrid.mLocations.size()); in testWhenToFillNextRow()48 mStaggeredGrid.appendVisibleItems(100000); in testWhenToFillNextRow()49 assertEquals(dump(mStaggeredGrid) + " Should fill 9 items", in testWhenToFillNextRow()[all …]
285 private final boolean mStaggeredGrid; field in GridLayoutManager.PendingMoveSmoothScroller291 mStaggeredGrid = staggeredGrid; in PendingMoveSmoothScroller()313 if (mStaggeredGrid || mPendingMoves == 0) { in consumePendingMovesBeforeLayout()349 if (mStaggeredGrid && mPendingMoves != 0) { in consumePendingMovesAfterLayout()