RendererCommon.VideoLayoutMeasure

tee3.webrtc

## 类 RendererCommon.VideoLayoutMeasure

- java.lang.Object
- - tee3.webrtc.RendererCommon.VideoLayoutMeasure

- 封闭类:
    RendererCommon

      public static class RendererCommon.VideoLayoutMeasure
      extends java.lang.Object

  Helper class for determining layout size based on layout requirements, scaling type, and video aspect ratio.

- - ### 构造器概要

    构造器
    构造器和说明
    `VideoLayoutMeasure()`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `android.graphics.Point` | `getLastLayoutSize()`
    `android.graphics.Point` | `measure(int widthSpec, int heightSpec, int frameWidth, int frameHeight)`
    `void` | `setScalingType(RendererCommon.ScalingType scalingType)`
    `void` | `setScalingType(RendererCommon.ScalingType scalingTypeMatchOrientation, RendererCommon.ScalingType scalingTypeMismatchOrientation)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### VideoLayoutMeasure

          public VideoLayoutMeasure()

  - ### 方法详细资料

    - #### setScalingType

          public void setScalingType(RendererCommon.ScalingType scalingType)

    - #### setScalingType

          public void setScalingType(RendererCommon.ScalingType scalingTypeMatchOrientation,
                                     RendererCommon.ScalingType scalingTypeMismatchOrientation)

    - #### measure

          public android.graphics.Point measure(int widthSpec,
                                                int heightSpec,
                                                int frameWidth,
                                                int frameHeight)

    - #### getLastLayoutSize

          public android.graphics.Point getLastLayoutSize()