Home
last modified time | relevance | path

Searched refs:progress (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTimerProgressBar.java72 int progress = (int) ((currentTime - mStartTime) / mStepSize);
73 progress = Math.min(progress, TimerProgressBar.this.getMax());
74 TimerProgressBar.this.setProgress(progress);
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java225 private void setProgressAndStatus(final float progress, final CharSequence status) in setProgressAndStatus() argument
228 sPrintJob.setProgress(progress); in setProgressAndStatus()
241 private void progress(float progress, CharSequence status) throws Throwable { in progress() method
242 setProgressAndStatus(progress, status); in progress()
245 checkNotification(progress, status); in progress()
277 public void progress() throws Throwable {
314 progress(0, "printed 0");
315 progress(0.5f, "printed 50");
316 progress(1, "printed 100");
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java243 int progress = 10; in testAccessMax() local
244 myAbsSeekBar.setProgress(progress); in testAccessMax()
245 int max = progress + 1; in testAccessMax()
248 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMax()
251 max = progress - 1; in testAccessMax()
272 int progress = -5; in testAccessMin() local
273 int min = progress - 1; in testAccessMin()
277 myAbsSeekBar.setProgress(progress); in testAccessMin()
279 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMin()
282 min = progress + 1; in testAccessMin()
DRemoteViewsTest.java354 ProgressBar progress = (ProgressBar) mResult.findViewById(R.id.remoteView_progress); in testSetProgressBar() local
355 assertEquals(100, progress.getMax()); in testSetProgressBar()
356 assertEquals(0, progress.getProgress()); in testSetProgressBar()
358 assertFalse(progress.isIndeterminate()); in testSetProgressBar()
363 assertEquals(100, progress.getMax()); in testSetProgressBar()
364 assertEquals(0, progress.getProgress()); in testSetProgressBar()
365 assertTrue(progress.isIndeterminate()); in testSetProgressBar()
369 assertEquals(60, progress.getMax()); in testSetProgressBar()
370 assertEquals(50, progress.getProgress()); in testSetProgressBar()
371 assertFalse(progress.isIndeterminate()); in testSetProgressBar()
[all …]
DProgressBarTest.java73 mProgressBar = (ProgressBar) mActivity.findViewById(R.id.progress); in setup()
399 int progress = 10; in testAccessMax() local
400 mProgressBarHorizontal.setProgress(progress); in testAccessMax()
403 int max = progress + 1; in testAccessMax()
406 assertEquals(progress, mProgressBarHorizontal.getProgress()); in testAccessMax()
408 max = progress - 1; in testAccessMax()
DRemoteViewsActivityTest.java75 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null); in testGood()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DVectorDrawableTests.java117 float progress = (float) mAnimator.getAnimatedValue(); in testInvalidateCache()
118 child.setVDSize(new Rect(0, 0, (int)(progress*child.getWidth()), in testInvalidateCache()
119 (int)(progress*child.getHeight()))); in testInvalidateCache()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java109 SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
110 mFovDegrees = seekBarProgressToFovDegrees(progress); in onCreate()
132 private float seekBarProgressToFovDegrees(int progress) { in seekBarProgressToFovDegrees() argument
133 float degrees = mFovMinDegrees + (float) progress / SEEKBAR_MAX_VALUE in seekBarProgressToFovDegrees()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioLoopbackActivity.java151 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
155 progress, 0); in onCreate()
157 Log.i(TAG,"Changed stream volume to: " + progress); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java268 StringBuilder progress = new StringBuilder(); in onReceive() local
274 progress.append(String.format("Cam %s, %s: %s\n", in onReceive()
279 progressView.setText(progress.toString()); in onReceive()
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java282 ProgressBar progressBar = (ProgressBar) w.findViewById(android.R.id.progress); in testSetProgressDrawable()
297 mProgressBar = (ProgressBar) w.findViewById(android.R.id.progress); in testSetIndeterminateDrawable()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DGyroscopeTestActivity.java85 mProgressText = (TextView) findViewById(R.id.progress); in onCreate()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java202 synchronized public void onProgressChanged(int progress) { in onProgressChanged() argument
203 mProgress = progress; in onProgressChanged()