getDisplaySize
open fun getDisplaySize(scalingType: RendererCommon.ScalingType, videoAspectRatio: Float, maxDisplayWidth: Int, maxDisplayHeight: Int): Point
Calculate display size based on scaling type, video aspect ratio, and maximum display size.
open fun getDisplaySize(minVisibleFraction: Float, videoAspectRatio: Float, maxDisplayWidth: Int, maxDisplayHeight: Int): Point
Calculate display size based on minimum fraction of the video that must remain visible, video aspect ratio, and maximum display size.