Searched refs:mVideoWidth (Results 1 – 1 of 1) sorted by relevance
68 private int mVideoWidth; field in ContentVideoView109 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure()111 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure()112 if (mVideoWidth * height > width * mVideoHeight) { in onMeasure()113 height = width * mVideoHeight / mVideoWidth; in onMeasure()114 } else if (mVideoWidth * height < width * mVideoHeight) { in onMeasure()115 width = height * mVideoWidth / mVideoHeight; in onMeasure()285 mVideoWidth = width; in onVideoSizeChanged()288 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight); in onVideoSizeChanged()