Home | History | Annotate | Download | only in widget

Lines Matching defs:mVideoHeight

80     private int         mVideoHeight;
115 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
116 if (mVideoWidth > 0 && mVideoHeight > 0) {
129 if ( mVideoWidth * height < width * mVideoHeight ) {
131 width = height * mVideoWidth / mVideoHeight;
132 } else if ( mVideoWidth * height > width * mVideoHeight ) {
134 height = width * mVideoHeight / mVideoWidth;
139 height = width * mVideoHeight / mVideoWidth;
147 width = height * mVideoWidth / mVideoHeight;
155 height = mVideoHeight;
159 width = height * mVideoWidth / mVideoHeight;
164 height = width * mVideoHeight / mVideoWidth;
191 mVideoHeight = 0;
305 mVideoHeight = mp.getVideoHeight();
306 if (mVideoWidth != 0 && mVideoHeight != 0) {
307 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
339 mVideoHeight = mp.getVideoHeight();
345 if (mVideoWidth != 0 && mVideoHeight != 0) {
346 //Log.i("@@@@", "video size: " + mVideoWidth +"/"+ mVideoHeight);
347 getHolder().setFixedSize(mVideoWidth, mVideoHeight);
348 if (mSurfaceWidth == mVideoWidth && mSurfaceHeight == mVideoHeight) {
501 boolean hasValidSize = (mVideoWidth == w && mVideoHeight == h);