Home
last modified time | relevance | path

Searched refs:getNumOfCols (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridAdapterTest.java64 when(mAppGridRecyclerView.getNumOfCols()).thenReturn(numOfCols); in testPageRounding_getItemCount_getPageCount()
128 when(mAppGridRecyclerView.getNumOfCols()).thenReturn(numOfCols); in updatePageScrollDestination_testLeftScrollDestinations()
169 when(mAppGridRecyclerView.getNumOfCols()).thenReturn(numOfCols); in updatePageScrollDestination_testRightScrollDestinations()
218 when(mAppGridRecyclerView.getNumOfCols()).thenReturn(numOfCols); in getNextRotaryFocus_testLeftRightRotations()
277 when(mAppGridRecyclerView.getNumOfCols()).thenReturn(numOfCols); in getNextRotaryFocus_testInvalidRotation()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridPageSnapper.java83 int blockSize = mRecyclerView.getNumOfRows() * mRecyclerView.getNumOfCols(); in findSnapView()
108 int blockSize = mRecyclerView.getNumOfRows() * mRecyclerView.getNumOfCols(); in findFirstItemOnNextPage()
114 int blockSize = mRecyclerView.getNumOfRows() * mRecyclerView.getNumOfCols(); in findFirstItemOnPrevPage()
119 int blockSize = mRecyclerView.getNumOfRows() * mRecyclerView.getNumOfCols(); in handleScrollToPos()
DAppGridRecyclerView.java142 public int getNumOfCols() { in getNumOfCols() method in AppGridRecyclerView
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java96 mNumOfCols = ((AppGridRecyclerView) recyclerView).getNumOfCols(); in onAttachedToRecyclerView()