Home
last modified time | relevance | path

Searched refs:position1 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java203 int position1 = track.getPlaybackHeadPosition(); in testPlaySmallBuffer() local
204 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() local
247 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()
DAudioTrackTest.java2282 final int position1 = track.getPlaybackHeadPosition(); in testVariableRatePlayback() local
2288 final int actual = position2 - position1; in testVariableRatePlayback()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java497 int position1 = mListView.pointToPosition(0, 0); in testPointToPosition() local
500 assertEquals(mCountriesAdapter.getItemId(position1), mListView.pointToRowId(0, 0)); in testPointToPosition()
504 assertTrue(position2 > position1); in testPointToPosition()