Home
last modified time | relevance | path

Searched refs:getProgress (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRatingBarTest.java176 assertEquals(10, mRatingBar.getProgress()); in testSetMax()
188 final float expectedProgress = expectedMax / mRatingBar.getMax() * mRatingBar.getProgress(); in testAccessStepSize()
190 assertEquals((int) expectedProgress, mRatingBar.getProgress()); in testAccessStepSize()
195 final int currentProgress = mRatingBar.getProgress(); in testAccessStepSize()
200 assertEquals(currentProgress, mRatingBar.getProgress()); in testAccessStepSize()
205 assertEquals(currentProgress, mRatingBar.getProgress()); in testAccessStepSize()
210 assertEquals(currentProgress, mRatingBar.getProgress()); in testAccessStepSize()
215 assertEquals(currentProgress, mRatingBar.getProgress()); in testAccessStepSize()
DProgressBarTest.java252 assertEquals(0, mProgressBarHorizontal.getProgress()); in testAccessProgress()
258 assertEquals(maxProgress >> 1, mProgressBarHorizontal.getProgress()); in testAccessProgress()
262 assertEquals(0, mProgressBarHorizontal.getProgress()); in testAccessProgress()
265 assertEquals(maxProgress, mProgressBarHorizontal.getProgress()); in testAccessProgress()
268 assertEquals(maxProgress, mProgressBarHorizontal.getProgress()); in testAccessProgress()
271 assertEquals(0, mProgressBarHorizontal.getProgress()); in testAccessProgress()
276 assertEquals(0, mProgressBarHorizontal.getProgress()); in testAccessProgress()
311 int oldProgress = mProgressBarHorizontal.getProgress(); in testIncrementProgressBy()
313 assertEquals(oldProgress + increment, mProgressBarHorizontal.getProgress()); in testIncrementProgressBy()
316 oldProgress = mProgressBarHorizontal.getProgress(); in testIncrementProgressBy()
[all …]
DAbsSeekBarTest.java239 int oldProgress = seekBar.getProgress(); in testAccessKeyProgressIncrement()
242 assertEquals(oldProgress + keyProgressIncrement, seekBar.getProgress()); in testAccessKeyProgressIncrement()
243 oldProgress = seekBar.getProgress(); in testAccessKeyProgressIncrement()
246 assertEquals(oldProgress - keyProgressIncrement, seekBar.getProgress()); in testAccessKeyProgressIncrement()
258 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMax()
264 assertEquals(max, myAbsSeekBar.getProgress()); in testAccessMax()
289 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMin()
295 assertEquals(min, myAbsSeekBar.getProgress()); in testAccessMin()
DRemoteViewsTest.java444 assertEquals(0, progress.getProgress()); in testSetProgressBar()
452 assertEquals(0, progress.getProgress()); in testSetProgressBar()
458 assertEquals(50, progress.getProgress()); in testSetProgressBar()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DOnBackInvokedCallbackGestureTest.java123 assertTrue(event.getProgress() <= events.get(i + 1).getProgress()); in invokesCallback_invoked()
155 assertTrue(events.get(events.size() - 1).getProgress() == 0); in invokesCallback_cancelled()
227 assertEquals(progress, event.getProgress()); in constructsEvent()
280 if (mIsCancelRequested && 0 == e.getProgress()) { in trackBackProgressed()
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java202 assertEquals(11, progressDialog.getProgress()); in testAccessProgress()
210 assertEquals(0, progressDialog.getProgress()); in testAccessProgress()
255 mProgress1 = dialog.getProgress(); in testIncrementProgressBy()
257 mProgress2 = dialog.getProgress(); in testIncrementProgressBy()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebBackForwardListTest.java121 if (mOnUiThread.getProgress() < 100) { in checkBackForwardList()
DWebViewTest.java328 assertEquals(INITIAL_PROGRESS, mWebView.getProgress()); in testLoadUrl()
332 assertEquals(100, mWebView.getProgress()); in testLoadUrl()
498 assertEquals(INITIAL_PROGRESS, mOnUiThread.getProgress()); in testStopLoading()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java162 private float getProgress() throws Throwable { in getProgress() method
164 runOnMainThread(() -> printProgress[0] = sPrintJob.getInfo().getProgress()); in getProgress()
194 eventually(() -> assertEquals(desiredProgress, getProgress(), 0.1)); in checkNotification()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java380 public int getProgress() {
382 return mWebView.getProgress();
/cts/apps/CtsVerifier/jni/audio_loopback/analyzer/
DLatencyAnalyzer.h389 virtual int32_t getProgress() const = 0;
477 int32_t getProgress() const override { in getProgress() function
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingManagerTest.java709 assertEquals(newProgress, session.getProgress()); in testCancelTranscoding()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt2790 method public float getProgress();
Dcurrent.txt7254 method @Deprecated public int getProgress();
12808 method public float getProgress();
58190 method public int getProgress();
59989 method public int getProgress();
61453 method @FloatRange(from=0, to=1) public float getProgress();
Dsystem-current.txt18498 method public int getProgress();