Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DRatingBarTest.java169 assertEquals(10, mRatingBar.getMax()); in testSetMax()
175 assertEquals(10, mRatingBar.getMax()); in testSetMax()
179 assertEquals(Integer.MAX_VALUE, mRatingBar.getMax()); in testSetMax()
188 final float expectedProgress = expectedMax / mRatingBar.getMax() * mRatingBar.getProgress(); in testAccessStepSize()
189 assertEquals((int) expectedMax, mRatingBar.getMax()); in testAccessStepSize()
194 final int currentMax = mRatingBar.getMax(); in testAccessStepSize()
199 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize()
204 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize()
209 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize()
214 assertEquals(currentMax, mRatingBar.getMax()); in testAccessStepSize()
DProgressBarTest.java254 final int maxProgress = mProgressBarHorizontal.getMax(); in testAccessProgress()
284 final int maxProgress = mProgressBarHorizontal.getMax(); in testAccessSecondaryProgress()
315 increment = mProgressBarHorizontal.getMax() >> 1; in testIncrementProgressBy()
323 assertEquals(mProgressBarHorizontal.getMax(), mProgressBarHorizontal.getProgress()); in testIncrementProgressBy()
340 increment = mProgressBarHorizontal.getMax() >> 1; in testIncrementSecondaryProgressBy()
349 assertEquals(mProgressBarHorizontal.getMax(), in testIncrementSecondaryProgressBy()
433 assertEquals(max, mProgressBarHorizontal.getMax()); in testAccessMax()
438 assertEquals(max, mProgressBarHorizontal.getMax()); in testAccessMax()
443 assertEquals(0, mProgressBarHorizontal.getMax()); in testAccessMax()
447 assertEquals(Integer.MAX_VALUE, mProgressBarHorizontal.getMax()); in testAccessMax()
[all …]
DAbsSeekBarTest.java257 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMax()
263 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMax()
311 assertEquals(max, myAbsSeekBar.getMax()); in testAccessMin()
DRemoteViewsTest.java443 assertEquals(100, progress.getMax()); in testSetProgressBar()
451 assertEquals(100, progress.getMax()); in testSetProgressBar()
457 assertEquals(60, progress.getMax()); in testSetProgressBar()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityNodeInfo_RangeInfoTest.java55 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()
DAccessibilityNodeInfoTest.java530 assertEquals("RangeInfo#getMax has incorrect value", expectedRange.getMax(), in assertEqualsAccessibilityNodeInfo()
531 receivedRange.getMax(), 0.0); in assertEqualsAccessibilityNodeInfo()
/cts/tests/camera/src/android/hardware/cts/
DLegacyCameraPerformanceTest.java148 + ". 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/
DTimerProgressBar.java67 TimerProgressBar.this.setProgress(TimerProgressBar.this.getMax());
73 progress = Math.min(progress, TimerProgressBar.this.getMax());
/cts/tests/tests/text/src/android/text/cts/
DInputFilter_LengthFilterTest.java43 assertEquals(10, lengthFilter.getMax()); in testFilter()
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java189 assertEquals(2008, progressDialog.getMax()); in testAccessMax()
194 assertEquals(2009, progressDialog.getMax()); in testAccessMax()
/cts/tests/camera/src/android/hardware/camera2/cts/
DPerformanceTest.java281 + ". Max(ms): " + Stat.getMax(cameraOpenTimes)); in testCameraLaunch()
286 + ". Max(ms): " + Stat.getMax(configureStreamTimes)); in testCameraLaunch()
291 + ". Max(ms): " + Stat.getMax(startPreviewTimes)); in testCameraLaunch()
296 + ". nMax(ms): " + Stat.getMax(stopPreviewTimes)); in testCameraLaunch()
301 + ". Max(ms): " + Stat.getMax(cameraCloseTimes)); in testCameraLaunch()
306 + ". Max(ms): " + Stat.getMax(cameraLaunchTimes)); in testCameraLaunch()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java958 public double getMax() { in getMax() method in MediaUtils.Stats
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt7253 method @Deprecated public int getMax();
47667 method public int getMax();
51074 method public float getMax();
55180 method public float getMax();
59983 method public int getMax();