Home
last modified time | relevance | path

Searched refs:oldProgress (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java302 int oldProgress = mProgressBarHorizontal.getProgress(); in testIncrementProgressBy() local
304 assertEquals(oldProgress + increment, mProgressBarHorizontal.getProgress()); in testIncrementProgressBy()
307 oldProgress = mProgressBarHorizontal.getProgress(); in testIncrementProgressBy()
309 assertEquals(oldProgress + increment, mProgressBarHorizontal.getProgress()); in testIncrementProgressBy()
649 int oldProgress = 1; in testOnSaveAndRestoreInstanceState() local
651 mProgressBarHorizontal.setProgress(oldProgress); in testOnSaveAndRestoreInstanceState()
653 assertEquals(oldProgress, mProgressBarHorizontal.getProgress()); in testOnSaveAndRestoreInstanceState()
666 assertEquals(oldProgress, mProgressBarHorizontal.getProgress()); in testOnSaveAndRestoreInstanceState()
DAbsSeekBarTest.java231 int oldProgress = seekBar.getProgress(); in testAccessKeyProgressIncrement() local
234 assertEquals(oldProgress + keyProgressIncrement, seekBar.getProgress()); in testAccessKeyProgressIncrement()
235 oldProgress = seekBar.getProgress(); in testAccessKeyProgressIncrement()
238 assertEquals(oldProgress - keyProgressIncrement, seekBar.getProgress()); in testAccessKeyProgressIncrement()