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.java231 final int maxWidth = (expected.getWidth() * 3) / 2; in assertSaneThumbnail() local
233 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
DDecodeAccuracyTestBase.java495 final int maxWidth = videoCapabilities.getSupportedWidths().getUpper(); in configureVideoFormat() local
497 videoCapabilities.getSupportedHeightsFor(maxWidth).getUpper(); in configureVideoFormat()
498 … if (maxWidth >= videoFormat.getWidth() && maxHeight >= videoFormat.getHeight()) { in configureVideoFormat()
499 mediaFormat.setInteger(MediaFormat.KEY_MAX_WIDTH, maxWidth); in configureVideoFormat()
1569 private int maxWidth = INT_UNSET; field in VideoFormat
1607 public void setMaxWidth(int maxWidth) { in setMaxWidth() argument
1608 this.maxWidth = maxWidth; in setMaxWidth()
1619 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/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp724 int32_t maxWidth = kMaxInt32 / bpp; in testSetTargetSize() local
725 for (int32_t width : { maxWidth / 2, maxWidth - 1, maxWidth }) { in testSetTargetSize()
734 for (int32_t width : { maxWidth + 1, (int32_t) (maxWidth * 1.5) }) { in testSetTargetSize()
/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.kt136 attributeMapProgressBar[android.R.attr.maxWidth]!!.toInt()) in testGetAttributeSourceResourceMap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java858 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local
859 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()
866 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/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...