Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 495de00e authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Refactor DisplayCutout to use Rect instead of Region."

parents bddeea86 43190bdf
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -46645,7 +46645,12 @@ package android.view {
  }
  public final class DisplayCutout {
    ctor public DisplayCutout(android.graphics.Rect, java.util.List<android.graphics.Rect>);
    ctor public DisplayCutout(android.graphics.Insets, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect);
    ctor public deprecated DisplayCutout(android.graphics.Rect, java.util.List<android.graphics.Rect>);
    method public android.graphics.Rect getBoundingRectBottom();
    method public android.graphics.Rect getBoundingRectLeft();
    method public android.graphics.Rect getBoundingRectRight();
    method public android.graphics.Rect getBoundingRectTop();
    method public java.util.List<android.graphics.Rect> getBoundingRects();
    method public int getSafeInsetBottom();
    method public int getSafeInsetLeft();
+327 −97

File changed.

Preview size limit exceeded, changes collapsed.

+5 −1
Original line number Diff line number Diff line
@@ -26,5 +26,9 @@ message DisplayCutoutProto {
    option (.android.msg_privacy).dest = DEST_AUTOMATIC;

    optional .android.graphics.RectProto insets = 1;
    optional .android.graphics.RectProto bounds = 2;
    reserved 2;
    optional .android.graphics.RectProto bound_left = 3;
    optional .android.graphics.RectProto bound_top = 4;
    optional .android.graphics.RectProto bound_right = 5;
    optional .android.graphics.RectProto bound_bottom = 6;
}
+86 −29

File changed.

Preview size limit exceeded, changes collapsed.

+14 −11

File changed.

Preview size limit exceeded, changes collapsed.

Loading