shadows/framework/src/main/java/org/robolectric/shadows/ShadowDisplayManagerGlobal.java
@Implementation(minSdk = O_MR1)
  public Point getStableDisplaySize() throws RemoteException {
    DisplayInfo defaultDisplayInfo = mDm.getDisplayInfo(Display.DEFAULT_DISPLAY);
    return new Point(defaultDisplayInfo.getNaturalWidth(), defaultDisplayInfo.getNaturalHeight());
  }
@Implementation(minSdk = O_MR1)
  public Point getStableDisplaySize() throws RemoteException {
    DisplayInfo defaultDisplayInfo = mDm.getDisplayInfo(Display.DEFAULT_DISPLAY);
    return new Point(defaultDisplayInfo.getNaturalWidth(), defaultDisplayInfo.getNaturalHeight());
  }
@ Implementation ( minSdk = O_MR1 ) public Point getStableDisplaySize ( ) throws RemoteException { DisplayInfo defaultDisplayInfo = mDm . getDisplayInfo ( Display . DEFAULT_DISPLAY ) ; return new Point ( defaultDisplayInfo . getNaturalWidth ( ) , defaultDisplayInfo . getNaturalHeight ( ) ) ; }
Returns the 'natural' dimensions of the default display.
Returns the natural dimensions of the default display .