Searched refs:mVideoHeight (Results 1 – 1 of 1) sorted by relevance
69 private int mVideoHeight; field in ContentVideoView108 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure()110 height = getDefaultSize(mVideoHeight, heightMeasureSpec); in onMeasure()111 if (mVideoWidth * height > width * mVideoHeight) { in onMeasure()112 height = width * mVideoHeight / mVideoWidth; in onMeasure()113 } else if (mVideoWidth * height < width * mVideoHeight) { in onMeasure()114 width = height * mVideoWidth / mVideoHeight; in onMeasure()253 mVideoHeight = height; in onVideoSizeChanged()255 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight); in onVideoSizeChanged()