public final class Dimension
private final Float
value
private final UnitType
unit
Dimension(Float value, UnitType unit)
final Float
getValue()
final UnitType
getUnit()
final Dp
toDp(DisplayMetrics metrics, Boolean isWidth)
Boolean
equals(Object other)
final Integer
compareTo(Dimension other, DisplayMetrics metrics, Boolean isWidth)
Integer
hashCode()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
final Float getValue()
final UnitType getUnit()
final Dp toDp(DisplayMetrics metrics, Boolean isWidth)
Boolean equals(Object other)
final Integer compareTo(Dimension other, DisplayMetrics metrics, Boolean isWidth)
Integer hashCode()