Home | History | Annotate | Download | only in player

Lines Matching defs:lp

488                     ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams();
492 lp.width = surfaceWidth;
493 lp.height = surfaceWidth * height / width;
497 lp.width = surfaceHeight * width / height;
498 lp.height = surfaceHeight;
500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height);
501 mSurfaceView.setLayoutParams(lp);
559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams();
561 lp.width = surfaceWidth;
562 lp.height = surfaceWidth * height / width;
564 lp.width = surfaceHeight * width / height;
565 lp.height = surfaceHeight;
567 Log.i(TAG, "Presentation video rect is " + lp.width + "x" + lp.height);
568 mPresentationSurfaceView.setLayoutParams(lp);