Searched refs:maxHeight (Results 1 – 7 of 7) sorted by relevance
112 int maxHeight = 0; in onMeasure() local146 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()
134 final int maxHeight = (expected.getHeight() * 3) / 2; in assertSaneThumbnail() local135 if ((actual.getWidth() > maxWidth) || (actual.getHeight() > maxHeight)) { in assertSaneThumbnail()
494 final int maxHeight = in configureVideoFormat() local496 … 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 VideoFormat1628 public void setMaxHeight(int maxHeight) { in setMaxHeight() argument1629 this.maxHeight = maxHeight; in setMaxHeight()1640 return maxHeight; in getMaxHeight()
475 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createReasonableVideoFormat() local479 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()534 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createVideoFormatForBitrateMode() local545 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
697 final int maxHeight = 20; in testGetAndSetMaxHeight() local698 mProgressBar.setMaxHeight(maxHeight); in testGetAndSetMaxHeight()699 assertEquals(maxHeight, mProgressBar.getMaxHeight()); in testGetAndSetMaxHeight()
702 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local709 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
793 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local800 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()