Home
last modified time | relevance | path

Searched refs:maxWidth (Results 1 – 14 of 14) 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/misc/src/android/media/misc/cts/
DResourceManagerMultiTest.java192 int maxWidth = widthRange.getUpper(); in getAllVideoCodecParameters() local
193 int maxHeight = videoCap.getSupportedHeightsFor(maxWidth).getUpper(); in getAllVideoCodecParameters()
194 long maxPixels = (long) maxWidth * maxHeight; in getAllVideoCodecParameters()
213 if ((int) lastArg[2] != maxWidth || (int) lastArg[3] != maxHeight) { in getAllVideoCodecParameters()
214 argsList.add(getArgs(info.getName(), mimeType, maxWidth, maxHeight)); in getAllVideoCodecParameters() local
DThumbnailUtilsTest.java234 final int maxWidth = (expected.getWidth() * 3) / 2; in assertSaneThumbnail() local
236 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DMediaDeviceInfo.java135 int maxWidth = widthRange.getUpper(); in collectDeviceInfo() local
136 int maxPixelCount = maxWidth in collectDeviceInfo()
137 * videoCapabilities.getSupportedHeightsFor(maxWidth).getUpper(); in collectDeviceInfo()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java498 final int maxWidth = videoCapabilities.getSupportedWidths().getUpper(); in configureVideoFormat() local
500 videoCapabilities.getSupportedHeightsFor(maxWidth).getUpper(); in configureVideoFormat()
501 … if (maxWidth >= videoFormat.getWidth() && maxHeight >= videoFormat.getHeight()) { in configureVideoFormat()
502 mediaFormat.setInteger(MediaFormat.KEY_MAX_WIDTH, maxWidth); in configureVideoFormat()
1588 private int maxWidth = INT_UNSET; field in VideoFormat
1626 public void setMaxWidth(int maxWidth) { in setMaxWidth() argument
1627 this.maxWidth = maxWidth; in setMaxWidth()
1638 return maxWidth; in getMaxWidth()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecCapabilitiesTest.java562 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat() local
567 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()
624 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createVideoFormatForBitrateMode() local
636 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp726 int32_t maxWidth = kMaxInt32 / bpp; in testSetTargetSize() local
727 for (int32_t width : { maxWidth / 2, maxWidth - 1, maxWidth }) { in testSetTargetSize()
736 for (int32_t width : { maxWidth + 1, (int32_t) (maxWidth * 1.5) }) { in testSetTargetSize()
/cts/tests/tests/widget/src/android/widget/cts/
DProgressBarTest.java690 final int maxWidth = 20; in testGetAndSetMaxWidth() local
691 mProgressBar.setMaxWidth(maxWidth); in testGetAndSetMaxWidth()
692 assertEquals(maxWidth, mProgressBar.getMaxWidth()); in testGetAndSetMaxWidth()
DWidgetAttributeTest.kt139 attributeMapProgressBar[android.R.attr.maxWidth]!!.toInt() in testGetAttributeSourceResourceMap()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java883 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local
884 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()
891 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java220 int start, int end, boolean measureForwards, float maxWidth, int expectedCount, in verifyBreakText() argument
238 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0])); in verifyBreakText()
239 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1])); in verifyBreakText()
240 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/ ...
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt7937 method public android.media.tv.TvStreamConfig.Builder maxWidth(int);
Dcurrent.txt1175 field public static final int maxWidth = 16843039; // 0x101011f