MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / isPortrait

Method isPortrait

CodenameOne/src/com/codename1/ui/CN.java:707–709  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

705 ///
706 /// true if the device is in portrait mode
707 public static boolean isPortrait() {
708 return Display.impl.isPortrait();
709 }
710
711 /// Try to enter full-screen mode if the platform supports it.
712 ///

Callers 15

isOrientationSettledMethod · 0.95
startMethod · 0.95
createFormMethod · 0.95
delegatesDisplayStateMethod · 0.95
actionPerformedMethod · 0.45
showPopupDialogMethod · 0.45
showPopupDialogMethod · 0.45
showOnTopSidemenuImplMethod · 0.45

Calls

no outgoing calls

Tested by 5

isOrientationSettledMethod · 0.76
createFormMethod · 0.76
delegatesDisplayStateMethod · 0.76