Searched refs:mStaggeredGrid (Results 1 – 2 of 2) sorted by relevance
24 StaggeredGridDefault mStaggeredGrid; field in StaggeredGridDefaultTest30 mStaggeredGrid = new StaggeredGridDefault(); in testWhenToFillNextRow()31 mStaggeredGrid.setNumRows(3); in testWhenToFillNextRow()32 mStaggeredGrid.setMargin(20); in testWhenToFillNextRow()33 mStaggeredGrid.setProvider(mProvider); in testWhenToFillNextRow()34 mStaggeredGrid.appendVisibleItems(210); in testWhenToFillNextRow()35 assertEquals(dump(mStaggeredGrid) + " Should fill 8 items", in testWhenToFillNextRow()36 8, mStaggeredGrid.mLocations.size()); in testWhenToFillNextRow()38 mStaggeredGrid.appendVisibleItems(100000); in testWhenToFillNextRow()39 assertEquals(dump(mStaggeredGrid) + " Should fill 9 items", in testWhenToFillNextRow()[all …]
241 private final boolean mStaggeredGrid; field in GridLayoutManager.PendingMoveSmoothScroller247 mStaggeredGrid = staggeredGrid; in PendingMoveSmoothScroller()269 if (mStaggeredGrid || mPendingMoves == 0) { in consumePendingMovesBeforeLayout()305 if (mStaggeredGrid && mPendingMoves != 0) { in consumePendingMovesAfterLayout()