Package-level declarations
Types
EN Represents a custom text dimension (Sp) configuration entry. Used to define specific text (Sp) values based on the UI mode (e.g., car, TV), DP qualifier (e.g., smallest width), and priority.
Properties
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) (WITHOUT FONT SCALE) using the Height qualifier. Useful for text scaling based on the screen height (h).
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) using the Height qualifier. Useful for text scaling based on the screen height (h).
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) (WITHOUT FONT SCALE) using the Smallest Width qualifier. Useful for text scaling based on the most limiting dimension (sw).
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) using the Smallest Width qualifier. Useful for text scaling based on the most limiting dimension (sw).
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) (WITHOUT FONT SCALE) using the Width qualifier. Useful for text scaling based on the screen width (w).
EN Composable extension for Int that returns a dynamically scaled TextUnit (Sp) using the Width qualifier. Useful for text scaling based on the screen width (w).
Functions
EN Maps the UI mode mask from the Android Configuration to the UiModeType enum.
EN Starts the Scaled build chain from a TextUnit.
EN Starts the Scaled build chain from an Int (converted to Sp).
EN The main logic for applying dynamic scaling. Tries to find a pre-calculated dimension resource (e.g., _16sdp) and uses it to get a scaled Sp value.