Home
last modified time | relevance | path

Searched refs:max (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java254 int max = progress + 1; in testSetMax() local
255 myAbsSeekBar.setMax(max); in testSetMax()
256 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax()
260 max = progress - 1; in testSetMax()
261 myAbsSeekBar.setMax(max); in testSetMax()
262 assertEquals(max, myAbsSeekBar.getMax()); in testSetMax()
263 assertEquals(max, myAbsSeekBar.getProgress()); in testSetMax()
269 max = (keyProgressIncrement - 1) * 20; in testSetMax()
270 myAbsSeekBar.setMax(max); in testSetMax()
272 max = (keyProgressIncrement + 1) * 20; in testSetMax()
[all …]
DProgressBarTest.java429 int max = progress + 1; in testAccessMax() local
430 progressBar.setMax(max); in testAccessMax()
431 assertEquals(max, progressBar.getMax()); in testAccessMax()
434 max = progress - 1; in testAccessMax()
435 progressBar.setMax(max); in testAccessMax()
436 assertEquals(max, progressBar.getMax()); in testAccessMax()
437 assertEquals(max, progressBar.getProgress()); in testAccessMax()
/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java50 int max = Math.max(metrics.widthPixels, metrics.heightPixels); in testScreenConfiguration() local
52 double aspectRatio = (double) max / min; in testScreenConfiguration()
73 int longSize = (int) (max / metrics.density); in testScreenConfiguration()
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java77 final int max = 4096 - 20 - 4 - 1; in testWriteEventWithOversizeValue() local
81 assertEquals(max - 5, val0.length()); in testWriteEventWithOversizeValue()
87 assertEquals(max - 2 - 5 - 2 - 5, ((String) arr1[1]).length()); in testWriteEventWithOversizeValue()
93 assertEquals(max - 2 - 5 - 5, ((String) arr2[1]).length()); in testWriteEventWithOversizeValue()
99 assertEquals(max - 2 - 9 - 5, ((String) arr3[1]).length()); in testWriteEventWithOversizeValue()
104 assertEquals(max - 2 - 5, ((String) arr4[0]).length()); in testWriteEventWithOversizeValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
DCalibrateVolumeActivity.java124 int max = mSlider.getMax(); in handleMessage() local
125 int progress = (max / 2 * rms) / Math.round(TARGET_RMS); in handleMessage()
126 if (progress > max) progress = max; in handleMessage()
DAudioQualityVerifierActivity.java152 int max = mgr.getStreamMaxVolume(PLAYBACK_STREAM); in checkNotSilent() local
153 Log.i(TAG, "Volume " + volume + ", max " + max); in checkNotSilent()
154 if (volume <= max / 10) { in checkNotSilent()
156 mgr.setStreamVolume(PLAYBACK_STREAM, (max * 2) / 3, AudioManager.FLAG_SHOW_UI); in checkNotSilent()
DUtils.java54 return Math.max(minHardwareBufferSize, minBufferSize); in getAudioTrackBufferSize()
70 return Math.max(minHardwareBufferSize, minBufferSize); in getAudioRecordBufferSize()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintFlagsDrawFilterTest.java106 rect.right = Math.max(rect.right, x); in assertUnderline()
108 rect.bottom = Math.max(rect.bottom, y); in assertUnderline()
DDiscretePathEffectTest.java93 maxY = Math.max(maxY, y); in testDiscretePathEffect()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DTypeTest.java24 void testBuilderSizes(Type.Builder b, int min, int max) { in testBuilderSizes() argument
25 for (int x = min; x < max; x ++) { in testBuilderSizes()
26 for (int y = min; y < max; y ++) { in testBuilderSizes()
/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java100 int dotOrHash = Math.max(name.lastIndexOf('.'), name.lastIndexOf('#')); in getByNameOrPackage()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1276 int dimension = Math.max(metrics.widthPixels, metrics.heightPixels);
1425 int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels);
1647 int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels);
2433 final int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels);
2447 final int dimension = 2 * Math.max(metrics.widthPixels, metrics.heightPixels);
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationSetTest.java253 expectedDuration = Math.max(expectedDuration, children.get(i).computeDurationHint()); in testComputeDurationHint()
/cts/tools/dasm/src/java_cup/
Dparser.cup82 /** max size of right hand side we will support */
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java774 int max = parameters.getMaxExposureCompensation(); in checkExposureCompensation() local
777 if (max == 0 && min == 0) { in checkExposureCompensation()
782 assertTrue(max >= 0); in checkExposureCompensation()
/cts/tests/tests/text/src/android/text/method/cts/
DArrowKeyMovementMethodTest.java1295 return text.subSequence(Math.max(0, index - 5), index) + "|" in getCursorSnippet()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex16769 public static double max(
16773 public static float max(
16777 public static int max(
16781 public static long max(
17996 public static double max(
18000 public static float max(
18004 public static int max(
18008 public static long max(
21601 public java.math.BigDecimal max(
22103 public java.math.BigInteger max(
[all …]
Dclasses.out.dex796 public static final int max
105980 int max
110044 public static final int max