appdimens-dynamic

//AppDimens SDP, HDP, WDP: Scalable Width and Height Dimensions/com.appdimens.dynamic.common/Inverter

Inverter

enum Inverter : Enum<Inverter>

EN Defines the screen orientation inversion types of the device. Used to specify how dimension qualifiers should swap their values based on screen rotation.

PT Define os tipos de inversão de orientação de tela do dispositivo. Usado para especificar como os qualificadores de dimensão devem trocar seus valores com base na rotação da tela.

private constructor()

PH_TO_LW

EN Maps Portrait Height to Landscape Width. PT Mapeia a Altura em Retrato para a Largura em Paisagem.

PW_TO_LH

EN Maps Portrait Width to Landscape Height. PT Mapeia a Largura em Retrato para a Altura em Paisagem.

LH_TO_PW

EN Maps Landscape Height to Portrait Width. PT Mapeia a Altura em Paisagem para a Largura em Retrato.

LW_TO_PH

EN Maps Landscape Width to Portrait Height. PT Mapeia a Largura em Paisagem para a Altura em Retrato.

SW_TO_LH

EN Maps Smallest Width to Landscape Height. PT Mapeia a Smallest Width para a Altura em Paisagem.

SW_TO_LW

EN Maps Smallest Width to Landscape Width. PT Mapeia a Smallest Width para a Largura em Paisagem.

SW_TO_PH

EN Maps Smallest Width to Portrait Height. PT Mapeia a Smallest Width para a Altura em Retrato.

SW_TO_PW

EN Maps Smallest Width to Portrait Width. PT Mapeia a Smallest Width para a Largura em Retrato.

DEFAULT

EN Default behavior, no inversion is applied. PT Comportamento padrão, nenhuma inversão é aplicada.

val entries: EnumEntries<Inverter>

Returns a representation of an immutable list of all enum entries, in the order they’re declared.

fun valueOf(value: String): Inverter

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

fun values(): Array<Inverter>

Returns an array containing the constants of this enum type, in the order they’re declared.

Constructors

Name Summary
Inverter  

Entries

Name Summary
PH_TO_LW  
PW_TO_LH  
LH_TO_PW  
LW_TO_PH  
SW_TO_LH  
SW_TO_LW  
SW_TO_PH  
SW_TO_PW  
DEFAULT  

Properties

Name Summary
entries  

Functions

Name Summary
valueOf  
values