Home
last modified time | relevance | path

Searched refs:newProgress (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java599 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testCancelTranscoding()
600 if (newProgress > 0) { in testCancelTranscoding()
603 assertEquals(newProgress, session.getProgress()); in testCancelTranscoding()
691 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testTranscodingProgressUpdate()
692 assertTrue("Invalid proress update", newProgress > mPreviousProgress); in testTranscodingProgressUpdate()
693 assertTrue("Invalid proress update", newProgress <= 100); in testTranscodingProgressUpdate()
694 mPreviousProgress = newProgress; in testTranscodingProgressUpdate()
696 Log.i(TAG, "Get progress update " + newProgress); in testTranscodingProgressUpdate()
753 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testAddingClientUids()
754 assertTrue("Invalid proress update", newProgress > mPreviousProgress); in testAddingClientUids()
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewSyncLoader.java395 public void onProgressChanged(WebView view, int newProgress) { in onProgressChanged() argument
396 super.onProgressChanged(view, newProgress); in onProgressChanged()
397 mWebViewSyncLoader.onProgressChanged(newProgress); in onProgressChanged()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java498 public void onProgressChanged(WebView view, int newProgress) { in onProgressChanged() argument
499 super.onProgressChanged(view, newProgress); in onProgressChanged()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java658 int newProgress = 2; in testOnSaveAndRestoreInstanceState() local
660 mProgressBarHorizontal.setProgress(newProgress); in testOnSaveAndRestoreInstanceState()
662 assertEquals(newProgress, mProgressBarHorizontal.getProgress()); in testOnSaveAndRestoreInstanceState()