Home | History | Annotate | Download | only in webkit

Lines Matching refs:mVideoWidth

49             int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
51 if (mVideoWidth > 0 && mVideoHeight > 0) {
52 if ( mVideoWidth * height > width * mVideoHeight ) {
53 height = width * mVideoHeight / mVideoWidth;
54 } else if ( mVideoWidth * height < width * mVideoHeight ) {
55 width = height * mVideoWidth / mVideoHeight;
91 private int mVideoWidth;
138 mVideoWidth = mp.getVideoWidth();
140 if (mVideoWidth != 0 && mVideoHeight != 0) {
141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight);
153 mVideoWidth = 0;
232 mVideoWidth = mp.getVideoWidth();
235 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight);