Home
last modified time | relevance | path

Searched refs:maxWidth (Results 1 – 6 of 6) 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/
DDecodeAccuracyTestBase.java496 final int maxWidth = videoCapabilities.getSupportedWidths().getUpper(); in configureVideoFormat() local
498 videoCapabilities.getSupportedHeightsFor(maxWidth).getUpper(); in configureVideoFormat()
499 … if (maxWidth >= videoFormat.getWidth() && maxHeight >= videoFormat.getHeight()) { in configureVideoFormat()
500 mediaFormat.setInteger(MediaFormat.KEY_MAX_WIDTH, maxWidth); in configureVideoFormat()
1568 private int maxWidth = INT_UNSET; field in VideoFormat
1606 public void setMaxWidth(int maxWidth) { in setMaxWidth() argument
1607 this.maxWidth = maxWidth; in setMaxWidth()
1618 return maxWidth; in getMaxWidth()
DMediaCodecCapabilitiesTest.java457 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createReasonableVideoFormat() local
462 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()
506 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in createVideoFormatForBitrateMode() local
518 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java700 int maxWidth = vidCaps.getSupportedWidths().getUpper(); in setMaxEncoderFrameAndBitrates() local
701 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates()
708 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java157 int start, int end, boolean measureForwards, float maxWidth, int expectedCount, in verifyBreakText() argument
175 assertEquals(expectedCount, p.breakText(textSlice, measureForwards, maxWidth, measured[0])); in verifyBreakText()
176 assertEquals(expectedCount, p.breakText(textChars, start, count, maxWidth, measured[1])); in verifyBreakText()
177 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/ ...