/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 111 int maxWidth = 0; in onMeasure() local 144 maxWidth = Math.max(maxWidth, in onMeasure() 152 maxWidth += getPaddingLeft() + mForegroundPadding.left in onMeasure() 159 maxWidth = Math.max(maxWidth, getSuggestedMinimumWidth()); in onMeasure() 165 maxWidth = Math.max(maxWidth, drawable.getMinimumWidth()); in onMeasure() 168 setMeasuredDimension(resolveSizeAndState(maxWidth, widthMeasureSpec, childState), in onMeasure()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ThumbnailUtilsTest.java | 133 final int maxWidth = (expected.getWidth() * 3) / 2; in assertSaneThumbnail() local 135 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
|
D | DecodeAccuracyTestBase.java | 493 final int maxWidth = videoCapabilities.getSupportedWidths().getUpper(); in configureVideoFormat() local 495 videoCapabilities.getSupportedHeightsFor(maxWidth).getUpper(); in configureVideoFormat() 496 … if (maxWidth >= videoFormat.getWidth() && maxHeight >= videoFormat.getHeight()) { in configureVideoFormat() 497 mediaFormat.setInteger(MediaFormat.KEY_MAX_WIDTH, maxWidth); in configureVideoFormat() 1567 private int maxWidth = INT_UNSET; field in VideoFormat 1605 public void setMaxWidth(int maxWidth) { in setMaxWidth() argument 1606 this.maxWidth = maxWidth; in setMaxWidth() 1617 return maxWidth; in getMaxWidth()
|
D | MediaCodecCapabilitiesTest.java | 472 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat() local 477 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat() 531 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createVideoFormatForBitrateMode() local 543 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ProgressBarTest.java | 678 final int maxWidth = 20; in testGetAndSetMaxWidth() local 679 mProgressBar.setMaxWidth(maxWidth); in testGetAndSetMaxWidth() 680 assertEquals(maxWidth, mProgressBar.getMaxWidth()); in testGetAndSetMaxWidth()
|
D | WidgetAttributeTest.kt | 137 attributeMapProgressBar[android.R.attr.maxWidth]!!.toInt()) in testGetAttributeSourceResourceMap()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 703 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local 704 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() 711 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 701 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local 702 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() 709 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 211 int start, int end, boolean measureForwards, float maxWidth, int expectedCount, in verifyBreakText() argument 229 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0])); in verifyBreakText() 230 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1])); in verifyBreakText() 231 assertEquals(expectedCount, p.breakText(textSpan, start, end, measureForwards, maxWidth, in verifyBreakText()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 951 int maxWidth = activeArraySize.width(); in validatePhysicalCamerasFov() local 954 maxWidth), minWidth); in validatePhysicalCamerasFov()
|