Home
last modified time | relevance | path

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

12

/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/hostsidetests/packagemanager/installedloadingprogess/deviceside/src/com/android/tests/loadingprogress/device/
DLoadingProgressTest.java129 final float progress = activity.getLoadingProgress(); in checkLoadingProgress() local
130 assertTrue("progress <" + progress + "> does not meet requirement", in checkLoadingProgress()
131 progressCondition.test(progress)); in checkLoadingProgress()
184 @NonNull UserHandle user, float progress) { in onPackageLoadingProgressChanged() argument
185 if (mCondition.test(progress)) { in onPackageLoadingProgressChanged()
/cts/tests/tests/os/src/android/os/cts/
DFileUtilsTest.java87 FileUtils.copy(in, out, null, executor, (progress) -> { in testCopyFileStreamListener()
88 event.complete(progress); in testCopyFileStreamListener()
108 FileUtils.copy(in.getFD(), out.getFD(), null, executor, (progress) -> { in testCopyFileDescriptorListener()
109 event.complete(progress); in testCopyFileDescriptorListener()
/cts/tests/tests/print/src/android/print/cts/
DPrintServicesTest.java207 private void setProgressAndStatus(final float progress, final CharSequence status) in setProgressAndStatus() argument
210 sPrintJob.setProgress(progress); in setProgressAndStatus()
223 private void progress(float progress, CharSequence status) throws Throwable { in progress() argument
224 setProgressAndStatus(progress, status); in progress()
227 checkNotification(progress, status); in progress()
259 public void progress() throws Throwable {
298 progress(0, "printed 0");
299 progress(0.5f, "printed 50");
300 progress(1, "printed 100");
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java253 int progress = 10; in testAccessMax() local
254 myAbsSeekBar.setProgress(progress); in testAccessMax()
255 int max = progress + 1; in testAccessMax()
258 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMax()
261 max = progress - 1; in testAccessMax()
282 int progress = -5; in testAccessMin() local
283 int min = progress - 1; in testAccessMin()
287 myAbsSeekBar.setProgress(progress); in testAccessMin()
289 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMin()
292 min = progress + 1; in testAccessMin()
DProgressBarTest.java87 mProgressBar = (ProgressBar) mActivity.findViewById(R.id.progress); in setup()
427 int progress = 10; in testAccessMax() local
428 mProgressBarHorizontal.setProgress(progress); in testAccessMax()
431 int max = progress + 1; in testAccessMax()
434 assertEquals(progress, mProgressBarHorizontal.getProgress()); in testAccessMax()
436 max = progress - 1; in testAccessMax()
727 .findDrawableByLayerId(android.R.id.progress); in testAnimationNotOverwriteNewProgress()
DRemoteViewsActivityTest.java76 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null); in testGood()
DRemoteViewsTest.java442 ProgressBar progress = (ProgressBar) mResult.findViewById(R.id.remoteView_progress); in testSetProgressBar() local
443 assertEquals(100, progress.getMax()); in testSetProgressBar()
444 assertEquals(0, progress.getProgress()); in testSetProgressBar()
446 assertFalse(progress.isIndeterminate()); in testSetProgressBar()
451 assertEquals(100, progress.getMax()); in testSetProgressBar()
452 assertEquals(0, progress.getProgress()); in testSetProgressBar()
453 assertTrue(progress.isIndeterminate()); in testSetProgressBar()
457 assertEquals(60, progress.getMax()); in testSetProgressBar()
458 assertEquals(50, progress.getProgress()); in testSetProgressBar()
459 assertFalse(progress.isIndeterminate()); in testSetProgressBar()
[all …]
DWidgetAttributeTest.kt147 attributeMapProgressBar[android.R.attr.progress]!!.toInt() in testGetAttributeSourceResourceMap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java133 SeekBar seekBar, int progress, boolean fromUser) { in onCreate()
134 mFovDegrees = seekBarProgressToFovDegrees(progress); in onCreate()
156 private float seekBarProgressToFovDegrees(int progress) { in seekBarProgressToFovDegrees() argument
157 float degrees = mFovMinDegrees + (float) progress / SEEKBAR_MAX_VALUE in seekBarProgressToFovDegrees()
/cts/tests/framework/base/windowmanager/src/android/server/wm/backnavigation/
DOnBackInvokedCallbackGestureTest.java222 final float progress = 0.5f; in constructsEvent() local
224 BackEvent event = new BackEvent(x, y, progress, swipeEdge); in constructsEvent()
227 assertEquals(progress, event.getProgress()); in constructsEvent()
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewSyncLoader.java162 public synchronized void onProgressChanged(int progress) { in onProgressChanged() argument
163 mProgress = progress; in onProgressChanged()
/cts/tests/tests/os/src/android/os/image/cts/
DDynamicSystemClientTest.java54 public void onStatusChanged(int status, int cause, long progress, Throwable detail) { in onStatusChanged() argument
/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/camera/video/
DCameraVideoActivity.java394 StringBuilder progress = new StringBuilder();
395 progress.append(getResources().getString(R.string.status_ready));
396 progress.append("\n---- Progress ----\n");
397 progress.append(getTestDetails());
398 mStatusLabel.setText(progress.toString());
/cts/tests/tests/media/
DREADME.md39 #### Too slow / no progress in the first run
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DGyroscopeTestActivity.java85 mProgressText = (TextView) findViewById(R.id.progress); in onCreate()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java1996 CaptureRequest request, int progress) { in onCaptureProcessProgressed() argument
1997 if ((progress < 0) || (progress > 100)) { in onCaptureProcessProgressed()
1998 mCollector.addMessage("Capture progress invalid value: " + progress); in onCaptureProcessProgressed()
2001 if (mLastProgressValue >= progress) { in onCaptureProcessProgressed()
2002 mCollector.addMessage("Unexpected progress value: " + progress + in onCaptureProcessProgressed()
2006 mLastProgressValue = progress; in onCaptureProcessProgressed()
2008 mProxy.onCaptureProcessProgressed(session, request, progress); in onCaptureProcessProgressed()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsTestActivity.java496 StringBuilder progress = new StringBuilder(); in onReceive() local
502 progress.append(String.format("Cam %s, %s: %s\n", in onReceive()
507 progressView.setText(progress.toString()); in onReceive()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DBugreportManagerTest.java314 public synchronized void onProgress(float progress) { in onProgress() argument
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/
DSessionAbandonBehaviorTest.java124 public void onProgressChanged(int sessionId, float progress) { in onProgressChanged() argument
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DLauncherAppsEnumerationTests.java338 public void onProgressChanged(int sessionId, float progress) { in sessionCallback_sessionOwner_canSeeSession()
/cts/tests/tests/packageinstaller/uninstall/src/android/packageinstaller/uninstall/cts/
DArchiveTest.java547 public void onProgressChanged(int sessionId, float progress) { in onProgressChanged() argument
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageInstallerArchiveTest.java1067 public void onProgressChanged(int sessionId, float progress) { in onProgressChanged() argument
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java754 @Override public void onProgressChanged(int sessionId, float progress) { } in testStagedApkSessionCallbacks()

12