Lines Matching defs:mVideoWidth
79 private int mVideoWidth;
112 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
114 if (mVideoWidth > 0 && mVideoHeight > 0) {
115 if ( mVideoWidth * height > width * mVideoHeight ) {
117 height = width * mVideoHeight / mVideoWidth;
118 } else if ( mVideoWidth * height < width * mVideoHeight ) {
120 width = height * mVideoWidth / mVideoHeight;
124 //mVideoWidth+"/"+mVideoHeight);
173 mVideoWidth = 0;
283 mVideoWidth = mp.getVideoWidth();
285 if (mVideoWidth != 0 && mVideoHeight != 0) {
286 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
317 mVideoWidth = mp.getVideoWidth();
324 if (mVideoWidth != 0 && mVideoHeight != 0) {
325 //Log.i("@@@@", "video size: " + mVideoWidth +"/"+ mVideoHeight);
326 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
327 if (mSurfaceWidth == mVideoWidth && mSurfaceHeight == mVideoHeight) {
480 boolean hasValidSize = (mVideoWidth == w && mVideoHeight == h);