VideoLayoutMeasure

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun measure(widthSpec: Int, heightSpec: Int, frameWidth: Int, frameHeight: Int): Point
Link copied to clipboard
open fun setScalingType(scalingTypeMatchOrientation: RendererCommon.ScalingType, scalingTypeMismatchOrientation: RendererCommon.ScalingType)
Link copied to clipboard
open fun setVisibleFraction(visibleFractionMatchOrientation: Float, visibleFractionMismatchOrientation: Float)