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()
473 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createReasonableVideoFormat() local477 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createReasonableVideoFormat()532 int maxHeight = vidCaps.getSupportedHeightsFor(width).getUpper(); in createVideoFormatForBitrateMode() local543 / Math.sqrt((double)maxWidth * maxHeight / width / height))); in createVideoFormatForBitrateMode()
694 final int maxHeight = 20; in testGetAndSetMaxHeight() local695 mProgressBar.setMaxHeight(maxHeight); in testGetAndSetMaxHeight()696 assertEquals(maxHeight, mProgressBar.getMaxHeight()); in testGetAndSetMaxHeight()
704 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local711 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()
702 int maxHeight = vidCaps.getSupportedHeightsFor(maxWidth).getUpper(); in setMaxEncoderFrameAndBitrates() local709 Math.sqrt((double)maxWidth * maxHeight / width / height))); in setMaxEncoderFrameAndBitrates()