Searched refs:getMax (Results 1 – 11 of 11) sorted by relevance
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RatingBarTest.java | 150 assertEquals(10, mRatingBar.getMax()); in testSetMax() 156 assertEquals(10, mRatingBar.getMax()); in testSetMax() 160 assertEquals(Integer.MAX_VALUE, mRatingBar.getMax()); in testSetMax() 169 final float expectedProgress = expectedMax / mRatingBar.getMax() * mRatingBar.getProgress(); in testAccessStepSize() 170 assertEquals((int) expectedMax, mRatingBar.getMax()); in testAccessStepSize() 175 final int currentMax = mRatingBar.getMax(); in testAccessStepSize() 180 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize() 185 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize() 190 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize() 195 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize()
|
D | ProgressBarTest.java | 245 final int maxProgress = mProgressBarHorizontal.getMax(); in testAccessProgress() 275 final int maxProgress = mProgressBarHorizontal.getMax(); in testAccessSecondaryProgress() 306 increment = mProgressBarHorizontal.getMax() >> 1; in testIncrementProgressBy() 314 assertEquals(mProgressBarHorizontal.getMax(), mProgressBarHorizontal.getProgress()); in testIncrementProgressBy() 331 increment = mProgressBarHorizontal.getMax() >> 1; in testIncrementSecondaryProgressBy() 340 assertEquals(mProgressBarHorizontal.getMax(), in testIncrementSecondaryProgressBy() 424 assertEquals(max, mProgressBarHorizontal.getMax()); in testAccessMax() 429 assertEquals(max, mProgressBarHorizontal.getMax()); in testAccessMax() 434 assertEquals(0, mProgressBarHorizontal.getMax()); in testAccessMax() 438 assertEquals(Integer.MAX_VALUE, mProgressBarHorizontal.getMax()); in testAccessMax() [all …]
|
D | AbsSeekBarTest.java | 249 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMax() 255 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMax() 303 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMin()
|
D | RemoteViewsTest.java | 417 assertEquals(100, progress.getMax()); in testSetProgressBar() 425 assertEquals(100, progress.getMax()); in testSetProgressBar() 431 assertEquals(60, progress.getMax()); in testSetProgressBar()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfo_RangeInfoTest.java | 55 assertEquals(0, r.getMax(), FLOAT_TOLERANCE); in testObtain() 61 assertEquals(1.5f, r.getMax(), FLOAT_TOLERANCE); in testObtain() 67 assertEquals(100.0f, r.getMax(), FLOAT_TOLERANCE); in testObtain()
|
D | AccessibilityNodeInfoTest.java | 509 assertEquals("RangeInfo#getMax has incorrect value", expectedRange.getMax(), in assertEqualsAccessibilityNodeInfo() 510 receivedRange.getMax(), 0.0); in assertEqualsAccessibilityNodeInfo()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | LegacyCameraPerformanceTest.java | 148 + ". Max(ms): " + Stat.getMax(cameraOpenTimes)); in testLegacyApiPerformance() 153 + ". Max(ms): " + Stat.getMax(startPreviewTimes)); in testLegacyApiPerformance() 159 + ". Max(ms): " + Stat.getMax(cameraAutoFocusTimes)); in testLegacyApiPerformance() 165 + ". Max(ms): " + Stat.getMax(stopPreviewTimes)); in testLegacyApiPerformance() 170 + ". Max(ms): " + Stat.getMax(cameraCloseTimes)); in testLegacyApiPerformance() 175 + ". Max(ms): " + Stat.getMax(cameraTakePictureTimes)); in testLegacyApiPerformance()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TimerProgressBar.java | 67 TimerProgressBar.this.setProgress(TimerProgressBar.this.getMax()); 73 progress = Math.min(progress, TimerProgressBar.this.getMax());
|
/cts/tests/tests/text/src/android/text/cts/ |
D | InputFilter_LengthFilterTest.java | 43 assertEquals(10, lengthFilter.getMax()); in testFilter()
|
/cts/tests/app/src/android/app/cts/ |
D | ProgressDialogTest.java | 189 assertEquals(2008, progressDialog.getMax()); in testAccessMax() 194 assertEquals(2009, progressDialog.getMax()); in testAccessMax()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 932 public double getMax() { in getMax() method in MediaUtils.Stats
|