Doc base (Git ref 3.1.5): https://github.com/bodenberg/appdimens-dynamic/blob/3.1.5/
Read this file when you need package locations, Compose↔code symmetry, or core types.
library)Paths are in the upstream repo at 3.1.5. The consumer app does not contain this tree unless they clone the monorepo.
com.appdimens.dynamic.common — shared enums/value types: DpQualifier (SMALL_WIDTH, HEIGHT, WIDTH), Inverter, Orientation, UiModeType, UnitType, DpQualifierEntry.com.appdimens.dynamic.core — cross-cutting engine: DimenCache (sharded cache, init, invalidation, internal CalcType per strategy family), DimenCalculationPlumbing (qualifier resolution, screen dp reads, aspect-ratio multiplier, internal flags not surfaced to users), DesignScaleConstants, AspectRatioLookup, percent/resize math (PercentSpaceMath, ResizeMath, ResizeBound, AutoResizePercentBasis), Compose integration (CompositionLocals / AppDimensProvider, LocalUiModeType, ComposeRememberStamps, ComposeDimenRemember).com.appdimens.dynamic.compose.<strategy> — one folder per scaling strategy for Compose UI (e.g. compose/scaled/DimenSdp.kt, DimenSdpExtensions.kt, DimenScaled.kt, Sp mirrors).com.appdimens.dynamic.code.<strategy> — mirror for Views / Kotlin / Java: DimenSdp, DimenSsp, *DpExtensions, *SpExtensions, DimenScaled, Dimen*PlainPx.kt, code/plain/DimenPlainBranch.kt.com.appdimens.dynamic.compose.resize / com.appdimens.dynamic.code.resize — constraint-based resize (binary search over discrete px steps, “fits” predicate); distinct from calculateRawScaling curves.| Folder suffix | Doc |
|---|---|
| scaled | DOCUMENTATION/scaled.md |
| percent | DOCUMENTATION/percent.md |
| power | DOCUMENTATION/power.md |
| fluid | DOCUMENTATION/fluid.md |
| auto | DOCUMENTATION/auto.md |
| diagonal | DOCUMENTATION/diagonal.md |
| fill | DOCUMENTATION/fill.md |
| fit | DOCUMENTATION/fit.md |
| interpolated | DOCUMENTATION/interpolated.md |
| logarithmic | DOCUMENTATION/logarithmic.md |
| perimeter | DOCUMENTATION/perimeter.md |
| density | DOCUMENTATION/density.md |
| resize | DOCUMENTATION/resize.md |
| units (physical) | DOCUMENTATION/physical-units.md |
Formal docs: PRD.md · PDR.md · MATHEMATICS-AND-CALCULUS.md
API detail: DOCUMENTATION/index.md · per-package pages under DOCUMENTATION/KDOC/
app)Upstream sample only — not in the Maven artifact. Use for pattern reference.
DimenSdp, DimenSsp, DimenScaled, DimenResize, physical units)DimenCache.CalcTypeDebug/cache tagging only — end users think in strategy names. Values: AUTO, DIAGONAL, FILL, FIT, FLUID, INTERPOLATED, LOGARITHMIC, PERCENT, PERIMETER, POWER, RESIZE, SCALED, UNITIES, ASPECT_RATIO, DENSITY.
Source: DimenCache.kt
ignoreMultiWindows, *i, and *ia suffix workflows — omitted from the interactive guidance.