VideoLayoutMeasure

VideoLayoutMeasure is a helper class for determining layout size based on layout requirements, scaling type, and video aspect ratio.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun measure(widthSpec: Int, heightSpec: Int, frameWidth: Int, frameHeight: Int): Point

Measure desired layout size based off provided parameters