-
public class ScreenEz
-
-
Field Summary
Fields Modifier and Type Field Description private final static ScreenPaddingnavBarPaddingprivate final static ScreenPaddingstatusBarPaddingprivate final static ScreenPaddingcutoutPaddingprivate final static IntegerfullWidthprivate final static IntegerfullHeightprivate final static SizefullSizeprivate final static ScreenAreasafeAreaprivate final static ScreenPaddingsafeScreenPaddingprivate final static IntegersafePaddingLeftprivate final static IntegersafePaddingRightprivate final static IntegersafePaddingTopprivate final static IntegersafePaddingBottomprivate final static IntegersafeWidthprivate final static IntegersafeHeightprivate final static SizesafeSizeprivate final static IntegerstatusBarHeightprivate final static IntegernavBarHeightprivate final static ScreenRotationscreenRotationpublic final static ScreenEzINSTANCE
-
Method Summary
Modifier and Type Method Description final static Unitwith(Context context)final static Unitrefresh()final static BooleanisPortrait()final static BooleanisButtonsNavigation()final static BooleanisGestureNavigation()final static ScreenPaddinggetNavBarPadding()final static ScreenPaddinggetStatusBarPadding()final static ScreenPaddinggetCutoutPadding()final static IntegergetFullWidth()final static IntegergetFullHeight()final static SizegetFullSize()final static ScreenAreagetSafeArea()final static ScreenPaddinggetSafeScreenPadding()final static IntegergetSafePaddingLeft()final static IntegergetSafePaddingRight()final static IntegergetSafePaddingTop()final static IntegergetSafePaddingBottom()final static IntegergetSafeWidth()final static IntegergetSafeHeight()final static SizegetSafeSize()final static IntegergetStatusBarHeight()final static IntegergetNavBarHeight()final static ScreenRotationgetScreenRotation()-
-
Method Detail
-
isPortrait
final static Boolean isPortrait()
-
isButtonsNavigation
final static Boolean isButtonsNavigation()
-
isGestureNavigation
final static Boolean isGestureNavigation()
-
getNavBarPadding
final static ScreenPadding getNavBarPadding()
-
getStatusBarPadding
final static ScreenPadding getStatusBarPadding()
-
getCutoutPadding
final static ScreenPadding getCutoutPadding()
-
getFullWidth
final static Integer getFullWidth()
-
getFullHeight
final static Integer getFullHeight()
-
getFullSize
final static Size getFullSize()
-
getSafeArea
final static ScreenArea getSafeArea()
-
getSafeScreenPadding
final static ScreenPadding getSafeScreenPadding()
-
getSafePaddingLeft
final static Integer getSafePaddingLeft()
-
getSafePaddingRight
final static Integer getSafePaddingRight()
-
getSafePaddingTop
final static Integer getSafePaddingTop()
-
getSafePaddingBottom
final static Integer getSafePaddingBottom()
-
getSafeWidth
final static Integer getSafeWidth()
-
getSafeHeight
final static Integer getSafeHeight()
-
getSafeSize
final static Size getSafeSize()
-
getStatusBarHeight
final static Integer getStatusBarHeight()
-
getNavBarHeight
final static Integer getNavBarHeight()
-
getScreenRotation
final static ScreenRotation getScreenRotation()
-
-
-
-