Home
last modified time | relevance | path

Searched refs:getMax (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DRatingBarTest.java135 assertEquals(10, ratingBar.getMax()); in testSetMax()
141 assertEquals(10, ratingBar.getMax()); in testSetMax()
145 assertEquals(Integer.MAX_VALUE, ratingBar.getMax()); in testSetMax()
154 float expectedProgress = expectedMax / ratingBar.getMax() * ratingBar.getProgress(); in testAccessStepSize()
155 assertEquals((int) expectedMax, ratingBar.getMax()); in testAccessStepSize()
160 int currentMax = ratingBar.getMax(); in testAccessStepSize()
165 assertEquals(currentMax, ratingBar.getMax()); in testAccessStepSize()
170 assertEquals(currentMax, ratingBar.getMax()); in testAccessStepSize()
175 assertEquals(currentMax, ratingBar.getMax()); in testAccessStepSize()
180 assertEquals(currentMax, ratingBar.getMax()); in testAccessStepSize()
DProgressBarTest.java118 final int maxProgress = progressBar.getMax(); in testAccessProgress()
145 final int maxProgress = progressBar.getMax(); in testAccessSecondaryProgress()
177 increment = progressBar.getMax() >> 1; in testIncrementProgressBy()
185 assertEquals(progressBar.getMax(), progressBar.getProgress()); in testIncrementProgressBy()
202 increment = progressBar.getMax() >> 1; in testIncrementSecondaryProgressBy()
210 assertEquals(progressBar.getMax(), progressBar.getSecondaryProgress()); in testIncrementSecondaryProgressBy()
290 assertEquals(max, progressBar.getMax()); in testAccessMax()
295 assertEquals(max, progressBar.getMax()); in testAccessMax()
300 assertEquals(0, progressBar.getMax()); in testAccessMax()
304 assertEquals(Integer.MAX_VALUE, progressBar.getMax()); in testAccessMax()
[all …]
DAbsSeekBarTest.java206 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax()
212 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax()
DRemoteViewsTest.java267 assertEquals(100, progress.getMax()); in testSetProgressBar()
275 assertEquals(100, progress.getMax()); in testSetProgressBar()
281 assertEquals(60, progress.getMax()); in testSetProgressBar()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_RangeInfoTest.java39 assertEquals(0, r.getMax(), FLOAT_TOLERANCE); in testObtain()
45 assertEquals(1.5f, r.getMax(), FLOAT_TOLERANCE); in testObtain()
51 assertEquals(100.0f, r.getMax(), FLOAT_TOLERANCE); in testObtain()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTimerProgressBar.java67 TimerProgressBar.this.setProgress(TimerProgressBar.this.getMax());
73 progress = Math.min(progress, TimerProgressBar.this.getMax());
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java189 assertEquals(2008, progressDialog.getMax()); in testAccessMax()
194 assertEquals(2009, progressDialog.getMax()); in testAccessMax()
/cts/common/util/src/com/android/compatibility/common/util/
DStat.java132 public static double getMax(double[] data) { in getMax() method in Stat
/cts/libs/deviceutil/src/android/cts/util/
DMediaUtils.java706 public double getMax() { in getMax() method in MediaUtils.Stats
/cts/tools/dex-tools/dex/
Dclasses.out.dex14104 public int getMax()
100170 public int getMax()