resolve Qualifier Dp
fun resolveQualifierDp(customDpMap: Map<DpQualifierEntry, Float>, smallestWidthDp: Float, currentScreenWidthDp: Float, currentScreenHeightDp: Float, initialBaseDp: Float): Float
EN Helper function that isolates the logic for searching and selecting the custom Dp value through Qualifiers (SW, H, W).
PT Função auxiliar que isola a lógica de busca e seleção do valor Dp customizado através dos Qualificadores (SW, H, W).
Return
The custom Dp value or the initial value (as Float).
Parameters
custom Dp Map
Map of Dp qualifiers.
smallest Width Dp
smallestScreenWidthDp from the current configuration.
current Screen Width Dp
Screen width in Dp.
current Screen Height Dp
Screen height in Dp.
initial Base Dp
Initial Dp value (as Float).