Home | History | Annotate | Download | only in widget

Lines Matching defs:mVideoHeight

101     private int         mVideoHeight;
146 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
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;
186 height = mVideoHeight;
190 width = height * mVideoWidth / mVideoHeight;
195 height = width * mVideoHeight / mVideoWidth;
222 mVideoHeight = 0;
410 mVideoHeight = mp.getVideoHeight();
411 if (mVideoWidth != 0 && mVideoHeight != 0) {
412 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
444 mVideoHeight = mp.getVideoHeight();
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);