/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TimerProgressBar.java | 72 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/ |
D | LoadingProgressTest.java | 129 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/print/src/android/print/cts/ |
D | PrintServicesTest.java | 207 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() method 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/ |
D | AbsSeekBarTest.java | 245 int progress = 10; in testAccessMax() local 246 myAbsSeekBar.setProgress(progress); in testAccessMax() 247 int max = progress + 1; in testAccessMax() 250 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMax() 253 max = progress - 1; in testAccessMax() 274 int progress = -5; in testAccessMin() local 275 int min = progress - 1; in testAccessMin() 279 myAbsSeekBar.setProgress(progress); in testAccessMin() 281 assertEquals(progress, myAbsSeekBar.getProgress()); in testAccessMin() 284 min = progress + 1; in testAccessMin()
|
D | ProgressBarTest.java | 78 mProgressBar = (ProgressBar) mActivity.findViewById(R.id.progress); in setup() 418 int progress = 10; in testAccessMax() local 419 mProgressBarHorizontal.setProgress(progress); in testAccessMax() 422 int max = progress + 1; in testAccessMax() 425 assertEquals(progress, mProgressBarHorizontal.getProgress()); in testAccessMax() 427 max = progress - 1; in testAccessMax() 718 .findDrawableByLayerId(android.R.id.progress); in testAnimationNotOverwriteNewProgress()
|
D | RemoteViewsActivityTest.java | 76 assertTrue("ProgressBar not inflated", result.findViewById(R.id.progress) != null); in testGood()
|
D | RemoteViewsTest.java | 416 ProgressBar progress = (ProgressBar) mResult.findViewById(R.id.remoteView_progress); in testSetProgressBar() local 417 assertEquals(100, progress.getMax()); in testSetProgressBar() 418 assertEquals(0, progress.getProgress()); in testSetProgressBar() 420 assertFalse(progress.isIndeterminate()); in testSetProgressBar() 425 assertEquals(100, progress.getMax()); in testSetProgressBar() 426 assertEquals(0, progress.getProgress()); in testSetProgressBar() 427 assertTrue(progress.isIndeterminate()); in testSetProgressBar() 431 assertEquals(60, progress.getMax()); in testSetProgressBar() 432 assertEquals(50, progress.getProgress()); in testSetProgressBar() 433 assertFalse(progress.isIndeterminate()); in testSetProgressBar() [all …]
|
D | WidgetAttributeTest.kt | 140 attributeMapProgressBar[android.R.attr.progress]!!.toInt()) in testGetAttributeSourceResourceMap()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | DetermineFovActivity.java | 133 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/libs/deviceutillegacy/src/android/webkit/cts/ |
D | WebViewSyncLoader.java | 165 public synchronized void onProgressChanged(int progress) { in onProgressChanged() argument 166 mProgress = progress; in onProgressChanged()
|
/cts/tests/tests/os/src/android/os/image/cts/ |
D | DynamicSystemClientTest.java | 52 public void onStatusChanged(int status, int cause, long progress, Throwable detail) { in onStatusChanged() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsTestActivity.java | 264 StringBuilder progress = new StringBuilder(); in onReceive() local 270 progress.append(String.format("Cam %s, %s: %s\n", in onReceive() 275 progressView.setText(progress.toString()); in onReceive()
|
/cts/tests/app/src/android/app/cts/ |
D | ProgressDialogTest.java | 282 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/ |
D | CameraVideoActivity.java | 394 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioLoopbackLatencyActivity.java | 159 public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) { in connectLoopbackUI() 161 progress, 0); in connectLoopbackUI() 162 Log.i(TAG,"Level set to: " + progress); in connectLoopbackUI()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | GyroscopeTestActivity.java | 85 mProgressText = (TextView) findViewById(R.id.progress); in onCreate()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | BugreportManagerTest.java | 302 public synchronized void onProgress(float progress) { in onProgress() argument
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | SessionAbandonBehaviorTest.java | 124 public void onProgressChanged(int sessionId, float progress) { in onProgressChanged() argument
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | StagedInstallTest.java | 770 @Override public void onProgressChanged(int sessionId, float progress) { } in testStagedApkSessionCallbacks()
|