currentMetrics

August 13, 2026 · View on GitHub

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.core/DimenCache/currentMetrics

currentMetrics

@get:JvmStaticval currentMetrics: DimenMetrics

EN The immutable window snapshot active for the current resolution (since 3.1.8). During a getOrPut resolution it is the exact metrics supplied to that call; outside a resolution it is the fallback snapshot. It is never a partially updated global factor set — satellite strategy modules derive their scales from this snapshot, which keeps multi-window / foldable configurations independent.

PT Snapshot imutável da janela ativo na resolução corrente (desde a 3.1.8). Nunca é um conjunto global de fatores parcialmente atualizado.