Searched refs:position1 (Results 1 – 3 of 3) sorted by relevance
203 int position1 = track.getPlaybackHeadPosition(); in testPlaySmallBuffer() local204 assertEquals(TEST_NAME + ": initial position", 0, position1); in testPlaySmallBuffer()211 while ((position1 == position2) in testPlaySmallBuffer()217 position2 > position1); in testPlaySmallBuffer()246 int position1 = track.getPlaybackHeadPosition(); in testPlayPauseSmallBuffer() local247 assertEquals(TEST_NAME + ": initial position", 0, position1); in testPlayPauseSmallBuffer()256 int delta = position2 - position1; // safe from wrapping in testPlayPauseSmallBuffer()257 assertTrue(TEST_NAME + ": [" + i + "] did it advance? p1 = " + position1 in testPlayPauseSmallBuffer()259 position1 = position2; in testPlayPauseSmallBuffer()
2282 final int position1 = track.getPlaybackHeadPosition(); in testVariableRatePlayback() local2288 final int actual = position2 - position1; in testVariableRatePlayback()
497 int position1 = mListView.pointToPosition(0, 0); in testPointToPosition() local500 assertEquals(mCountriesAdapter.getItemId(position1), mListView.pointToRowId(0, 0)); in testPointToPosition()504 assertTrue(position2 > position1); in testPointToPosition()