Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridAdapterTest.java63 when(mAppGridRecyclerView.getNumOfRows()).thenReturn(numOfRows); in testPageRounding_getItemCount_getPageCount()
127 when(mAppGridRecyclerView.getNumOfRows()).thenReturn(numOfRows); in updatePageScrollDestination_testLeftScrollDestinations()
168 when(mAppGridRecyclerView.getNumOfRows()).thenReturn(numOfRows); in updatePageScrollDestination_testRightScrollDestinations()
217 when(mAppGridRecyclerView.getNumOfRows()).thenReturn(numOfRows); in getNextRotaryFocus_testLeftRightRotations()
276 when(mAppGridRecyclerView.getNumOfRows()).thenReturn(numOfRows); 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.java138 public int getNumOfRows() { in getNumOfRows() method in AppGridRecyclerView
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java95 mNumOfRows = ((AppGridRecyclerView) recyclerView).getNumOfRows(); in onAttachedToRecyclerView()