ScreenAdjustmentFactors

data class ScreenAdjustmentFactors(val withArFactorLowest: Float, val withArFactorHighest: Float, val withoutArFactor: Float, val adjustmentFactorLowest: Float, val adjustmentFactorHighest: Float)

EN Stores the adjustment factors calculated from the screen dimensions. The Aspect Ratio (AR) calculation is performed only once per screen configuration.

PT Armazena os fatores de ajuste calculados a partir das dimensões da tela. O cálculo do Aspect Ratio (AR) é feito apenas uma vez por configuração de tela.

Constructors

Link copied to clipboard
constructor(withArFactorLowest: Float, withArFactorHighest: Float, withoutArFactor: Float, adjustmentFactorLowest: Float, adjustmentFactorHighest: Float)

Properties

Link copied to clipboard

EN The base adjustment factor (increment multiplier), HIGHEST: max(W, H). PT Fator base de ajuste (multiplicador do incremento), HIGHEST: max(W, H).

Link copied to clipboard

EN The base adjustment factor (increment multiplier), LOWEST: smallestWidthDp. PT Fator base de ajuste (multiplicador do incremento), LOWEST: smallestWidthDp.

Link copied to clipboard

EN The final and COMPLETE scaling factor, using the HIGHEST base (largest dimension) + AR. PT Fator de escala final e COMPLETO, usando a base HIGHEST (maior dimensão) + AR.

Link copied to clipboard

EN The final and COMPLETE scaling factor, using the LOWEST base (smallest dimension) + AR. PT Fator de escala final e COMPLETO, usando a base LOWEST (menor dimensão) + AR.

Link copied to clipboard

EN The final scaling factor WITHOUT AR (uses the LOWEST base for safety). PT Fator de escala final SEM AR (Usa a base LOWEST por segurança).