Home
last modified time | relevance | path

Searched refs:maxWidth (Results 1 – 10 of 10) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java111 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/
DThumbnailUtilsTest.java133 final int maxWidth = (expected.getWidth() * 3) / 2; in assertSaneThumbnail() local
135 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
DDecodeAccuracyTestBase.java493 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()
DMediaCodecCapabilitiesTest.java474 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat() local
479 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()
533 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createVideoFormatForBitrateMode() local
545 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java681 final int maxWidth = 20; in testGetAndSetMaxWidth() local
682 mProgressBar.setMaxWidth(maxWidth); in testGetAndSetMaxWidth()
683 assertEquals(maxWidth, mProgressBar.getMaxWidth()); in testGetAndSetMaxWidth()
DWidgetAttributeTest.kt137 attributeMapProgressBar[android.R.attr.maxWidth]!!.toInt()) in testGetAttributeSourceResourceMap()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java701 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/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java792 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local
793 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()
800 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java211 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/
DLogicalCameraDeviceTest.java952 int maxWidth = activeArraySize.width(); in validatePhysicalCamerasFov() local
955 maxWidth), minWidth); in validatePhysicalCamerasFov()