Home
last modified time | relevance | path

Searched refs:maxHeight (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java112 int maxHeight = 0; in onMeasure() local
146 maxHeight = Math.max(maxHeight, in onMeasure()
154 maxHeight += getPaddingTop() + mForegroundPadding.top in onMeasure()
158 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
164 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
169 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/cts/tests/tests/media/src/android/media/cts/
DThumbnailUtilsTest.java134 final int maxHeight = (expected.getHeight() * 3) / 2; in assertSaneThumbnail() local
135 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
DDecodeAccuracyTestBase.java494 final int maxHeight = in configureVideoFormat() local
496 … if (maxWidth >= videoFormat.getWidth() && maxHeight >= videoFormat.getHeight()) { in configureVideoFormat()
498 mediaFormat.setInteger(MediaFormat.KEY_MAX_HEIGHT, maxHeight); in configureVideoFormat()
1568 private int maxHeight = INT_UNSET; field in VideoFormat
1628 public void setMaxHeight(int maxHeight) { in setMaxHeight() argument
1629 this.maxHeight = maxHeight; in setMaxHeight()
1640 return maxHeight; in getMaxHeight()
DMediaCodecCapabilitiesTest.java475 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createReasonableVideoFormat() local
479 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()
534 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createVideoFormatForBitrateMode() local
545 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java697 final int maxHeight = 20; in testGetAndSetMaxHeight() local
698 mProgressBar.setMaxHeight(maxHeight); in testGetAndSetMaxHeight()
699 assertEquals(maxHeight, mProgressBar.getMaxHeight()); in testGetAndSetMaxHeight()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java702 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local
709 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java793 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local
800 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()