Package 

Class Dimension

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Float value
      private final UnitType unit
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension(Float value, UnitType unit)
    • Method Summary

      Modifier and Type Method Description
      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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait