Searched refs:adaptorIndexToGridPosition (Results 1 – 4 of 4) sorted by relevance
209 int gridSource = pagingUtils.adaptorIndexToGridPosition(source); in getNextRotaryFocus_testLeftRightRotations()210 int gridTarget = pagingUtils.adaptorIndexToGridPosition(source + 1); in getNextRotaryFocus_testLeftRightRotations()216 gridSource = pagingUtils.adaptorIndexToGridPosition(source); in getNextRotaryFocus_testLeftRightRotations()217 gridTarget = pagingUtils.adaptorIndexToGridPosition(source + 1); in getNextRotaryFocus_testLeftRightRotations()223 gridSource = pagingUtils.adaptorIndexToGridPosition(source); in getNextRotaryFocus_testLeftRightRotations()224 gridTarget = pagingUtils.adaptorIndexToGridPosition(source + 1); in getNextRotaryFocus_testLeftRightRotations()230 gridSource = pagingUtils.adaptorIndexToGridPosition(source); in getNextRotaryFocus_testLeftRightRotations()231 gridTarget = pagingUtils.adaptorIndexToGridPosition(source - 1); in getNextRotaryFocus_testLeftRightRotations()237 gridSource = pagingUtils.adaptorIndexToGridPosition(source); in getNextRotaryFocus_testLeftRightRotations()238 gridTarget = pagingUtils.adaptorIndexToGridPosition(source - 1); in getNextRotaryFocus_testLeftRightRotations()[all …]
168 assertEquals(testUtils.adaptorIndexToGridPosition(adapterIndexes[i]), gridPositions[i]); in runTwoWayMappingTest()
337 newAppsList.set(mIndexingHelper.adaptorIndexToGridPosition(i), mLauncherItems.get(i)); in dispatchUpdates()363 return mIndexingHelper.adaptorIndexToGridPosition(targetAdapterIndex); in getNextRotaryFocus()
111 public int adaptorIndexToGridPosition(int index) { in adaptorIndexToGridPosition() method in PageIndexingHelper