DimenCalculationPlumbing class abstract final

EN: Inverter resolution, multi-window detection and dp reads. Each strategy module applies its own formula on top of this.

PT: Resolução de inversores, detecção de multi-janela e leituras em dp. Cada módulo de estratégia aplica sua própria fórmula sobre isto.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

aspectRatioMultiplier(ScreenConfiguration configuration, double sensitivity) double
Multiplicative factor for optional aspect-ratio correction: 1 + sensitivity × ln(ar / 1.78) (guarded to 1.0 on degenerate input).
effectiveQualifier(DpQualifier qualifier, Inverter inverter, bool isLandscape, bool isPortrait) DpQualifier
Applies the inverter swap rule to qualifier for the given orientation.
fastLn(double v) double
Guarded ln: exact logarithm when finite and positive, 0.0 otherwise.
isMultiWindowConstrained(ScreenConfiguration configuration, bool ignoreMultiWindows, {bool? knownInMultiWindow}) bool
True when multi-window suppression applies. knownInMultiWindow carries the authoritative answer when available; otherwise the dimension heuristic ((sw − w) ≥ sw × 10%) is a best-effort fallback.
largestSideDp(ScreenConfiguration configuration) double
Largest window side in dp.
readScreenDp(ScreenConfiguration configuration, DpQualifier actualQualifier) double
Reads the real window axis in dp for the resolved qualifier.
smallestSideDp(ScreenConfiguration configuration) double
Smallest window side in dp.