Searched refs:surfaceWidth (Results 1 – 1 of 1) sorted by relevance
483 int surfaceWidth = mLayout.getWidth(); in updateSize() local489 if (surfaceWidth * height < surfaceHeight * width) { in updateSize()492 lp.width = surfaceWidth; in updateSize()493 lp.height = surfaceWidth * height / width; in updateSize()558 int surfaceWidth = getWindow().getDecorView().getWidth(); in updateSize() local560 if (surfaceWidth * height < surfaceHeight * width) { in updateSize()561 lp.width = surfaceWidth; in updateSize()562 lp.height = surfaceWidth * height / width; in updateSize()