/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsSeekBarTest.java | 254 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 …]
|
D | ProgressBarTest.java | 429 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/ |
D | ConfigurationTest.java | 50 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/ |
D | EventLogTest.java | 77 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/ |
D | CalibrateVolumeActivity.java | 124 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()
|
D | AudioQualityVerifierActivity.java | 152 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()
|
D | Utils.java | 54 return Math.max(minHardwareBufferSize, minBufferSize); in getAudioTrackBufferSize() 70 return Math.max(minHardwareBufferSize, minBufferSize); in getAudioRecordBufferSize()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintFlagsDrawFilterTest.java | 106 rect.right = Math.max(rect.right, x); in assertUnderline() 108 rect.bottom = Math.max(rect.bottom, y); in assertUnderline()
|
D | DiscretePathEffectTest.java | 93 maxY = Math.max(maxY, y); in testDiscretePathEffect()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 24 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/ |
D | ExpectationStore.java | 100 int dotOrHash = Math.max(name.lastIndexOf('.'), name.lastIndexOf('#')); in getByNameOrPackage()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebViewTest.java | 1276 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/ |
D | AnimationSetTest.java | 253 expectedDuration = Math.max(expectedDuration, children.get(i).computeDurationHint()); in testComputeDurationHint()
|
/cts/tools/dasm/src/java_cup/ |
D | parser.cup | 82 /** max size of right hand side we will support */
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraTest.java | 774 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/ |
D | ArrowKeyMovementMethodTest.java | 1295 return text.subSequence(Math.max(0, index - 5), index) + "|" in getCursorSnippet()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 16769 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 …]
|
D | classes.out.dex | 796 public static final int max 105980 int max 110044 public static final int max
|