Handle display cutouts larger than system bars

Update window frame size computation so that window won't extend into
the display cutout area when the cutout is not covered by system bars in
default or short edge mode.

Bug: 296250140
Test: atest CtsWindowManagerDeviceTestCases:android.server.wm.DialogFrameTests

Change-Id: I070bfb857e62f4af591641c7a62eaeda8344720c
1 file changed