Home | History | Annotate | Download | only in widget

Lines Matching refs:mVideoHeight

80     private int         mVideoHeight;
113 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
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);
162 mVideoHeight = 0;
271 mVideoHeight = mp.getVideoHeight();
272 if (mVideoWidth != 0 && mVideoHeight != 0) {
273 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
304 mVideoHeight = mp.getVideoHeight();
310 if (mVideoWidth != 0 && mVideoHeight != 0) {
311 //Log.i("@@@@", "video size: " + mVideoWidth +"/"+ mVideoHeight);
312 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
313 if (mSurfaceWidth == mVideoWidth && mSurfaceHeight == mVideoHeight) {
457 boolean hasValidSize = (mVideoWidth == w && mVideoHeight == h);