Support DisplayShape
Provide APIs to query display shape information: - Added a DisplayShape class which provide a Path. - Added a new API in Display to get the DisplayShape based on the display coordinates. - Added a new API in WindowInsets to get the relative DisplayShape based on the window frame. Bug: 236935288 Test: atest DisplayShapeTest LocalDisplayAdapterTest WindowInsetsTest InsetsStateTest DisplayPolicyLayoutTests DisplayPolicyTests WallpaperControllerTests Change-Id: I7aacfcae42203d3f57cd577da5a69180f66780ad
Loading
Please register or sign in to comment