Loading core/java/android/view/Display.java +13 −0 Original line number Diff line number Diff line Loading @@ -100,6 +100,19 @@ public final class Display { return mDisplayId; } /** * Gets a full copy of the display information. * * @param outDisplayInfo The object to receive the copy of the display information. * @hide */ public void getDisplayInfo(DisplayInfo outDisplayInfo) { synchronized (this) { updateDisplayInfoLocked(); outDisplayInfo.copyFrom(mDisplayInfo); } } /** * Gets the size of the display, in pixels. * <p> Loading Loading
core/java/android/view/Display.java +13 −0 Original line number Diff line number Diff line Loading @@ -100,6 +100,19 @@ public final class Display { return mDisplayId; } /** * Gets a full copy of the display information. * * @param outDisplayInfo The object to receive the copy of the display information. * @hide */ public void getDisplayInfo(DisplayInfo outDisplayInfo) { synchronized (this) { updateDisplayInfoLocked(); outDisplayInfo.copyFrom(mDisplayInfo); } } /** * Gets the size of the display, in pixels. * <p> Loading