Searched refs:aspectRatio (Results 1 – 3 of 3) sorted by relevance
230 final float aspectRatio = (float) width / height; in onGlSurfaceCreated() local233 -aspectRatio /* left */, in onGlSurfaceCreated()234 aspectRatio /* right */, in onGlSurfaceCreated()
255 private static Size chooseOptimalSize(Size[] choices, int width, int height, Size aspectRatio) { in chooseOptimalSize() argument258 int w = aspectRatio.getWidth(); in chooseOptimalSize()259 int h = aspectRatio.getHeight(); in chooseOptimalSize()
385 int textureViewHeight, int maxWidth, int maxHeight, Size aspectRatio) { in chooseOptimalSize() argument391 int w = aspectRatio.getWidth(); in chooseOptimalSize()392 int h = aspectRatio.getHeight(); in chooseOptimalSize()