Home | History | Annotate | Download | only in widget

Lines Matching refs:mVideoWidth

100     private int         mVideoWidth;
145 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
147 if (mVideoWidth > 0 && mVideoHeight > 0) {
160 if ( mVideoWidth * height < width * mVideoHeight ) {
162 width = height * mVideoWidth / mVideoHeight;
163 } else if ( mVideoWidth * height > width * mVideoHeight ) {
165 height = width * mVideoHeight / mVideoWidth;
170 height = width * mVideoHeight / mVideoWidth;
178 width = height * mVideoWidth / mVideoHeight;
185 width = mVideoWidth;
190 width = height * mVideoWidth / mVideoHeight;
195 height = width * mVideoHeight / mVideoWidth;
221 mVideoWidth = 0;
409 mVideoWidth = mp.getVideoWidth();
411 if (mVideoWidth != 0 && mVideoHeight != 0) {
412 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
443 mVideoWidth = mp.getVideoWidth();
450 if (mVideoWidth != 0 && mVideoHeight != 0) {
451 //Log.i("@@@@", "video size: " + mVideoWidth +"/"+ mVideoHeight);
452 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
453 if (mSurfaceWidth == mVideoWidth && mSurfaceHeight == mVideoHeight) {
616 boolean hasValidSize = (mVideoWidth == w && mVideoHeight == h);