Searched refs:getLauncherItemsCount (Results 1 – 2 of 2) sorted by relevance
68 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(0); in testPageRounding_getItemCount_getPageCount()73 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(10); in testPageRounding_getItemCount_getPageCount()77 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(16); in testPageRounding_getItemCount_getPageCount()81 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(31); in testPageRounding_getItemCount_getPageCount()95 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(0); in testPageRounding_getItemCount_getPageCount()99 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(numOfCols * numOfRows); in testPageRounding_getItemCount_getPageCount()103 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(numOfCols * numOfRows + 1); in testPageRounding_getItemCount_getPageCount()107 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(2 * numOfCols * numOfRows - 1); in testPageRounding_getItemCount_getPageCount()204 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(40); in getNextRotaryFocus_testLeftRightRotations()258 when(mTestAppGridAdapter.getLauncherItemsCount()).thenReturn(numItems); in getNextRotaryFocus_testInvalidRotation()
226 return getItemCountInternal(getLauncherItemsCount()); in getItemCount()238 public int getLauncherItemsCount() { in getLauncherItemsCount() method in AppGridAdapter360 if (targetAdapterIndex < 0 || targetAdapterIndex >= getLauncherItemsCount()) { in getNextRotaryFocus()