Home
last modified time | relevance | path

Searched refs:layoutAspectRatio (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/sdk/android/api/org/webrtc/
DSurfaceViewRenderer.java209 final float layoutAspectRatio = getWidth() / (float) getHeight(); in updateSurfaceSize() local
213 if (frameAspectRatio > layoutAspectRatio) { in updateSurfaceSize()
214 drawnFrameWidth = (int) (rotatedFrameHeight * layoutAspectRatio); in updateSurfaceSize()
218 drawnFrameHeight = (int) (rotatedFrameWidth / layoutAspectRatio); in updateSurfaceSize()
DEglRenderer.java145 private float layoutAspectRatio; field in EglRenderer
385 public void setLayoutAspectRatio(float layoutAspectRatio) { in setLayoutAspectRatio() argument
386 logD("setLayoutAspectRatio: " + layoutAspectRatio); in setLayoutAspectRatio()
388 this.layoutAspectRatio = layoutAspectRatio; in setLayoutAspectRatio()
640 drawnAspectRatio = layoutAspectRatio != 0f ? layoutAspectRatio : frameAspectRatio; in renderFrameOnRenderThread()