Home
last modified time | relevance | path

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

/cts/tests/tests/dpi/src/android/dpi/cts/
DConfigurationTest.java51 int min = Math.min(metrics.widthPixels, metrics.heightPixels); in testScreenConfiguration() local
52 double aspectRatio = (double) max / min; in testScreenConfiguration()
74 int shortSize = (int) (min / metrics.density); in testScreenConfiguration()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintFlagsDrawFilterTest.java105 rect.left = Math.min(rect.left, x); in assertUnderline()
107 rect.top = Math.min(rect.top, y); in assertUnderline()
DDiscretePathEffectTest.java92 minY = Math.min(minY, y); in testDiscretePathEffect()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
DBackgroundAudio.java85 int maxBytes = Math.min(mBufferSize, len - mPos); in writeAudio()
DUtils.java375 private void expandCapacity(int min) { in expandCapacity() argument
377 if (capacity < min) capacity = min; in expandCapacity()
/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/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
DArcShapeTest.java74 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT); in testDraw()
DOvalShapeTest.java69 final int SQUARE = Math.min(TEST_WIDTH, TEST_HEIGHT); in testDraw()
/cts/tools/host/src/com/android/cts/
DHostUtils.java269 int min = cal.get(Calendar.MINUTE); in getFormattedTimeString() local
287 fmt.format(formatStr, year, month, date, hour, min, sec); in getFormattedTimeString()
/cts/tests/src/android/media/cts/
DFaceView.java78 float scale = Math.min((float) getWidth() / mPicWidth, (float) getHeight() / mPicHeight); in onDraw()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_ThumbnailsTest.java165 assertTrue(c.getLong(c.getColumnIndex(Thumbnails.WIDTH)) >= Math.min(src.getWidth(), 240)); in testQueryExternalMiniThumbnails()
166 … assertTrue(c.getLong(c.getColumnIndex(Thumbnails.HEIGHT)) >= Math.min(src.getHeight(), 240)); in testQueryExternalMiniThumbnails()
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java1094 int beforePos = Math.min(pos, 20); in getSnippet()
1096 int afterPos = Math.min(limit - pos, 20); in getSnippet()
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java148 int dragAmount = Math.min(screenWidth, textWidth - screenWidth); in testOnTouchEvent()
DArrowKeyMovementMethodTest.java1296 + text.subSequence(index, Math.min(text.length() - 1, index + 5)); in getCursorSnippet()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoViewTest.java305 assertEquals(Math.min(desiredSize, specSize), resolvedSize); in testResolveAdjustedSize()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
DWarmLatencyExperiment.java223 int writeBytes = Math.min(mBufferSize, length - mPosition);
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java775 int min = parameters.getMinExposureCompensation(); in checkExposureCompensation() local
777 if (max == 0 && min == 0) { in checkExposureCompensation()
783 assertTrue(min <= 0); in checkExposureCompensation()
1657 int previewSizeTestCount = Math.min(previewSizes.size(), 4);
1658 int pictureSizeTestCount = Math.min(pictureSizes.size(), 4);
/cts/tools/dex-tools/dex/
Dclasses0.out.dex16785 public static double min(
16789 public static float min(
16793 public static int min(
16797 public static long min(
18012 public static double min(
18016 public static float min(
18020 public static int min(
18024 public static long min(
21604 public java.math.BigDecimal min(
22106 public java.math.BigInteger min(
[all …]