//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.core/DimenCache/ScreenFactors
internal class ScreenFactors
EN Holds all screen-derived scaling factors in an object padded to exceed two ARM64 cache lines (2 × 64 bytes = 128 bytes), ensuring that writes during updateFactors do not invalidate unrelated reads on sibling CPU cores.
PT Agrupa todos os fatores de escala derivados da tela em um objeto com padding de 128 bytes, prevenindo false sharing entre núcleos durante updateFactors.
constructor()
@JvmField@Volatilevar arMultiplier: Float
@JvmField@Volatilevar aspectRatioMul: Float
@JvmField@Volatilevar density: Float
@JvmField@Volatilevar diagonalScale: Float
@JvmField@Volatilevar interpolatedScale: Float
@JvmField@Volatilevar logNormalizedAr: Float
@JvmField@Volatilevar logScale: Float
@JvmField@Volatilevar normalizedAr: Float
@JvmField@Volatilevar perimeterScale: Float
@JvmField@Volatilevar powerScale: Float
@JvmField@Volatilevar scale: Float
@JvmField@Volatilevar smallestWidthDp: Int
| Name | Summary |
|---|---|
| ScreenFactors |
| Name | Summary |
|---|---|
| _p0 | |
| _p1 | |
| _p2 | |
| _p3 | |
| _p4 | |
| _p5 | |
| _p6 | |
| _p7 | |
| arMultiplier | |
| aspectRatioMul | |
| density | |
| diagonalScale | |
| interpolatedScale | |
| logNormalizedAr | |
| logScale | |
| normalizedAr | |
| perimeterScale | |
| powerScale | |
| scale | |
| smallestWidthDp |