Searched refs:existing_position (Results 1 – 1 of 1) sorted by relevance
1672 final int[] existing_position = new int[1]; in testScrollInSmoothScrolling() local1676 existing_position[0] = mGridView.getChildAdapterPosition( in testScrollInSmoothScrolling()1679 existing_position[0] = existing_position[0] + 3; in testScrollInSmoothScrolling()1683 mGridView.smoothScrollToPosition(existing_position[0]); in testScrollInSmoothScrolling()1685 mGridView.scrollToPosition(existing_position[0]); in testScrollInSmoothScrolling()1689 mGridView.setSelectedPositionSmooth(existing_position[0]); in testScrollInSmoothScrolling()1691 mGridView.setSelectedPosition(existing_position[0]); in testScrollInSmoothScrolling()1697 assertEquals(existing_position[0], mGridView.getSelectedPosition()); in testScrollInSmoothScrolling()1698 assertTrue(mGridView.findViewHolderForAdapterPosition(existing_position[0]) in testScrollInSmoothScrolling()