Home
last modified time | relevance | path

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

/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java705 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testCancelTranscoding()
706 if (newProgress > 0) { in testCancelTranscoding()
709 assertEquals(newProgress, session.getProgress()); in testCancelTranscoding()
760 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testTranscodingProgressUpdate()
761 assertTrue("Invalid proress update", newProgress > mPreviousProgress); in testTranscodingProgressUpdate()
762 assertTrue("Invalid proress update", newProgress <= 100); in testTranscodingProgressUpdate()
763 mPreviousProgress = newProgress; in testTranscodingProgressUpdate()
765 Log.i(TAG, "Get progress update " + newProgress); in testTranscodingProgressUpdate()
810 public void onProgressUpdate(TranscodingSession session, int newProgress) { in testClearOnProgressUpdateListener()
817 mPreviousProgress = newProgress; in testClearOnProgressUpdateListener()
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewSyncLoader.java392 public void onProgressChanged(WebView view, int newProgress) { in onProgressChanged() argument
393 super.onProgressChanged(view, newProgress); in onProgressChanged()
394 mWebViewSyncLoader.onProgressChanged(newProgress); in onProgressChanged()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java503 public void onProgressChanged(WebView view, int newProgress) { in onProgressChanged() argument
504 super.onProgressChanged(view, newProgress); in onProgressChanged()
DWebViewTest.java2219 public void onProgressChanged(WebView view, int newProgress) { in testSetWebChromeClient()
2220 super.onProgressChanged(view, newProgress); in testSetWebChromeClient()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java667 int newProgress = 2; in testOnSaveAndRestoreInstanceState() local
669 mProgressBarHorizontal.setProgress(newProgress); in testOnSaveAndRestoreInstanceState()
671 assertEquals(newProgress, mProgressBarHorizontal.getProgress()); in testOnSaveAndRestoreInstanceState()