Loading core/java/android/view/DisplayCutout.java +6 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,9 @@ public final class DisplayCutout { /** * Creates a DisplayCutout instance. * * <p>Note that this is only useful for tests. For production code, developers should always * use a {@link DisplayCutout} obtained from the system.</p> * * @param safeInsets the insets from each edge which avoid the display cutout as returned by * {@link #getSafeInsetTop()} etc. * @param boundLeft the left bounding rect of the display cutout in pixels. If null is passed, Loading @@ -253,6 +256,9 @@ public final class DisplayCutout { /** * Creates a DisplayCutout instance. * * <p>Note that this is only useful for tests. For production code, developers should always * use a {@link DisplayCutout} obtained from the system.</p> * * @param safeInsets the insets from each edge which avoid the display cutout as returned by * {@link #getSafeInsetTop()} etc. * @param boundingRects the bounding rects of the display cutouts as returned by Loading Loading
core/java/android/view/DisplayCutout.java +6 −0 Original line number Diff line number Diff line Loading @@ -233,6 +233,9 @@ public final class DisplayCutout { /** * Creates a DisplayCutout instance. * * <p>Note that this is only useful for tests. For production code, developers should always * use a {@link DisplayCutout} obtained from the system.</p> * * @param safeInsets the insets from each edge which avoid the display cutout as returned by * {@link #getSafeInsetTop()} etc. * @param boundLeft the left bounding rect of the display cutout in pixels. If null is passed, Loading @@ -253,6 +256,9 @@ public final class DisplayCutout { /** * Creates a DisplayCutout instance. * * <p>Note that this is only useful for tests. For production code, developers should always * use a {@link DisplayCutout} obtained from the system.</p> * * @param safeInsets the insets from each edge which avoid the display cutout as returned by * {@link #getSafeInsetTop()} etc. * @param boundingRects the bounding rects of the display cutouts as returned by Loading